D compilation speed vs. go

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Apr 11 12:07:14 PDT 2010


On 04/11/2010 01:59 PM, Jacob Carlborg wrote:
> On 4/11/10 17:28, Andrei Alexandrescu wrote:
>> I stumbled upon this:
>>
>> http://www.youtube.com/watch?v=wwoWei-GAPo
>>
>> So the go compiler compiles 120KLOC in 9.23 seconds. I got curious so I
>> just tested dmd against Phobos (88KLOC). That takes 1.24 seconds on my
>> laptop. Not too shoddy. Walter should record a video :o).
>>
>>
>> Andrei
>
> Is that including the C code? It looks like the C code is almost taking
> longer time and all the D code. But on the other hand they are compiled
> one at the time.

The C code is not part of the measurement (and of the lines count) 
because the purpose was to measure the speed of D compilation.

Andrei



More information about the Digitalmars-d mailing list