dmd & gdc

Jerome BENOIT g6299304p at rezozer.net
Thu Jan 26 04:42:58 PST 2012


There is also gdmd : dmd front end that use gdc

On 26/01/12 13:34, Trass3r wrote:
> 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 same.
> 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