27

A lot of work in this release was related to porting to other platforms. We did a large number of refactorings to put ELF-specific behaviour behind traits. We've also started work on porting to Mach-O and WebAssembly. These aren't yet ready for use, but if you'd like to help out with porting, get in touch.

Wild now supports the linker plugin API that was originally part of the Gold linker, but which is also supported by GNU ld and Mold. This lets us do linker-plugin LTO (link time optimisation). There are still a few known issues, but it's already working on a good range of programs. Pure Rust projects generally don't use linker plugins, since Rust can do LTO within the compiler, so this is mostly helpful for C, C++ or mixed language projects. Note that when using a linker plugin, link times will be very slow.

Lots more linker-script features were implemented during this release.

[...]

top 7 comments
sorted by: hot top controversial new old
[-] FizzyOrange@programming.dev 7 points 3 days ago

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!

[-] bitfucker@programming.dev 1 points 2 days ago

What advantage does this have compared to mold?

[-] Flipper@feddit.org 3 points 2 days ago

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.

[-] FizzyOrange@programming.dev 1 points 2 days ago

Also I believe Mold only supports ELF.

And based on the benchmarks they've posted, Wild is even faster than Mold.

[-] bitfucker@programming.dev 1 points 2 days ago

Honestly, op should've also put that on the excerpt. Thanks!

[-] BB_C@programming.dev 1 points 2 days ago

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.

[-] BB_C@programming.dev 1 points 2 days ago

While eventually implementing incremental linking was the inspiration, as already pointed out. It's actually already faster than mold (see benchmarks).

this post was submitted on 24 May 2026
27 points (93.5% liked)

Programming

27052 readers
154 users here now

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



founded 3 years ago
MODERATORS