D slower than C++ in compile time

Frank Benoit keinfarbton at googlemail.com
Sat Feb 16 04:08:39 PST 2008


Alexander Panek schrieb:
> Ary Borenszweig wrote:
>> Frank Benoit escribió:
>>> Gregor once explained why build tools need to call DMD once per file:
>>> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=57473 
>>>
>>>
>>> This makes dsss look like it is slow, but actually this is a 
>>> concequence of a DMD workaround.
>>>
>>> For the DWT library this would lead to compile times >15 minutes!
>>>
>>> In the past I found the compile times always a big argument for D. 
>>> Hopefully this point gets attention at digitalmars ;)
>>
>> Descent will probably do incremental compiling in the next release. 
>> Does what Gregor say also affects it? If so, vote++ :)

yes.

> 
> IIRC, Gregor made this change because all-at-once compilation causes 
> some code generation errors/bugs because some code generated code is not 
> marked correctly. I don't remember the details, though, or what it 
> exactly affects..

is the link not working?




More information about the Digitalmars-d mailing list