ddmdgdc

DMD vs. GDC vs. LDC


What are the Pros/Cons of the different D Compilers? How is the performance and the standard compliance/D2 support? How well are debuggers supported? How good are the Error messages and is the IDE integration? How good is the 64 bit support? My thought so far:

DMD

GDC

LDC

dead/not working

I'm thinking about targeting ARM and i think GDC is the tool of choice, but I'm not sure.


Solution

  • DMD is the reference implementation, the backend and frontend are open source. The code generation quality is not that overwhelming.

    GDC and LDC are both based on the DMD frontend so it might take some time until a new version of the frontend is merged in.
    Since the backends they use are very mature and good the quality of these compilers mainly depends on the glue code which connects frontend and backend.

    LDC and GDC are still developed actively, but mainly by just a few guys.
    All in all they could use some manpower.