April 11, 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.
April 11, 2010
On 11/04/10 22:12, Walter Bright wrote:
> 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.

It's a shame I can't make it to ACCU next week, I'd love to see your compiler construction session, if only for a few insights into how you managed this! Do you have any tips for keeping compilation speedy, or is it just a process of profiling and experience to find what works best?
April 12, 2010
Robert Clipsham wrote:
> It's a shame I can't make it to ACCU next week, I'd love to see your compiler construction session, if only for a few insights into how you managed this! Do you have any tips for keeping compilation speedy, or is it just a process of profiling and experience to find what works best?

Lots of time spent with a profiler.
1 2
Next ›   Last »