WebAssembly 1.0 and core specification arrive

WebAssembly 1.0 and core specification arrive

0
154





WebAssembly 1.0 and core specification arrive | InfoWorld










, 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++, and to run in the browser.

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

[ ]

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:

  • , 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.
  • , 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.

[ ]

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