Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
1–10 of 120 posts
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#2Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#3Author here. If you have any questions about mold/macOS, feel free to ask me as a reply.
If not, any plans to support this in the future? :)
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#4Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#5Author here. If you have any questions about mold/macOS, feel free to ask me as a reply.
Can mold also serve as a replacement for dsymutil (i.e. linking DWARF info)? If not, any plans to support this in the future? :)
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#6Author 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
#7Author here. If you have any questions about mold/macOS, feel free to ask me as a reply.
Why is it so much faster?
But even without multi-threading, mold is still faster than other linkers. I can think of various reasons why, but I don't know which attributes how much. I believe the biggest contributor is its efficient data structure -- it is hard to make program faster by writing fast code, but it can naturally be achieved by designing efficient data structures. That said, it is hard to compare two or more programs to find out why one program is faster than the others unless their designs are similar.
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#8Author here. If you have any questions about mold/macOS, feel free to ask me as a reply.
Why is it so much faster?
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#9I find myself defaulting to Linux for Rust development these days, mostly because Mold makes the inner loop of development so much faster.
Re: Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
#1020 seconds down to 2 seconds is a huge achievement. I'll still be telling my boss I'm waiting for a build while I go for my 15 minute coffee, though