← All Workshops

MudEngine Part 1: Requirements

Step 6 / 19

Where does WASM sit in the browser?

The diagram below shows how Rust code flows through the toolchain into a WASM module and how that module lives inside the browser alongside the JavaScript engine, the DOM, and the rendering APIs.

"🌐 Browser Runtime" "WebAssembly Runtime" "🖥️ Development" "import/export" Rust Source main.rs Cargo + rustc LLVM Backend .wasm Binary Stack-machine bytecode WASM Module wasm32-unknown-unknown Linear Memory Contiguous byte array Function Table Indirect calls JavaScript Engine V8 / SpiderMonkey DOM API web-sys Canvas / WebGL GPU pipeline Web APIs fetch / WebSocket
🎯 Target triple breakdown
PartValueMeaning
archwasm3232-bit WebAssembly instruction set
vendorunknownNo specific hardware vendor
osunknownNo underlying OS — runs on WASM runtime directly
Step 6 / 19