Rust Rewrite Index

binaryen

compiler and toolchain infrastructure library for WebAssembly

Rust efforts

Research record · 2026-11-29

Searched Binaryen, wasm-opt, WebAssembly transformation Rust ports, bindings and Walrus. wasm-opt crate builds and binds the original C++ implementation; Walrus independently transforms WebAssembly and is not a source port. No direct Binaryen rewrite surfaced in these sources.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust alternative

Walrus

Independent Rust WebAssembly transformation library; it overlaps part of Binaryen’s domain but is not the Binaryen optimizer suite or an API-compatible port.

Evidence checked 2026-11-29

Project structure

Binaryen is a compiler and toolchain infrastructure library for WebAssembly, written in C++. It aims to make compiling to WebAssembly easy, fast, and effective:

Inside the source tree

Source files by extension in this snapshot · C++ (254), Python (42), C (27)

Selected components packaged from this source in Debian 13.

  • binaryen · compiler and toolchain infrastructure library for WebAssembly