r/programming • u/mttd • 6d ago
mold: A Massively Parallel Linker
https://arxiv.org/abs/2608.2322818
u/tuxwonder 6d ago
Wonder if this tech, or the linker itself, will ever come to Windows MSVC builds. I can dream...
4
u/ioneska 5d ago
LLD? radlink?
2
u/tuxwonder 5d ago
I don't know what those words mean and my googling failed to find something
13
u/ioneska 5d ago
They are highly compatible with the MSVC linker and might be more performant in some cases.
10
u/atrocia6 5d ago
TIL that Epic Games, of all people, develop cutting edge, open source development tools!
11
u/Immotommi 5d ago
Epic acquired a game tooling company, Rad game tools in 2021. The company still exists inside of Epic and some proportion of their work is open source, for example the rad debugger
2
u/atrocia6 4d ago
Ah, okay, so they don't have a homegrown OSS operation - my understanding of the world is not totally upended :| But I'm happy to still give them credit for at least maintaining interesting open source projects.
1
8
u/PreciselyWrong 5d ago
mold is old and also sold. Wild is the newsworthy linker
11
6
u/SethDusek5 4d ago
Both of them are good projects and choosing between one is splitting hairs since they perform similarly, Wild wins in some benchmarks and mold wins in others. Also Rui has been doing this for a long time and it seems to mostly be a one-man operation which is super impressive and I definitely plan on reading this paper.
What would make Wild truly more newsworthy is if they achieve their goal of incremental linking one day, from what I remember they still haven't.
1
u/artyomsv 5d ago
For me biggest win was not raw speed but that link stopped being the thing I wait for in debug loop. After switching, bottleneck just moved to compile step, so total build time gain is always smaller than linker benchmark promise. Paper numbers look nice but people forget this part.
3
u/max123246 3d ago
So raw speed...
3
u/artyomsv 2d ago
Fair, that was badly put by me. What I meant is link speedup and total build speedup are two different numbers, 100x on the link step turns into small change end to end once compile dominates, and the paper reports the first one.
-8
u/-1_0 6d ago
112x ... wow ... C++ will be JIT language /s
1
152
u/Farlo1 6d ago
mold has been around for years, I’m curious why there’s a paper being published about it now. Does academia just take that long?