C++ Binding / extern(C++)

Don Clugston dac at nospam.com.au
Thu Mar 29 08:03:18 PDT 2007


Jari-Matti Mäkelä wrote:
> Don Clugston kirjoitti:
>> Gregor Richards wrote:
>>> PS: extern(C++) is a terrible idea. It wouldn't be cross-compatible.
>> It amazes me that most people don't seem to realise that C++ is
>> incompatible with C++.
> 
> Yeah, even this (http://www.mozilla.org/hacking/portable-cpp.html) tells
> a lot. I don't know, whether I should laugh or cry.

Great link.
It was as a result of writing this...

http://www.codeproject.com/cpp/FastDelegate.asp

...that I switched to D. It seems that even the compiler writers don't 
know this stuff (several emailed me about it). C++ portability is a 
complete fiasco.



More information about the Digitalmars-d mailing list