Overview of WebAssembly System Interface (WASI) versions
mainWASI provides a set of APIs for WebAssembly to interact with system resources. The project has evolved through several major previews:
- WASI 0.1 (Preview 1): An API using the
witxIDL, influenced by POSIX and CloudABI. - WASI 0.2 (Preview 2): A modular collection of APIs defined with the
Wit IDL. It features improved modularity, a more expressive type system, and virtualizability. - WASI 0.3 (Preview 3): The current preview. It builds on WASI 0.2 by replacing explicit streams and polling interfaces with the component model's native
asyncfunctionality usingfutureandstreamtypes.