Wasmi - WebAssembly (Wasm) Interpreter

August 8, 2025 ยท View on GitHub

Continuous IntegrationTest CoverageDocumentationCrates.io
cicodecovdocscrates

Wasmi - WebAssembly (Wasm) Interpreter

Wasmi is an efficient and lightweight WebAssembly interpreter with a focus on constrained and embedded systems.

Distinct Features

  • Simple, correct and deterministic execution of WebAssembly.
  • Efficient and cross-platform WebAssembly runtime for no_std embedded environments.
  • Compiler/JIT bomb resisting translation.
  • Loosely mirrors the Wasmtime API to act as drop-in replacement.
  • 100% WebAssembly spec testsuite compliance.
  • Built-in support for fuel metering.
  • Supports the official Wasm C-API.

Security Audits

Wasmi is suitable for safety critical use cases and has been audited twice.

Wasmi Version(s)AuditorContractorReport
0.36.0-0.38.0Runtime Verification Inc.Stellar Development FoundationPDF
0.31.0SRLabsParity TechnologiesPDF

Docs

WebAssembly Features

WebAssembly ProposalWebAssembly Proposal
โœ…mutable-globalโ‰ฅ 0.14.0โœ…custom-page-sizesโ‰ฅ 0.41.0
โœ…saturating-float-to-intโ‰ฅ 0.14.0โœ…memory64โ‰ฅ 0.41.0
โœ…sign-extensionโ‰ฅ 0.14.0โœ…wide-arithmeticโ‰ฅ 0.42.0
โœ…multi-valueโ‰ฅ 0.14.0โœ…simdโ‰ฅ 0.43.0
โœ…bulk-memoryโ‰ฅ 0.24.0โœ…relaxed-simdโ‰ฅ 0.44.0
โœ…reference-typesโ‰ฅ 0.24.0๐Ÿ“…function-referencesTracking Issue
โœ…tail-callsโ‰ฅ 0.28.0๐Ÿ“…gcTracking Issue
โœ…extended-constโ‰ฅ 0.29.0๐Ÿ“…threadsTracking Issue
โœ…multi-memoryโ‰ฅ 0.37.0๐Ÿ“…exception-handlingTracking Issue
Embeddings
โœ…WASIWASI (wasip1) support via the wasmi_wasi crate.
โœ…C-APIOfficial Wasm C-API support via the wasmi_c_api_impl crate.

Used by

If you want your project on this list please inform me about you project and how Wasmi is used.

Stellar Soroban ย  Wasmer ย  Firefly Zero ย  Typst ย  Orbitinghail ย  Smoldot ย  Munal OS ย  icu4x ย  Ayaka ย  Project Oak ย 

Sponsors

Special thanks to the past and present sponsors of the Wasmi project.

Sponsoring since Oct. 2024
Sponsored until Oct. 2024

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.