dmd makes D appear slow

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 3 07:19:41 PDT 2015


On Wednesday, 3 June 2015 at 14:08:33 UTC, Steven Schveighoffer 
wrote:
> On 6/3/15 3:50 AM, Paulo Pinto wrote:
>> On Wednesday, 3 June 2015 at 07:05:37 UTC, Dicebot wrote:
>>> Project size is irrelevant here. I had 500 line C++ project 
>>> that took
>>> 10 minutes to compile (hello boost::spirit). It is impossible 
>>> for C++
>>> to compile faster than D by design. Any time it seems so you 
>>> either
>>> aren't comparing same thing or get misinformed. Or do 
>>> straightforward
>>> separate compilation.
>>
>> Even C.
>>
>> Our project, back when I was doing C in the early 2000's, a 
>> "make clean
>> all" took around one hour.
>
> It might be possible the processor/RAM constraints were 
> different in 2000 than they are now :)
>
> -Steve

Yeah, some people take 9 hours instead with C++ using modern 
hardware.

http://www.reddit.com/r/programming/comments/37n39g/john_carmack_shares_his_experiences_with_static/croml2i

If you noticed a later post from me, those systems were UNIX 
servers, not desktop PCs.

--
Paulo




More information about the Digitalmars-d mailing list