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

I meant things such as extern(C#) and extern(Java) to work the same way extern(C) and extern(C++) do now.

I don't see the point of compiling D to JVM or CLR byte-code for all the efforts it would involve, but rather the CLR or JVM load native code written in D and have each call into each other easily.

Say I can't reach the performance I want in C# and I want to write that part of the system in D and load it in Unity and then call into native D code from there. Without having to mess with the CLR implementation details. That would definitely allow people to try it out and integrate it gradually until it has completely taken over.



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

Search: