Free module
WebAssembly components and WASI
Learn WebAssembly outside the browser hands on: Wasmtime, WASI capabilities, WIT interfaces, composing components, WASI 0.3 and plugin sandboxes.
The lessons
Each lesson is free and interactive. Press Start lab to run its commands in a live lab and to sit its quizzes and tasks, with no account needed.
1 · Container lab
WebAssembly outside the browser
I can explain what a WebAssembly module contains by reading its bytes.
Read the lesson2 · Container lab
Wasmtime and the capability model
I can decide what a Wasmtime command lets a program reach.
Read the lesson3 · Container lab
WIT interfaces and WebAssembly components
I can read a WIT world and say what a component imports and exports.
Read the lesson4 · Container lab
Composing WebAssembly components
I can explain how two components are composed by matching an import to an export.
Read the lesson5 · Container lab
WASI 0.2 versus WASI 0.3
I can tell a WASI 0.3 interface from a WASI 0.2 one and say what changed.
Read the lesson6 · Container lab
WebAssembly as a plugin sandbox
I can choose limits that stop a WebAssembly plugin from harming its host.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.