llllluca/wasmc: An Ahead-of-Time and On-Device WebAssembly Compiler for Resource-Constrained Devices

github.com3 min read

wasmc is a lightweight ahead-of-time WebAssembly compiler designed to run directly on resource-constrained microcontrollers like the ESP32-C3. It translates WebAssembly 1.0 modules into native 32-bit RISC-V code, emitting AOT files compatible with the WebAssembly Micro Runtime. Benchmarks show that code compiled on-board by wasmc runs significantly faster than WAMR's interpreter and approaches the performance of PC-based compilation. Open article →

More on this topic