Skip to content

WebAssembly by Example is a hands-on introduction to WebAssembly using annotated example projects. Get started with the fibonacci example or click on any of the links below. You are encouraged to copy-paste bits from these examples into your own projects as needed.

WebAssembly is a type of code that can be run in modern web browsers — it is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C/C++, C# and Rust with a compilation target so that they can run on the web. It is also designed to run alongside JavaScript, allowing both to work together.

🚩 Basics

👨‍💻 WASI

The WebAssembly System Interface (WASI) is a set of APIs for WASI being developed for eventual standardization by the WASI Subgroup, which is a subgroup of the WebAssembly Community Group.

🧰 Specialized tooling

📦 WebAssembly component model

The WebAssembly Component Model is a broad-reaching architecture for building interoperable Wasm libraries, applications, and environments.

⚙️ Advanced