Is dmd fast?

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 23 06:32:35 PDT 2016


Or on linux use ld.gold instead of ld.bfd. Using .so instead of .a has 
another problem with speed. Application link against static phobos lib 
is much faster than against dynamic version.


Dne 22.6.2016 v 21:33 ketmar via Digitalmars-d napsal(a):
> On Wednesday, 22 June 2016 at 19:25:13 UTC, Jack Stouffer wrote:
>> On Wednesday, 22 June 2016 at 19:20:42 UTC, deadalnix wrote:
>>> You methodology is flawed. You are essentially measuring link time 
>>> against the standard lib.
>>
>> As someone else in the thread alluded to, people don't care about the 
>> nuance, and it's not particularly important. Linking is part of the 
>> compilation process that people have to wait for before their program 
>> can run. So if linking is slow, then compilation is slow.
>
> you can dramatically decrease linking times by switching from 
> libphobos2.a to libphobos2.so.



More information about the Digitalmars-d mailing list