Wild's new WebAssembly backend links CPython and SpiderMonkey faster than wasm-ld
The Rust Project published its Google Summer of Code 2026 results on November 11, 2026. All 13 projects passed their final evaluation. One of them stands out for anyone who cares about build times: Kei Akiyama, mentored by David Lattimore, added WebAssembly output support to the Wild linker.
The result is concrete. Before the project, Wild had no Wasm output support. Now it can link itself, SQLite, ripgrep, CPython, and the SpiderMonkey JavaScript engine to WebAssembly. Compared with wasm-ld, the de-facto standard Wasm linker that is based on LLD, Wild is 2-15x faster and uses 2-5x less memory.
Those numbers are the kind that get quoted out of context, so it is worth being precise about what they mean. They come from the project's benchmarks, on the programs listed, and they compare two linkers doing the same job. They do not mean that every Wasm build will be 15 times faster, and they do not mean that Wild is ready to replace wasm-ld everywhere. They do mean that the linker, a stage of the toolchain that developers rarely think about, is a real performance lever.
Why linkers are a bottleneck
A compiler gets the attention, but the linker is where a build often spends its last and least visible seconds. It resolves symbols, lays out sections, applies relocations, and writes the final binary. For a small program, that is fast. For a large one, with thousands of object files and a complex dependency graph, it can be a significant fraction of the build.
The linker matters more in Rust than in some ecosystems because Rust compiles crates separately and relies on the linker to combine them. It matters more in CI than on a developer laptop because CI runs the whole build from scratch, often many times a day, and because CI machines are shared and cost money. A linker that is twice as fast can shorten feedback loops and reduce the compute bill for a large project.
Wild's pitch is that a linker written in Rust can be faster and more memory-efficient than the established C and C++ linkers. The project is not new; it has been working on ELF linking for a while. The GSoC project extended it to a second target, which is a harder problem than it sounds.
The reason to care about a second target is that linkers tend to be specialized. A linker that is excellent at ELF may have assumptions baked into its design: section headers, program headers, virtual addresses, relocation types, and a process model that assumes an operating system. WebAssembly has a different object model, a different memory model, and a different notion of what a final artifact is. Porting a linker is not a matter of adding a file format parser; it is a matter of adapting the design.
What Wasm changes
WebAssembly is designed to be portable and sandboxed. A Wasm module has a linear memory, a set of imports and exports, and a structured instruction set. It does not have the same section layout as an ELF binary, and it does not run in a process with an operating system's virtual memory. The linker's job is to combine object files into a module that a runtime can instantiate, resolving symbols and laying out data within the linear memory model.
That difference shows up in the details. Wasm object files carry linking metadata in custom sections. The linker has to understand those sections, resolve imports and exports, and produce a module that satisfies the runtime's expectations. It also has to handle the C and C++ ABIs used by programs like CPython and SpiderMonkey, which bring their own conventions for symbol names, weak symbols, and initialization.
The fact that Wild can link CPython and SpiderMonkey is a stronger signal than a microbenchmark. Those are large, complex programs with deep dependency graphs and a lot of C code. Linking them to Wasm exercises the parts of the linker that a toy example does not: symbol resolution across many objects, relocation handling, and the interaction between the linker and the language runtime.
The GSoC report is candid that the work was not a straight port. Wild's ELF performance did not immediately translate to Wasm. The team had to adapt the design to the new target, and the result took significant effort. That is a useful detail because it explains why a fast ELF linker does not automatically become a fast Wasm linker, and why the achievement is more than a format flag.
The results: 2-15x and 2-5x
The headline comparison is against wasm-ld. Wild is 2-15x faster and uses 2-5x less memory. The range is wide, which is normal for linker benchmarks: the speedup depends on the program, the number of object files, the relocation mix, and the amount of output.
The memory number may be the more important one for CI. Linker memory usage can be a limiting factor on shared runners, and a linker that uses less memory can run on smaller machines or alongside other jobs. A 2-5x reduction is substantial, but it is also a range; teams should measure their own builds rather than assume the top of the range.
The benchmarks are from the project, and the GSoC post links to Kei's final report for details. That is the right place to look for methodology: which programs, which inputs, which machine, and how the measurements were taken. The Rust blog's summary is a summary, not a peer-reviewed benchmark. The honest reading is that Wild is competitive with wasm-ld on the tested workloads, with a meaningful speed and memory advantage, and that independent reproduction is the next step.
The right way to reproduce the result is to build the same programs with both linkers on the same machine, using the same object files and the same flags. Linker benchmarks are sensitive to the number of objects, the size of the debug info, and whether the link is incremental. A speedup measured on a debug build may not hold on a release build, and a memory measurement taken at peak may not reflect the average. The final report is the place to check which of these variables the project controlled.
None of that undermines the result. A 2-15x range is wide enough that even the low end is a meaningful improvement, and the fact that Wild can link CPython and SpiderMonkey at all is evidence that the backend is more than a prototype. The remaining question is whether the performance holds across the long tail of Wasm programs, including the small modules that dominate many production builds.
There is also a qualitative result that matters. Wild can link itself to Wasm. A linker that can link itself is a useful sanity check: it exercises a real, non-trivial program and shows that the toolchain can bootstrap. SQLite and ripgrep add different shapes of C and Rust code. CPython and SpiderMonkey add large, complex runtimes. The set is chosen to be hard, not convenient.
The kernel-module proof point
The same GSoC round included a second Wild project that is worth mentioning because it shows the linker's range. Vishruth Thimmaiah expanded Wild's linker-script support and added partial linking (-r), which is needed to link Linux kernel modules. Wild can now link modules such as btrfs and amdgpu 2-4x faster than BFD (GNU ld) or LLD, and it is close to being able to link the Linux kernel itself.
That is a different kind of workload from Wasm. Kernel modules rely on linker scripts, location counters, program headers, and a set of conventions that are specific to the kernel. The GSoC report notes that mold, a fast linker that is excellent in many contexts, does not currently support the linker scripts required to link kernel modules. That gap is why Wild's work here is notable: it is not just faster, it covers a case that the fastest mainstream alternative does not.
The two projects together make a broader point. A linker is infrastructure, and infrastructure improves when someone is willing to work on the unglamorous parts. Wasm output and kernel-module linking are not flashy features, but they are the kind of work that makes a toolchain usable in more places. The fact that both happened in one GSoC round, under the same mentor, suggests that Wild has a coherent technical direction and a pipeline for contributors.
The portability lesson
The most interesting engineering lesson in the Wild work is about portability. It is tempting to think of a linker as a program that reads object files and writes a binary, with the target format as a parameter. The Wild experience shows that the target shapes the design.
ELF linking assumes a process model: virtual addresses, segments, a loader, and an operating system that maps memory. Wasm linking assumes a sandbox: a linear memory, imports and exports, and a host that instantiates the module. The data structures that make ELF linking fast may not be the right ones for Wasm. The relocation model is different. The notion of a symbol's address is different. A linker that ignores those differences will be slow or incorrect.
That is why the "ELF performance did not immediately translate" detail is important. It is a case study in the difference between porting code and porting a design. The team had to understand the target's constraints and adapt the implementation, not just add a backend. The result is a Wasm linker that is fast on its own terms, not an ELF linker with a new output format bolted on.
The lesson applies beyond linkers. When a tool is ported to a new platform, the first version often carries assumptions from the old platform. The second version, if it is good, rebuilds those assumptions around the new platform's constraints. Wild's Wasm work looks like the second kind of port.
What to watch
The first thing to watch is whether the benchmarks hold up independently. The numbers are strong, but they come from the project. A reproducible benchmark suite, run by someone else, would make the claims more useful. The final report is the place to start.
Second, watch the wasm-ld comparison over time. wasm-ld is part of LLVM and benefits from ongoing work. A 2-15x gap today may narrow as the incumbent improves. The interesting question is not whether Wild is faster in a snapshot, but whether it can stay faster while maintaining compatibility.
Third, watch Wild's adoption. A linker becomes useful when toolchains integrate it. Rust's -C linker flag makes it possible to try Wild, but a serious adoption requires support in build systems, documentation, and a track record on real projects. The GSoC work is a proof of concept; adoption is a separate project.
Fourth, watch the kernel-module work. Linking kernel modules is a conservative, high-stakes use case. If Wild can link btrfs and amdgpu reliably, and eventually the kernel itself, that is a strong signal of maturity. It is also a reminder that linker performance matters outside the web.
Fifth, watch the GSoC pipeline. All 13 Rust projects passed, and several contributed to foundational tooling. That is a good sign for the ecosystem, but it also raises a question: how much of this work continues after the program ends? Kei and Vishruth have continued contributing, which is the best answer.
Wild's Wasm backend is a useful reminder that build times are not only a compiler problem. The linker is a stage where a well-designed tool can save seconds on every build, and where a Rust implementation can bring both speed and a modern codebase. The 2-15x number is a headline, but the more durable result is that a small team can extend a linker to a new target and make it competitive. That is the kind of infrastructure work that compounds.
Sources
- Google Summer of Code 2026 results (Rust Blog, 2026-11-11)
- Wild linker repository (GitHub)
- Kei Akiyama's GSoC final report
- Vishruth Thimmaiah's GSoC final report