wadec
A WebAssembly binary decoder (parser for .wasm files) written from scratch in Rust, built as a way to learn both WebAssembly and Rust. It has reached v3 spec conformance by running the upstream spec test suite. It is intentionally not a highly performant production decoder and offers no streaming API; instead it targets educational use and debugging of WebAssembly modules, with a focus on good error messages, code documentation, and readability.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
wadec
A WebAssembly binary decoder (parser for .wasm files) written from scratch in Rust, built as a way to learn both WebAssembly and Rust. It has reached v3 spec conformance by running the upstream spec test suite. It is intentionally not a highly performant production decoder and offers no streaming API; instead it targets educational use and debugging of WebAssembly modules, with a focus on good error messages, code documentation, and readability.
Audience: People using it for educational purposes and developers debugging issues with WebAssembly modules
Posted by @pasxizeis · Original source ↗
Source text · @pasxizeis · · Source ↗
As a means to learn about both WebAssembly and Rust, I started writing a WebAssembly binary decoder (i.e. a parser for `.wasm` files) from scratch. Recently it hit v3 spec conformance. (I'm executing the upstream spec test suite.) I don't plan to make it a highly-performant decoder for use in production environments, but rather one that can be used for educational purposes, easy to read and/or debugging issues with modules.
wadec
A WebAssembly (Wasm) parser written from scratch, currently gaining support for version 3 of the Wasm specification.
Posted by @pasxizeis · Original source ↗
Source text · @pasxizeis · · Source ↗
Slowly but steadily implementing support for version 3 of the Wasm specification in my wasm parser (written from scratch): https://github.com/agis/wadec
wadec
A WebAssembly module parser written from scratch with a focus on good diagnostics, error messages, and developer experience. It is fully conformant to WebAssembly spec v2.0, with work under way to support the recently released 3.0 version.
Posted by @pasxizeis · Original source ↗
Source text · @pasxizeis · · Source ↗
Writing a WebAssembly module parser from scratch, focusing on good diagnostics/errors and DX. Currently it's fully-conformant to v2.0 of the spec, while I'm working towards implementing the recently released 3.0 version.
wadec
A WebAssembly binary decoder (parser for .wasm files) written in Rust from scratch as a means to learn WebAssembly and Rust. It has achieved v2.0 spec conformance, is validated against the upstream spec test suite, and v3.0 is next on the roadmap. It intentionally avoids a streaming API and production-grade performance, focusing instead on educational readability, good error messages, and well-documented code to help with debugging issues in wasm modules.
Posted by @pasxizeis · Original source ↗
Source text · @pasxizeis · · Source ↗
As a means to learn about both WebAssembly and Rust, I started writing a WebAssembly binary decoder (i.e. a parser for `.wasm` files) from scratch. Recently it hit v2.0 spec conformance. 3.0 is next on the roadmap. (I'm executing it against the upstream spec test suite.)
wadec
A WebAssembly binary decoder written in Rust that parses .wasm files from scratch, implementing the v2.0 spec (v3.0 on the roadmap) and validated against the upstream spec test suite. Intended for educational use and for debugging issues with existing modules rather than high-performance production workloads, with no streaming API and an emphasis on good error messages and code documentation.
Posted by @pasxizeis · Original source ↗
Source text · @pasxizeis · · Source ↗
As a means to learn about both WebAssembly and Rust, I started writing a WebAssembly binary decoder (i.e. a parser for `.wasm` files) from scratch. Recently it hit v2.0 spec conformance. 3.0 is next on the roadmap. (I'm executing it against the upstream spec test suite.)
wadec
A from-scratch WebAssembly binary decoder that parses .wasm files, built as a way to learn WebAssembly. It is being validated against the upstream WebAssembly spec tests to increase spec conformance and is close to fully conformant. It is currently non-streaming, with a streaming API and a finished errors interface planned as future work.
Posted by @pasxizeis · Original source ↗
Source text · @pasxizeis · · Source ↗
As a means to get into WebAssembly, I started writing a WebAssembly binary decoder (i.e. a parser for `.wasm` files) from scratch.
wadec
A WebAssembly binary decoder written in Rust, built as a way to learn more about both wasm and Rust.
Posted by @pasxizeis · Original source ↗
Source text · @pasxizeis · · Source ↗
Started writing a WebAssembly binary decoder, as a means to learn both more about wasm and Rust: https://github.com/agis/wadec.