Compiled dmd2.032 in VC++ 2009!
Jeremie Pelletier
jeremiep at gmail.com
Fri Sep 4 07:22:46 PDT 2009
Jason House Wrote:
> Don Wrote:
>
> > Interestingly since DMD has extern(C++), it ought to be possible to
> > convert a single module to D, and still link it in...
>
> extern(C++) support in D is nearly a joke. There are some big areas for improvement, such as support for non-virtual functions, or allowing use of new, ... It's unusable to the point that I can't connect D code to existing C++ or even write efficient wrappers. I've resorted to simply using extern(C) code in C++ and then wrappers in D to use those functions...
>From what I know it was mostly intended for interfaces, and it works wonders when binding to COM code in Windows. A lot of the new features of recent windows versions are only available through COM, extern(C++) makes it dead easy to write their bindings.
More information about the Digitalmars-d
mailing list