Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
as-182
· 1mo ago · 0 comments
Because mold is faster. Linking is a significant bottleneck when building large projects.
Comments
[–]
mort96
1mo ago
But we're just talking for bootstrapping Rust here.
[–]
someonebaggy
1mo ago
The complaint is about bootstrapping, where speed is of little relevance.
[–]
lrvick
1mo ago
It is of extreme relevance for us as we have to re-bootstrap every time we change any dependency of rust, and rust depends on almost everything that is expensive to build in a toolchain tree.
[–]
peterfirefly
1mo ago
Use the mold binary from the last rebuild and only rebuild again if the new one is different?
[–]
jpollock
1mo ago
If 80% of the tree is in the parent list for mold, the cache hit rate would be 20% - assuming the change distribution is even, which it won’t be.