D compilation speed vs. go

Walter Bright newshound1 at digitalmars.com
Sun Apr 11 14:12:23 PDT 2010


Robert Clipsham wrote:
> With dmd it makes an even bigger difference, the previous time of 6.9 
> seconds looks huge in comparison. Passing all files at once to dmd 
> causes the compilation time to be but down to about 1.7 seconds! That's 
> 340k LoC in 1.7 seconds... I'm in awe :D

That comes from my experience in trying to make a 16 bit compiler on 
MSDOS run at  a reasonable speed! The heritage is still there in the 
back end, and in the front end D is designed for fast compilation.

DMC++ has always been the fastest compiling C++ compiler by a wide margin.



More information about the Digitalmars-d mailing list