Conceptual
Login

WebAssembly Linear Memory

Wasm code addresses one contiguous, resizable byte array via integer offsets; every load/store is bounds-checked (often via guard pages) and nothing outside it is reachable. This sandbox is why Wasm is safe, and why all data exchange with the host reduces to reading and writing bytes in this array.

This Concept is waiting for its first lesson!

Wasm code addresses one contiguous, resizable byte array via integer offsets; every load/store is bounds-checked (often via guard pages) and nothing outside it is reachable. This sandbox is why Wasm is safe, and why all data exchange with the host reduces to reading and writing bytes in this array.

Are you a teacher? Sign in to start contributing.

Sign In