D to C compiler?
Nicolay Korslund
korslund at gmail.com
Sat Feb 7 03:36:23 PST 2009
Robert Fraser Wrote:
> Nicolay Korslund wrote:
> > The exception problem and C could be sidestepped altogether by compiling to C++ instead of pure C. All the major console SDKs at least will compile C++. This doesn't mean we would need to use any more C++ features like classes or templates, the result could be pretty much "C with exceptions". An added benefit would be automatic eh compatibility with existing C++ code, on all platforms.
>
> At the expense of D->D compatibility...
Well, on these platforms there isn't a D compiler, so ALL D code would have to be use the C++ eh system. D->D compatibility in this case wouldn't be a problem.
Nico
More information about the Digitalmars-d
mailing list