On Wednesday, 3 June 2015 at 09:21:55 UTC, Ola Fosheim Grøstad
wrote:
On Wednesday, 3 June 2015 at 07:05:37 UTC, Dicebot wrote:
It is impossible for C++ to compile faster than D by design.
Any time it seems so you either aren't comparing same thing or
get misinformed. Or do straightforward separate compilation.
There are lots of features in D, that C++ does not have, that
will make separate compilation and partial
evaluation/incomplete types difficult. So C++ is faster than D
by design, even when the compiler isn't.
LDC seems to manage separate compilation just fine, I use it for
my projects at least. in my tests I find it to be 110-150% faster
than all at once.
it can get even better if you properly modularize your projects
instead of having 1-2 files that build slow, which causes a lot
of waiting.