Advanced Vocabulary #wasm#webassembly#wasi#runtime

WebAssembly Runtime Vocabulary

5 exercises — Practice WebAssembly vocabulary in English: binary format, WASI, component model, runtimes, host functions, instantiation, and serverless WASM.

Core WebAssembly vocabulary clusters
  • Format: binary format (.wasm), WAT (WebAssembly Text), module, section (type, function, memory, export, import)
  • Execution: stack machine, linear memory, sandbox, instantiation, exports, imports, host function
  • WASI: WebAssembly System Interface, capability-based security, wasi_unstable, wasi_preview1, wasi_preview2
  • Component model: wit (WebAssembly Interface Types), component, interface, world, composition
  • Runtimes: Wasmtime, WasmEdge, Wasmer, WAMR; AOT vs. JIT compilation; serverless WASM
0 / 5 completed
1 / 5
A platform engineer introduces WebAssembly to a backend team exploring new runtimes:
"WebAssembly — WASM — is a binary instruction format designed as a portable compilation target. Write once in Rust, C, C++, Go, or Python; compile to WASM; run anywhere: browser, server, edge, embedded. The key property: sandboxed execution. A WASM module can't access the filesystem, network, or system calls unless explicitly granted. The module declares imports (what it needs from the host) and exports (what it exposes to the host). The host provides the imports — full control over what the module can do."
What is a host function in WebAssembly, and why is the import/export model central to WASM's security?