Mozilla has announced a new standardization effort to provide a consistent way for WebAssembly applications to interact with any operating system they run on.
Dubbed WASI, or WebAssembly System Interface, the currently experimental project provides WebAssembly applications with a set of abstractions for performing tasks such as reading and writing files and network I/O. Each WebAssembly host implements WASI for the platform it runs on.
[ Go deeper: How to get started with WebAssembly. • What’s next for WebAssembly. • 8 projects that give WebAssembly a lift • So, What’s next for WebAssembly, exactly? | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]
A key part of WASI, according to Mozilla, is that it is platform-independent. Languages like C provide a standard library to interface with the file system and memory, for example. Similarly, WASI can be thought of as a standard library for cross-platform abstractions like files or network sockets.
To read this article in full, please click here