~/talk

WebAssembly for IoT Devices: Interfacing with USB and I2C Hardware

Talkat WasmCon 2024 · on Tuesday, 2024-11-12· at 16:15· Salt Palace | Level 3 | 355 B-C· [embedded-and-hardware, webassembly]
slides:none on file

Shows working prototypes and code (open source) that let WebAssembly talk to real hardware: WASI-USB based on libusb and a WASI-I2C API based on embedded-hal, plus GPIO/SPI work in progress. Runtime tests use Wasmtime JIT and an ESP32 microcontroller prototype with 265 KB RAM. Measured overhead is tiny: ~+2–5 µs on x86, about +45 µs (≈8%) on Raspberry Pi; USB throughput drops ~0.6% (x86) / 4.1% (RPI). Demo runs an Xbox USB driver and Pac‑Man entirely in WebAssembly, swapping drivers as intended.

AI-written summary · about

  1. 0:00WebAssembly for IoT intro
  2. 3:56Why WASM solves IoT distribution
  3. 7:07Cyber-physical WebAssembly interfaces
  4. 10:18Standardizing WASI USB/I2C APIs
  5. 13:30WASM driver overhead
  6. 18:29Live demo: WASI USB Xbox
  7. 21:43Future of portable drivers
  8. 22:03Academic workshop
  9. 23:54Q&A on WASM security
~/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.