dmd makes D appear slow

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 3 20:00:34 PDT 2015


On Wed, 03 Jun 2015 11:35:41 +0000, weaselcat wrote:

> On Wednesday, 3 June 2015 at 11:25:50 UTC, Ola Fosheim Grøstad wrote:
>> On Wednesday, 3 June 2015 at 11:06:39 UTC, weaselcat wrote:
>>> it can get even better if you properly modularize your projects
>>> instead of having 1-2 files that build slow, which causes a lot of
>>> waiting.
>>
>> Yes, sure. You can probably get the same build speeds as with C if you
>> organize your code in a particular way or shy away from certain
>> patterns.
>>
>> What I was talking about was the language, meaning that you don't write
>> your code to give a boost in compilation speed. Clearly possible, but
>> if you use third party frameworks… then you're out of luck.
>>
>> An analogy: SQL isn't particularly expressive, but the limitations of
>> the language makes it possible to execute it bottom-up. NOSQL engines
>> are even less expressive, but can be even more easily distributed.
> 
> ah yes, those famous fast C build times.
> Excuse me while I go take half an hour to build GDB.

yet gcc (the C compiler part) is significantly faster than gdc on my box 
(both gcc and gdc are built from sources, tuned to my arch). i mean 
separate compilation, of course. i believe it's due to phobos.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150604/96ad48a0/attachment.sig>


More information about the Digitalmars-d mailing list