42
Mold: A Modern Linker
(github.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
The performance gains are impressive in relative terms, but I don't think I would ever switch the default linker if the potential gains are like shaving off 5 seconds when linking a 3GB bundle of binaries.
At work we use lld as opposed ld. With ld, the project I work on links in 60-something seconds, with lld it links in less than 6.
Mold is faster than lld. It is absolutely worth it