3 ms·
You can link to c++ code in D (you do need to declare function signatures on the D side, etc.) but overall c++ compatibility is good, so it's less of a problem
by VHRanger 8y ago
You can link to c++ code in D (you do need to declare function signatures on the D side, etc.) but overall c++ compatibility is good, so it's less of a problem than you'd expect
- lordnacho 8y agoYeah but then I need a compelling reason to glue those things together in a new language?
- johannes1234321 8y agoThe reason is that you are more comfortable or efficient in the new language, but want to access legacy. Having to recreate everything for scratch is a massive effort, however gradually refactoring an application and having access to huge amounts of third-party libs is an enabler. (while all those libs will use non-idiomatic patterns, so it has to be contained)
- WalterBright 8y agoIf you want checkable memory safety, for example.