flâneur — a map of the web's best reading

A Mere Mortal's Guide to Webassembly

uptointerpretation.com · 3,341 words · saved by 1 readers

Let’s learn some WebAssembly. This guide is intended if you plan on getting nice and intimate with WebAssembly, whether that means writing a back-end for a compiler, hand writing WASM or inspecting the output of an existing compiler. It’s not really that if you’re just using Rust/C/whatever compiled to WebAssembly. I wrote this guide because I’ve spent a lot of time trying to understand the WebAssembly specification for my own projects. it’ll make other people’s attempts a little easier. WebAssembly is a low level that can be run in various contexts such as a web , a server side , and so on. It’s intended to be a fast, sandboxed target. While it is low level, it’s not quite as low level as regular assembly. WebAssembly has some quite high level features such as structured control flow, functions, etc. while lacking low level features such as registers, arbitrary jumps, etc. WebAssembly is a stack based . What that means is that computations occur by manipulating a stack data struc

A Mere Mortal's Guide to Webassembly Sep 22, 2021 Let’s learn some WebAssembly. This guide is intended if you plan on getting nice and intimate with WebAssembly, whether that means writing a back-end for a compiler, hand writing WASM or inspecting the output of an existing compiler. It’s not really that useful if you’re just using Rust/C/whatever compiled to WebAssembly. I wrote this guide because I’ve spent a lot of time trying to understand the WebAssembly specification for my own projects. Hopefully it’ll make other people’s attempts a little easier. Basics WebAssembly is a low level langua

Explore this link on the map →

related reading