xdc: A hypothetical D cross-compiler and AST manipulation tool.

Walter Bright newshound2 at digitalmars.com
Sun Nov 10 00:20:56 PST 2013


On 11/9/2013 9:27 PM, deadalnix wrote:
> On Sunday, 10 November 2013 at 04:54:18 UTC, Daniel Murphy wrote:
>> That is true in general, but D actually maps quite well onto C.
>>
>> I did some work on creating a C backend a while back, and it worked quite
>> well.
>>
>
> Out of curiosity, how do you handle exceptions ?

Exceptions is one big problem. Another is COMDATs - C compilers don't emit them. 
COMDATs are needed to support templates (they remove duplicate instances).

And TLS.


More information about the Digitalmars-d mailing list