WebAssembly 1.0 and core specification arrive

The W3C has published the WebAssembly core specification, along with companions pertaining to web and JavaScript APIs

WebAssembly, the highly touted binary format that promises to make web applications run faster, has reached 1.0 status with the publishing of the WebAssembly core specification. This marks the arrival of a new platform for the web that allows high-level languages like C, C++, and Rust to run in the browser.

Published as an official recommendation under the jurisdiction of the World Wide Web Consortium (W3C), the WebAssembly core specification, previously available in a working draft format, defines a low-level machine that closely mimics the functionality of microprocessors. The W3C core specification document describes WebAssembly 1.0.

[ Also on InfoWorld: What is WebAssembly? The next-generation web platform explained ]

WebAssembly is a portable, low-level code format geared for efficient execution and compact representation. Using just-in-time compilation, WebAssembly applications execute at nearly the speed of code compiled for a native platform.

W3C earlier this month formally published two other specifications pertaining to WebAssembly, both of which also had previously been in draft form:

  • WebAssembly Web API, which defines a Promise-based interface for executing a .wasm resource. The structure of a .wasm resource allows execution to begin before the entire resource has been retrieved, further enhancing the responsiveness of WebAssembly applications.
  • WebAssembly JavaScript Interface, offering a JavaScript API to invoke and pass parameters to WebAssembly functions. In browsers, WebAssembly’s interactions with the host environment are managed through JavaScript. This means WebAssembly relies on the JavaScript security model.

Designed to be a compilation target for any programming language, WebAssembly has the backing of all the major browser makers including Apple, Google, Microsoft, and Mozilla. WebAssembly 1.0 is available in the browser engines from all four organizations.

[ Also on InfoWorld: Why the C programming language still rules ]

WebAssembly reached minimum viable product status in March 2017, after the technology first was introduced in 2015. Looking to foster a future for WebAssembly outside the browser, Mozilla, Red Hat, Intel, and Fastly in November 2019 formed the Bytecode Alliance to collaborate on standards for the bytecode format.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

More about AppleGoogleIntelMicrosoftMozillaPromiseRed HatW3CWorld Wide Web Consortium

Show Comments
[]