Difference between revisions of "Compilers"
(→DMD ») |
|||
Line 6: | Line 6: | ||
<td style="width:33%; vertical-align: top; padding: 10px 10px; background: #f9f9f9;"> | <td style="width:33%; vertical-align: top; padding: 10px 10px; background: #f9f9f9;"> | ||
= [[DMD|DMD »]] = | = [[DMD|DMD »]] = | ||
− | '''Digital Mars D compiler''' <br/>The | + | '''Digital Mars D compiler''' <br/>The formal D compiler. |
<div style="text-align: right;">[[DMD|DMD Portal »]]</div> | <div style="text-align: right;">[[DMD|DMD Portal »]]</div> | ||
</td> | </td> |
Revision as of 21:43, 23 November 2012
There are currently 3 actively developed major D compilers:
DMD »Digital Mars D compiler |
GDC »GCC D compiler |
LDC »LLVM D compiler |
Which compiler should I use?
If you're a beginner DMD is the recommended choice, as it is the implementation closest to the D Language Specification. Otherwise it depends on what you need, what platforms you intend to develop for, and your personal preferences. GDC and LDC both generate substantially faster binaries than DMD.
Comparison
DMD | GDC | LDC | |
---|---|---|---|
Installation | Automatic | ? | ? |
Platforms | Linux / Mac / FreeBSD / Win | Linux / Mac / FreeBSD / Win | Linux / Mac / FreeBSD / Win |
Architectures | i386, amd64 | i386, amd64 | i386, amd64 |
License | ? | ? | ? |
Features | ? | ? | ? |