D slower than C++ in compile time
Alexander Panek
alexander.panek at brainsware.org
Sat Feb 16 04:04:16 PST 2008
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++ :)
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..
More information about the Digitalmars-d
mailing list