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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Nov 9 22:03:05 PST 2013


On 11/9/13 9:37 PM, Daniel Murphy wrote:
> "deadalnix" <deadalnix at gmail.com> wrote in message
> news:juoauplfttovsmbrafzh at forum.dlang.org...
>> 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 ?
>
> I didn't.  This was focussed on a subset suitable for microcontrollers.  I
> would probably emit C++ instead if exceptions were required.

That doesn't quite rhyme with C being a good backend language :o).

Andrei



More information about the Digitalmars-d mailing list