Embedded Limbo Dancing with Wasm
summary
Demonstrates compiling C to Wasm with clang targeting wasm32 then transpiling to C with wasm2c, producing a pure-C runtime that fits on tiny hardware: a simple compute module is 80 bytes, a module+runtime builds to ~2,376 bytes, and more realistic code (8‑float moving average) runs with a custom 36‑byte memory and traps safely when undersized. Claims runtime overhead drops to under 5 KB ROM and a few hundred bytes RAM, uses custom page sizes and LLX-style loadable modules, and runs on an STM32F429.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 6:47Why WebAssembly fits embedded
- 16:13Minimal runtime demo
- 25:08Updating embedded modules
- 29:22Summary
related talks
53mWebAssembly
44mWebAssembly
22mHarnessing the power of WebAssembly
24mHow Small Can You Go? Customizing Interpreted Languages for Wasm Environments
35mBoost your JavaScript app
01h 30mApplied WebAssembly: Compiling and Running C++ in Your Web Browser
40mWASM on Zephyr: Securely Running Code in Any Language
22mThe state of WebAssembly
