Yes, but it supports only a fraction of the architectures that binutils supports and I usually don’t recompile Chrome every day. ¯\_(ツ)_/¯
Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
61–70 of 120 posts
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#62Earlier quoted context omitted.
I want to write a book about linkers so that the knowledge I earned during the development of the lld and mold linkers wouldn't lost, but I don't have enough time to do that!
> I want to write a book about linkers so that the knowledge I earned during the development of the lld and mold linkers wouldn't lost, but I don't have enough time to do that! I know this is a type, but it is interesting to see knowledge as a score or commodity you can "earn".
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#63Earlier quoted context omitted.
I want to write a book about linkers so that the knowledge I earned during the development of the lld and mold linkers wouldn't lost, but I don't have enough time to do that!
> I want to write a book about linkers so that the knowledge I earned during the development of the lld and mold linkers wouldn't lost, but I don't have enough time to do that! I know this is a type, but it is interesting to see knowledge as a score or commodity you can "earn".
( ͡° ͜ʖ ͡°)
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#64Author here. If you have any questions about mold/macOS, feel free to ask me as a reply.
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#65A linker seems like it ought to be a simple piece of software. What is a linker doing that takes so long?
Well at a minimum it has to load into RAM all the built objects, which probably include debugging symbols. For something like Chrome, thats probably 20 Gigs...
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#66Earlier quoted context omitted.
What's wrong with the current agpl license, especially for a linker?
Corporations don't understand the GPL and how isolated, unmodified tools aren't viral.
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#67How do I learn about what’s being discussed here? Why do I need a linker?
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#68How do I learn about what’s being discussed here? Why do I need a linker?
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#69Author here. If you have any questions about mold/macOS, feel free to ask me as a reply.
Looking further into the future and the advent of io_uring in Linux, would you consider special-casing Linux IO ops to use io_uring or do you not expect any speedup there?
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#70Earlier quoted context omitted.
Well at a minimum it has to load into RAM all the built objects, which probably include debugging symbols. For something like Chrome, thats probably 20 Gigs...
Huh? Isn't the output of the linker roughly the same size as the sum of the inputs?
No. Linkers today even do link-time code generation. Debug info is gargantuan and can be kept as separate files too.