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.

I've tried to parse that last sentence a few times and I'm not sure what you mean. A theoretical compiler doesn't matter; what actual compilers do does. The empirical fact is that C++ is slower to compile than D (AFAIK C++ compiles slower than everything that isn't Scala). If you have a benchmarch that shows C++ compiling faster than D, please share it.

Atila

Reply via email to