Difference between revisions of "Compilers"
(→Which compiler should I use?) |
(→Comparison) |
||
Line 41: | Line 41: | ||
!GDC | !GDC | ||
!LDC | !LDC | ||
+ | |--- | ||
+ | |'''Installation''' | ||
+ | | "One-click" | ||
+ | | ? | ||
+ | | ? | ||
|--- | |--- | ||
|'''Platforms''' | |'''Platforms''' |
Revision as of 21:41, 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 | "One-click" | ? | ? |
Platforms | Linux / Mac / FreeBSD / Win | Linux / Mac / FreeBSD / Win | Linux / Mac / FreeBSD / Win |
Architectures | i386, amd64 | i386, amd64 | i386, amd64 |
License | ? | ? | ? |
Features | ? | ? | ? |