Repository navigation
Home
Run WebAssembly on a microcontroller. One header, one C file, plain C99, no dependencies.
Measured on a real ESP32: 10.4x slower than native code on average, against 20.5x for wasm3, and faster than wasm3 on all 43 benchmark kernels. 4186 conformance checks passed, 0 failed. See Performance and Benchmarks and Validation.
| I want to... | Page |
|---|---|
| see something work in 5 minutes | Quick Start |
| understand the moving parts | Concepts |
| add the library to my project | Install |
| get it running on my chip, with a checklist that always works | Bring-Up Checklist |
| write the program that runs inside | Writing Guests |
| fix an error | Troubleshooting and Error Reference |
Getting started: Quick Start, Concepts, Install
Your board: Platforms Overview, Bring-Up Checklist, Arduino, ESP-IDF, Raspberry Pi Pico, STM32, Zephyr and nRF, Other MCUs, Desktop Simulator
Guest side: Writing Guests, Guest Import Reference
Host side: Loading Modules, Custom Filesystems (set_fs), Host Functions, Permissions, Instances, Threads and the Spawner, Atomics, Safety, Fuel and Traps
Reference: Host API, Configuration, Memory Sizing, Error Reference
Help: Troubleshooting, Cookbook, FAQ, Glossary
Proof and tuning: Performance and Benchmarks, Validation, Speed Tuning
Project: Migration 1.x to 2.0, Testing and Contributing
Every code block on these pages that is marked with a file name is a real file in the repository under examples/wiki/, and the CI builds and runs all of them (make wiki-examples). The output blocks are captured from those runs.
Eccles WASM is free and built by one developer. If it helps you, see Support.
Eccles WASM 2.0.0 · MIT · Repository · Report a problem · Support ♥
Start here
Platforms
Use it
- Writing Guests
- Guest Import Reference
- Loading Modules
- Custom Filesystems
- Host Functions
- Permissions
- Instances
- Threads and Spawner
- Atomics
- Safety, Fuel and Traps
Reference
Proof
More