WebAssembly (Wasm) defines a portable binary code format and a corresponding text format for executable programs and software interfaces for facilitating communication between such programs and their host environment. The main goal of WebAssembly is to facilitate high-performance applications on web pages, but it is also designed to be usable in non-web environments. It is an open standard intended to support any language on any operating system, and in practice many of the most popular languages already have at least some level of support. Announced in 2015 (2015) and first released in March 2017 (2017-03), WebAssembly became a World Wide Web Consortium (W3C) recommendation on 5 December 2019 and it received the Programming Languages Software Award from the Association for Computing Machinery (ACM) SIGPLAN in 2021. The W3C maintains the standard with contributions from Mozilla, Microsoft, Google, Apple, Fastly, Intel, and Red Hat.
History The name "WebAssembly" is intended to suggest bringing assembly language programming to the World Wide Web, where it will be executed client-side, by the website-user's computer via the user's web browser. To accomplish this, WebAssembly must be much more hardware-independent than a true assembly language. WebAssembly was first announced in 2015, and the first demonstration was executing Unity's Angry Bots in Firefox, Google Chrome, and Microsoft Edge [Legacy]. The precursor technologies were asm.js from Mozilla and Google Native Client, and the initial implementation was based on the feature set of asm.js. In March 2017, the design of the minimum viable product (MVP) was declared to be finished and the preview phase ended. In late September 2017, Safari 11 was released with support. In February 2018, the WebAssembly Working Group published three public working drafts for the Core Specification, JavaScript Interface, and Web API. The MVP was focused on low-level languages such as C and C++, with the intent to add features useful for high-level languages in a future version. Multithreading is currently a draft, but has been supported by Chrome since version 75 in June 2019, Firefox version 79, and Safari version 14.1 The WebAssembly 2.0 specification was finished in 2022 and became a W3C standard in December 2024. It adds many single instruction, multiple data (SIMD) related instructions and a new v128 datatype, with the ability for functions to return multiple values, mass memory initialize/copy instructions, and reference types, which are opaque pointers to objects outside of the linear memory. WebAssembly 3.0 was released in September 2025. New features include a 64-bit address space, multiple address spaces, exception handling, relaxed SIMD, and garbage collected struct and array types. Support for garbage collection enables more efficient compiling for high-level languages, but WasmGC from WebAssembly 3.0 lacks the abilities needed by .NET runtime.
Implementations While WebAssembly was initially designed to permit near-native code execution speed in the web browser, it has been considered valuable outside of such, in more generalized contexts. A WebAssembly runtime environment is a low-level virtual stack machine, akin to JVM or Flash VM; it can be embedded into any host application, and thus there have been created standalone WebAssembly runtime environments, including Wasmtime , WebAssembly Micro Runtime , Wasmer , WasmEdge and wazero . WebAssembly runtime environments are embedded in application servers to host "server-side" WebAssembly applications and in other applications to support plug-in-based software extension architectures, e.g., WebAssembly for Proxies (Proxy-Wasm) which specifies a WebAssembly-based application binary interface (ABI) to extend proxy servers.
Web browsers In November 2017, Mozilla declared support "in all major browsers", after WebAssembly was enabled by default in Edge [Legacy] 16. This support also includes mobile web browsers for iOS and Android. As of March 2024, 99% of tracked web browsers support WebAssembly (version 1.0), more than for its predecessor asm.js. For some extensions, from the 2.0 draft standard, support may be lower, but still more than 90% of web browsers may already support, e.g. the reference types extension.
Non-browser runtimes Non-browser WebAssembly runtimes include Wasmer, Wasmtime, WAMR, WAVM, wasm3, and others. These systems execute precompiled Wasm modules and often provide additional APIs for embedding WebAssembly in different environments. Use cases for wasm outside the browser include plug-in interfaces and lightweight virtualization.
Compilers WebAssembly implementations generally use either ahead-of-time (AOT) or just-in-time (JIT) compiling, though some may also use an interpreter. While the first implementations appeared in web browsers, there are now many non-browser implementations for general-purpose use.
Compiler toolchains Because WebAssembly executables are precompiled, a variety of programming languages can target Wasm. Compiling is done either through direct output to Wasm or via intermediate virtual machines implemented in Wasm. Notable toolchains include:
Emscripten, which compiles C and C++ to Wasm using Clang as a frontend, Binaryen as an optimizer, and can also target any LLVM-supported language. Standalone Clang (version 8 and later), which supports direct compiling to Wasm. LLVM-based workflows for languages such as Rust and AssemblyScript.
Language support As of 2021, around 40 programming languages support WebAssembly as a compiling target. Examples include:
C and C++: via Emscripten or Clang standalone. Rust: via rustc with Wasm target. AssemblyScript: a TypeScript-like language compiling directly to Wasm. Go: native WebAssembly support introduced in Go 1.11. .NET languages: C# (via Blazor), F# (via Bolero and Blazor). Python: implementations such as Pyodide. Java and Java virtual machine (JVM) languages: via CheerpJ, JWebAssembly, and TeaVM. Kotlin: direct Wasm compiling support. Haskell: supported via Glasgow Haskell Compiler (GHC) backend. Julia: community implementations. Ruby: supported through MRuby. Ring: supported with Wasm backend. Dart: supported WebAssembly as a compiling target when building Dart and Flutter applications for the web. Scheme: GNU Guile via Hoot.
… excerpt ends here. Continue reading the full article.

