Appendix C. Complete WAMR Guide
Last updated
Last updated
A project
    
| | | | |
WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime with small footprint, high performance and highly configurable features for applications cross from embedded, IoT, edge to Trusted Execution Environment (TEE), smart contract, cloud native and so on. It includes a few parts as below:
: A set of runtime libraries for loading and running Wasm modules. It supports rich running modes including interpreter, Ahead-of-Time compilation(AoT) and Just-in-Time compilation (JIT). WAMR supports two JIT tiers - Fast JIT, LLVM JIT, and dynamic tier-up from Fast JIT to LLVM JIT.
: The executable binary built with WAMR VMcore which supports WASI and command line interface.
: The AOT compiler to compile Wasm file into AOT file
Useful components and tools for building real solutions with WAMR vmcore:
: A framework for supporting APIs for the Wasm applications
: A framework for dynamical loading the Wasm module remotely
: An experimental VSCode extension for developping WebAssembly applications with C/C++
Full compliant to the W3C Wasm MVP
Small runtime binary size (core vmlib on cortex-m4f with tail-call/bulk memroy/shared memroy support, text size from bloaty)
~58.9K for fast interpreter
~56.3K for classic interpreter
~29.4K for aot runtime
~21.4K for libc-wasi library
~3.7K for libc-builtin library
Near to native speed by AOT and JIT
Self-implemented AOT module loader to enable AOT working on Linux, Windows, MacOS, Android, SGX and MCU systems
Choices of Wasm application libc support: the built-in libc subset for the embedded environment or for the standard libc
, see and the
, see
, ref to and
, ref to and
, ref to and
, ref to
, ref to
, ref to
, ref to and
and
Language bindings: , ,
The WAMR VMcore supports the following architectures:
X86-64, X86-32
ARM, THUMB (ARMV7 Cortex-M7 and Cortex-A15 are tested)
AArch64 (Cortex-A57 and Cortex-A53 are tested)
RISCV64, RISCV32 (RISC-V LP64 and RISC-V LP64D are tested)
XTENSA, MIPS, ARC
WAMR uses the same license as LLVM: the Apache 2.0 license
with the LLVM exception. See the LICENSE file for details. This license allows you to freely use, modify, distribute and sell your own products based on WAMR. Any contributions you make will be under the same license.
, ref to and
, ref to
, ref to and
, ,
, ,
The following platforms are supported, click each link below for how to build iwasm on that platform. Refer to for how to port WAMR to a new platform.
, , , , ,
, , , , ,
and
: , , and
, , ,
and
and
: the memory model and how to tune the memory usage
: how to profile the memory usage
: how to tune the performance
: checkout these links for how to run the benchmarks: , , ,
: the performance and footprint data
The governs the operations of the project TSC. The current TSC members:
- Dongsheng Yan,
- Marcin Kolny,
- Liang He,
Qi Huang,
- Xiaokang Qin,
- Trenner, Thomas,
- Wei Tang,
- Wenyong Huang,
- Woods, Chris,
- Jun Xu,
- Xin Wang, (chair)
- Takashi Yamamoto,