C++ interface.

Mike Parker aldacron at gmail.com
Tue Apr 1 21:59:09 PDT 2014


On Tuesday, 1 April 2014 at 19:38:11 UTC, monnoroch wrote:
> On Tuesday, 1 April 2014 at 18:37:06 UTC, Walter Bright wrote:
>> The problem is "how to specify C++ namespaces in D".
>
> Truth is: right now, any way is better, than don't do that, 
> since it seems that the c++ linking problem stops alot of 
> people to use D.
> C++ name mangling isn't standartized anyway, so whatever the 
> solution will be, people will understand both syntax and 
> possible lack of backward compaility.

People who are concerned about cross-language compatibility 
should be implementing C interfaces to their C++ libraries 
anyway. Yes, it's a nice, convenient feature to have, but 
ultimately there are more important things, IMO.


More information about the Digitalmars-d mailing list