What advantage does this have compared to mold?
Mold is already very fast, however it doesn't do incremental linking and the author has stated that they don't intend to. Wild doesn't do incremental linking yet, but that is the end-goal. By writing Wild in Rust, it's hoped that the complexity of incremental linking will be achievable.
Also I believe Mold only supports ELF.
And based on the benchmarks they've posted, Wild is even faster than Mold.
Honestly, op should've also put that on the excerpt. Thanks!
It's on the title, you don't even need to read the excerpt👆.
But more seriously, the excerpt is from the release/tag notes, but what's quoted above is from the README.
While eventually implementing incremental linking was the inspiration, as already pointed out. It's actually already faster than mold (see benchmarks).
What I always really wanted was some kind of linker script debugger. Let me step through the linker script, show me all the input objects & segments etc.
Linker scripts are one of the worst aspects of the GNU (and LLVM) toolchain. Weird custom language, poor documentation, quite buggy, zero debugging tools.
Anyway, impressively huge release!
Programming
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
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev