[Mono-list] C#->C->C++, Platform Invocations from HELL!

Jonathan Pryor jonpryor at vt.edu
Tue Dec 12 21:48:23 EST 2006


On Mon, 2006-12-11 at 10:31 +0000, Dallman, John wrote:
> This just confirmed my opinion that C++ may be a nice language for
> coding, but the complexity and fragility of its interfaces disqualify
> it for APIs. 

This hasn't stopped many projects from having a native C++ API -- BeOS
and KDE being the primary examples.

Still, this does require being very explicit with the API -- *all* code
must use the same compiler and compiler version, for example, to ensure
that name mangling & exception ABIs are consistent.

This is frequently "a bit much" to ask, but that hasn't stopped C++ from
being used in some areas...

 - Jon




More information about the Mono-list mailing list