Hacker News new | past | comments | ask | show | jobs | submit login

The author's chief complaint appears to be that dmd produces incorrect debug info on Windows, something I'd expect a reference compiler to do. A reference compiler doesn't have to be fast, but it does need to be correct.



Debug info is one of the backend things that does get priority with dmd. It has gotten some performance increases in recent years but these are mostly just a nicety.

Personally I have fixed some debug info generation problems so it is being worked on.


It wasn’t clear to me: is the debug info wrong or is it just missing because stuff is getting optimized out? Both?

I know in the past I had some difficulty in C++ on x64 because variables were getting optimized out (so depending on where you were in the function the variable literally didn’t exist anymore).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: