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

I hear D is backwards compatible with C (and C++?). They already have modules: http://dlang.org/module.html . I should use D more often.


D is not backwards compatible with C or C++, it doesn't even have a preprocesser. I think what you mean is D code can link C code if you use the C standard libraries.


Yes, I was referring to ABI compatibility. You are probably referring to source-level compatibility. If it's compatible at the binary level, it's compatible.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: