D2 front-end for LLVM (Was: Re: Making alloca more safe)
bearophile
bearophileHUGS at lycos.com
Tue Nov 17 08:58:26 PST 2009
Tomas Lindquist Olsen:
> LDC requires a lot of changes to the frontend.
>
> * DMD is not written as a cross compiler
> * The runtime interfaces are hardcoded into the frontend semantics
> * The ast rewrites dmd does are destructive and buggy
> * The dmd codegen is all over the frontend code, it wasn't meant to be
> used with another backend
LLVM is one of the best thing happened to D1, so maybe Walter can improve the situation, to allow a simpler/better attach of the D2 front-end to LLVM. If you keep your muzzle shut things will never improve. Maybe someone can write a list of all the points where D2 causes such port problems, so Walter may improve/fix them some.
This is quite important, more than most syntax details discussed in the last weeks.
Bye,
bearophile
More information about the Digitalmars-d
mailing list