~/talk

WASM on Zephyr: Securely Running Code in Any Language

Talkat Embedded Open Source Summit 2024 · 2024-04-16..04-18· [webassembly, security]
links:none on file
slides:none on file

Shows a working setup that fetches a Rust-compiled WASM module to Zephyr, runs it interpreted and triggers host imports to log alerts when temperature crosses a threshold. Uses WAMR with a Zephyr port, a NRF52840 + ESP32 dev kit, a Golioth DTLS/Settings pipeline, and a small module (~452 bytes base64) that is swapped live and re-instantiated on the device and in a browser client. Notes: WAMR ~885 KB runtime cost, 452-byte WASM, NRF52840 + ESP32, interpreted execution with limited ABI types, memory-passing via offsets, and harder debugging.

AI-written summary · about

  1. 0:00WebAssembly on Zephyr intro
  2. 1:42How WebAssembly works
  3. 8:49Imports and exports in WASM
  4. 10:17WASI and Component Model
  5. 11:42Why WASM on microcontrollers
  6. 13:09Dynamic code execution need
  7. 15:20Safety vs performance trade-offs
  8. 17:50Platform independence
  9. 20:38WASM on heterogeneous systems
  10. 23:05WASM Micro Runtime
  11. 25:34Demo: temperature alert
  12. 33:45Live demo and updates
  13. 34:06Q&A: JIT compilation
  14. 34:55Q&A: file size benchmarks
  15. 35:38Q&A: remote execution
  16. 37:02Q&A: impact on web dev
  17. 37:45Q&A: debugging on devices
  18. 38:26Q&A: footprint comparisons
  19. 39:54Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.