> Documentation index: https://web.dev/explore/llms.txt

![](http://web.dev/static/explore/webassembly/cover.png)

### WebAssembly

Enable high-performance applications on web pages.

## Overview

WebAssembly (sometimes abbreviated Wasm) defines a portable binary-code format and a corresponding text format for executable programs and software interfaces for facilitating interactions between such programs and their host environment.

The main goal of WebAssembly is to enable high-performance applications on web pages, *"but it does not make any Web-specific assumptions or provide Web-specific features, so it can be employed in other environments as well"* , according to the [spec](https://webassembly.github.io/mutable-global/core/intro/introduction.html#:~:text=but%20it%20does%20not%20make%20any%20Web%2Dspecific%20assumptions%20or%20provide%20Web%2Dspecific%20features%2C%20so%20it%20can%20be%20employed%20in%20other%20environments%20as%20well).

It is an open standard and aims to support any language on any operating system, and in practice all of the most popular languages already have at least some level of support.

### Introduction

-

  #### [What is WebAssembly and where did it come from?](http://web.dev/articles/what-is-webassembly.md.txt)

-

  #### [Compiling mkbitmap to WebAssembly](http://web.dev/articles/compiling-mkbitmap-to-webassembly.md.txt)

### Emscripten

-

  #### [Drawing to canvas in Emscripten](http://web.dev/articles/drawing-to-canvas-in-emscripten.md.txt)

-

  #### [Emscripten's embind](http://web.dev/articles/embind.md.txt)

-

  #### [Embedding JavaScript snippets in C++ with Emscripten](http://web.dev/articles/emscripten-embedding-js-snippets.md.txt)

-

  #### [Emscripten and npm](http://web.dev/articles/emscripten-npm.md.txt)

-

  #### [Scaling multithreaded WebAssembly applications with mimalloc and WasmFS](http://web.dev/articles/scaling-multithreaded-webassembly-applications.md.txt)

### Coding with WebAssembly

-

  #### [Using WebAssembly threads from C, C++, and Rust](http://web.dev/articles/webassembly-threads.md.txt)

-

  #### [WebAssembly feature detection](http://web.dev/articles/webassembly-feature-detection.md.txt)

-

  #### [Loading WebAssembly modules efficiently](http://web.dev/articles/loading-wasm.md.txt)

-

  #### [Using asynchronous web APIs from WebAssembly](http://web.dev/articles/asyncify.md.txt)

-

  #### [WebAssembly Garbage Collection (WasmGC)](https://developer.chrome.com/blog/wasmgc/)

### WebAssembly debugging

-

  #### [Debugging WebAssembly with modern tools](https://developer.chrome.com/blog/wasm-debugging-2020/)

-

  #### [Debugging WebAssembly faster](https://developer.chrome.com/blog/faster-wasm-debugging/)

-

  #### [WebAssembly memory inspection](https://developer.chrome.com/docs/devtools/memory-inspector/#wasm)

-

  #### [Debugging memory leaks in WebAssembly using Emscripten](http://web.dev/articles/webassembly-memory-debugging.md.txt)

### WebAssembly in practice

-

  #### [WebAssembly performance patterns for web apps](http://web.dev/articles/webassembly-performance-patterns-for-web-apps.md.txt)

-

  #### [Compiling to and optimizing Wasm with Binaryen](http://web.dev/articles/binaryen.md.txt)

-

  #### [New functionality for developers---brought to you by WebAssembly](http://web.dev/articles/wasm-libraries.md.txt)

-

  #### [SQLite Wasm in the browser backed by the Origin Private File System](https://developer.chrome.com/blog/sqlite-wasm-in-the-browser-backed-by-the-origin-private-file-system/)

-

  #### [Replacing a hot path in your app's JavaScript with WebAssembly](https://developer.chrome.com/blog/hotpath-with-wasm/)

-

  #### [Emscripting a C library to Wasm](http://web.dev/articles/emscripting-a-c-library.md.txt)

-

  #### [Extending the browser with WebAssembly](http://web.dev/articles/wasm-av1.md.txt)

### WebAssembly case studies

-

  #### [Build in-browser WordPress experiences with WordPress Playground and WebAssembly](http://web.dev/articles/wordpress-playground.md.txt)

-

  #### [Porting USB applications to the web. Part 1: libusb](http://web.dev/articles/porting-libusb-to-webusb.md.txt)

-

  #### [Porting USB applications to the web. Part 2: gPhoto2](http://web.dev/articles/porting-gphoto2-to-the-web.md.txt)

-

  #### [How we're bringing Google Earth to the web](http://web.dev/articles/earth-webassembly)

### Podcast 🎧

-

  #### [WasmAssembly: Your monthly podcast to geek out about all things WebAssembly](https://wasmassembly.libsyn.com/)