A very fast linker to replace gcc's ld
asman
lol.themask at gmail.com
Mon Apr 7 12:11:13 PDT 2014
On Sunday, 6 April 2014 at 00:50:43 UTC, Andrei Alexandrescu
wrote:
> On 4/5/14, 2:47 PM, Asman01 wrote:
>> Today I've found a good alternative to slow gcc's linker:
>> gold. Written
>> by Google in C++ it's a linker writen for large code bases
>> with C++ in
>> mind. The author claims it's about 5 times fast than gcc's
>> one. It does
>> support ELF only and UNIX-like symtem I think it's enough to
>> dmd on
>> linux or am I missing something? I believe it can reduce a lot
>> dmd's
>> compilation speed on these system. It's under same GPL as
>> gcc's ld. I
>> wonder if we can use it to make dmd still fastest. :)
>> It seems same case as Facebook needed a new C++ preprocessor
>> for its
>> large code base.
>>
>> http://google-opensource.blogspot.com.br/2008/04/gold-google-releases-new-and-improved.html
>>
>> https://events.linuxfoundation.org/images/stories/pdf/lfcs2012_ccoutant.pdf
>
> s/reduce/improve/
>
> Yah, we've been using gold for a long time. Not on all projects
> though, on some it crashes.
>
>
> Andrei
haha. It's great already being using it. So, it's not a full
replacement to gcc's ld because it is not stable enough, right?
if so, do you think it's valuable (for DMD community) to someone
put some effort to try to fix as possible this crashes? I will do
some test on my linux machine later to see how fast and stable it
is.
More information about the Digitalmars-d
mailing list