WebAssembly


Also found in: Dictionary, Medical, Acronyms.

WebAssembly

An intermediate bytecode language that is used to replace various JavaScript routines in Web pages for increased performance. Introduced in 2015 by the W3C, WebAssembly (WASM) allows programmers to write in their preferred language. There are compilers for C/C++, Rust, C#, Java and Python that generate WASM bytecode. Compilers for other languages are also expected.

WebAssembly is more efficient than JavaScript because the pre-compiled bytecode is smaller and downloads faster. In addition, bytecode interpreters execute faster than source code interpreters that have to analyze (parse) long text strings. See bytecode.

Built Into Every Web Browser
WebAssembly provides operations at the machine level, which enables developers to do things that were never defined in the high-level JavaScript language. Just as a JavaScript interpreter was part of every Web browser for more than two decades, by the end of 2017, a WASM interpreter was included in the latest versions of Edge, Chrome, Firefox and Safari. See JavaScript and interpreter.
References in periodicals archive ?
The world of technology will not remain the same with the use of WebAssembly and hence, in order to prevent Pakistan from lagging behind, Khan has begun such classes with the purpose of educating and training students about the concepts that can take our country in a position to compete with the world.
They attended the lecture delivered by Khan on the use of WebAssembly.
There is now broad agreement within the W3C WebAssembly group on the initial version's draft, said Luke Wagner, a Mozilla engineer on the WebAssembly team.
Already, a 3D library called Dracohas been released by Google that uses WebAssembly. Used for compressing and decompressing 3D geometric meshes and clouds, Draco features a WebAssembly decoder for better performance.