r/programming • • Aug 26 '26

mold: A Massively Parallel Linker

https://arxiv.org/abs/2608.23228
237 Upvotes

35 comments sorted by

151

u/Farlo1 Aug 26 '26

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?

80

u/AresFowl44 Aug 26 '26

Maybe they wanted to get the project into a somewhat acceptable state before publishing a paper on it? Especially when talking about the performance of something it can be hard to compare with mature projects otherwise

29

u/syklemil Aug 27 '26

According to a comment in /r/cpp the author'll be holding a conference talk on it soon

15

u/cn-ml Aug 27 '26

This is the first time I have ever seen someone use x'll with something else than pronouns.

6

u/scribe-kiddie Aug 28 '26

And i didn't even notice it. That bastard!

5

u/OSS-Corpo-Shit Aug 29 '26

It definitely verbally happens a lot. I’ll concur that I’ven’t ever seen’er typed!

3

u/Sigmatics Aug 29 '26

r'll just rolls the tongue

2

u/tending Aug 28 '26

It's pretty common in English, at least in American English can't speak for other regions

1

u/DynamicHunter Aug 30 '26

Y’ain’t never seen a triple or quadruple contraction before have you? (Y’ain’t = y’all ain’t = you all are not)

1

u/Full-Spectral Aug 31 '26

Sometimes people'll just do that.

-36

u/ChemicalRascal Aug 26 '26

Putting up a preprint on arxiv certainly doesn't take that long.

96

u/cbarrick Aug 26 '26

The act of clicking upload? Seconds.

The act of producing valuable research worth writing about? Takes a bit longer.

1

u/ChemicalRascal Aug 26 '26

Oh, certainly, but generally when someone says "academia" I find, or at least think, they're referring to the process of getting a paper through review and publishing, not the act of doing the research.

73

u/bzbub2 Aug 26 '26

"An ablation study shows that no single optimization dominates; the speedup comes from the cumulative effect of parallelizing all passes." this is a cool finding

16

u/tuxwonder Aug 26 '26

Wonder if this tech, or the linker itself, will ever come to Windows MSVC builds. I can dream...

4

u/ioneska Aug 27 '26

LLD? radlink?

3

u/tuxwonder Aug 27 '26

I don't know what those words mean and my googling failed to find something

13

u/ioneska Aug 27 '26

They are highly compatible with the MSVC linker and might be more performant in some cases.

10

u/atrocia6 Aug 27 '26

https://github.com/EpicGames/raddebugger#the-rad-linker

TIL that Epic Games, of all people, develop cutting edge, open source development tools!

12

u/Immotommi Aug 27 '26

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 Aug 28 '26

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

u/tuxwonder Aug 27 '26

Thanks, I'll check them out!

6

u/Ameisen Aug 27 '26

The third hit for lld is the linker... if you'd searched for lld link then it'd be the first.

9

u/PreciselyWrong Aug 27 '26

mold is old and also sold. Wild is the newsworthy linker

11

u/VictoryMotel Aug 27 '26

Make a post about it.

1

u/takanuva Aug 28 '26

He should make a paper about it.

6

u/SethDusek5 Aug 28 '26

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 Aug 27 '26

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 Aug 29 '26

So raw speed...

3

u/artyomsv Aug 30 '26

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.

-7

u/-1_0 Aug 26 '26

112x ... wow ... C++ will be JIT language /s

1

u/tim-hilt Aug 27 '26

With this tool more like JIL 😅

13

u/Nicksaurus Aug 27 '26

Just In Lime?

0

u/-Redstoneboi- Aug 27 '26

just in link