D to C compiler?

Joel C. Salomon joelcsalomon at gmail.com
Sat Feb 7 18:13:56 PST 2009


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.

Is the D exception system not expressible in C? I’d much rather not see
a greater dependency on C++ than already exists.

—Joel Salomon



More information about the Digitalmars-d mailing list