dmd & gdc

Trass3r un at
Thu Jan 26 04:34:39 PST 2012

On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote:
> my question is if there thing i can do with dmd only and visa 
> versa?
> what the feature of one of them over the other?
> what the different between them in term of inline assembly, 
> performance, platform and bugs?

They share the frontend, i.e. language support is pretty much the 
dmd's backend is limited both in terms of performance and 
platform support (x86 only), but it compiles D code faster.
gdc inherits gcc's sophisticated optimizer capabilities, but may 
have unique bugs in its glue code.

On Windoze gdc is really preferable cause the dmd/dmc toolchain 
is just crap and doesn't support x64 at all. Building gdc 
yourself is PITA on Win though.
On Linux the difference isn't that big.

More information about the Digitalmars-d-learn mailing list