WebAssembly Micro Runtime (WAMR) is a compact Wasm VM with interpreter, AOT, and JIT modes for embedded, IoT, edge, and server hosts. It exposes C APIs and wasi support.
Overview
WAMR ships a small-footprint WebAssembly runtime suitable for devices from microcontrollers to servers. VMcore libraries load Wasm modules using interpreter, ahead-of-time, or just-in-time execution tiers, including fast JIT and LLVM JIT combinations.
iwasm provides a command-line product with WASI and POSIX-style sockets, while wamrc compiles modules to AOT objects for offline loading. Hosts embed WAMR through simple C APIs and can export native functions to guest modules.
Feature coverage spans pthread-style threading, WASI threads, SGX enclaves, source-level debugging, XIP execution, and post-MVP Wasm proposals. Bindings exist for Go, Python, and Rust, with porting guides for RTOS and embedded SDKs.
Supported CPU families include x86, ARM, AArch64, RISC-V, Xtensa, MIPS, and ARC, with platform notes for Linux, macOS, Windows, Android, Zephyr, FreeRTOS variants, and more. Apache 2.0 with LLVM exception licensing applies.
Project governance runs through a technical steering committee after migrating to its current GitHub organization.
Key features
- Interpreter, AOT, and JIT execution modes
- iwasm CLI with WASI support
- wamrc ahead-of-time compiler
- Embeddable C API for host integration
- Native function export to Wasm guests
- Pthread and WASI threads support
- SGX and embedded RTOS ports
- Go, Python, and Rust language bindings
Use cases
- Running Wasm on MCU-class devices
- Sandboxed plugins inside C or C++ servers
- IoT firmware executing portable Wasm modules
- Edge nodes needing small JIT footprints