Chapter 3: Exploring WebAssembly Modules

WebAssembly is a low-level assembly-like code that is designed for efficient execution and compact representation. WebAssembly runs at a near-native speed in all JavaScript engines (including modern desktop and mobile browsers and Node.js). Compact representation of the binary enables the generated binary to be as small as possible in size.

Note

The main goal of WebAssembly is to enable high-performance applications.

Each WebAssembly file is an efficient, optimal, and self-sufficient module called a WebAssembly module (WASM). WASM is safe, that is, the binary runs in a memory-safe and sandboxed environment. WASM does not have permission to access anything outside of that sandbox. WASM is language-, hardware-, ...

Get Practical WebAssembly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.