October 31, 2020
  • Home
  • NEWS
  • W3C publishes the basic specification of WebAssembly 1.0

W3C publishes the basic specification of WebAssembly 1.0

By on December 19, 2019 0 333 Views

The publication by W3C of the specifications for WebAssembly version 1.0 indicates that the web platform, previously available in draft version, now allows high-level languages such as C, C++, and Rust to be run in the browser. This World Wide Web standard for the development of binary format applications has a reputation for significantly improving the performance of Web applications.

The official document published by the World Wide Web Consortium (W3C) defining the basic specification of WebAssembly states that WebAssembly 1.0 is a low-level machine that accurately simulates the function of microprocessors. WebAssembly is a low-level portable code format that combines efficient performance with compact representation. Using JIT (Just-In-Time) compilation, WebAssembly applications run at a speed close to that of the code compiled for a native platform.

Earlier this month, the W3C officially delivered two other WebAssembly specifications, both of which were still in draft form:

– WebAssembly Web API: it defines a Promise based interface to run a.wasm resource. The structure of a.wasm resource allows you to start execution before the entire resource has been retrieved, further improving the responsiveness of WebAssembly applications

– WebAssembly JavaScript Interface: This JavaScript API allows you to call and transmit parameters to WebAssembly functions. In browsers, WebAssembly’s interactions with the host environment are managed by JavaScript. This means that WebAssembly is based on the JavaScript security model.

Designed as a compilation target for any programming language, WebAssembly is supported by leading browser vendors including Apple, Google, Microsoft, and Mozilla. WebAssembly 1.0 is available in the browser engines of these four providers.

The technology, first introduced in 2015, has been considered viable since March 2017.

To ensure a future for WebAssembly outside the browser, Mozilla, Red Hat, Intel and Fastly created the Bytecode Alliance in November 2019 to collaborate on bytecode standards.

  NEWS
Leave a comment

Your email address will not be published. Required fields are marked *