Skip to content
WASM Analyzer LogoWASM Analyzer LogoWASM Analyzer
GitHub

The WebAssembly Component Model

The WebAssembly component model is intended to make Wasm usable outside of a browser. The idea is to add a component layer that makes underlying Wasm functionality accessible in languages like C++ and Rust. The component model is part of the WebAssembly System interface (WASI) project.





Components


Wasm components are kind of like stateless executable files, wrapping one or more modules. From the outside, a component may appear to be a Wasm module in its own right, containing one or more subordinated modules. A component is defined using the Wasm Interface Type (WIT) text format, which you can read more about in our document on the subject, here.





Additional reading


Read more about the WebAssembly component model on github, here.