Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The main problem with languages that generate C or some other language is debugging.

Does Nim have a good answer to this?



Nim works quite well with GDB. I've tried it. It can generate metadata that GDB can use.

It's not perfect, but for my uses it has been alright (but then I'm ususally the kind of person who prefers to use debug printing and just studying the code)

Nim also shows very nice stack traces on uncaught exceptions so that also reduces the need to fire up GDB.



An LLVM backend was recently announced. If that matures then the debugging issue will be simplified.




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

Search: