Cyber-Physical WebAssembly: Interfacing with USB and I2C Hardware
- Track: WebAssembly
- Room: K.4.601
- Day: Sunday
- Start: 10:30
- End: 10:55
- Video only: k4601
- Chat: Join the conversation!
Did you know you can use WebAssembly on IoT devices and microcontrollers? In this talk, we explain why anyone would do such a thing, and how to connect WebAssembly applications to hardware using USB and I2C interfaces.
WebAssembly allows embedded developers to use modern toolchains, diverse programming languages and sandboxing technology on truly tiny devices like ESP32 microcontrollers. Support for these use-cases is improving with the newly formed Embedded SIG and new interfaces for connecting WebAssembly applications to underlying hardware via USB and I2C.
We will cover the WASI-USB and WASI-I2C proposals and explains how to embed a device driver in WebAssembly. The session also takes a look at the overhead of these interfaces and embedded WebAssembly in general. The session closes with a demo of a USB device driver running inside of WebAssembly.
Speakers
Merlijn Sebrechts | |
Michiel Van Kenhove |