3 ms·
D is still miles ahead of C++ if you care about compile times, even in pathological cases (like using tons of templates and/or CTFE in your D code).
by Profan 8y ago
D is still miles ahead of C++ if you care about compile times, even in pathological cases (like using tons of templates and/or CTFE in your D code).
- zerr 8y agoWhen I hear about fast compile times, like e.g. for Pascal, immediately comes to mind - how good is optimization of the resulting executable? AFAIK, the back-end, not the front-end/parsing, takes most time when compiling C++. So in case of GCC or LLVM based D compilers, the time should be similar?
- atilaneves 8y ago> AFAIK, the back-end, not the front-end/parsing, takes most time when compiling C++ Is there a reason why you believe that to be true? > So in case of GCC or LLVM based D compilers, the time should be similar? They are not: https://atilanevesoncode.wordpress.com/2018/12/31/comparing-pythagorean-triples-in-c-d-and-rust/ https://atilanevesoncode.wordpress.com/2018/12/31/comparing-...