WebAssembly 2.0 is starting to take shape

The first public working drafts of WebAssembly 2.0 have arrived, with the next planned iteration of the binary instruction format so far focused on capabilities like JavaScript interaction and integration with the wider web platform.

The WebAssembly working group of the World Wide Web Consortium (W3C) published on April 19 three projects:

All three drafts follow the same pattern as for WebAssembly 1.0, with the W3C releasing core specification documents, a web API, and a JavaScript interface in late 2019. The main specification of WebAssembly 2.0 echoes the previous goals of WebAssembly. Design goals include fast, safe, and portable semantics and efficient, portable representation.

The JavaScript API provides a way to access WebAssembly through a bridge to explicitly build modules from JavaScript. The Web API is based on the WebAssembly specification and the WebAssembly JavaScript integration.

Supported in major browsers, WebAssembly, or Wasm for short, provides a safe, portable, low-level code format designed for compact representation and efficient execution. It promises faster web applications and allows the use of languages ​​other than JavaScript for web programming. The technology now powers complex distributed applications, having moved beyond the browser and into the server.

Publication of a Working Draft does not imply endorsement by W3C or the Members. The draft document can be updated, replaced or made obsolete by other documents.

Copyright © 2022 IDG Communications, Inc.

Comments are closed.