Fast Rust to WASM development workflow

This post describes a simple and minimal workflow for developing Rust apps targetting WASM and running them on the browser with minimal iteration time. The official guides for working with Rust and WebAssembly are great (Rust and WebAssembly, The wasm-bindgen Guide), but they really railroad you into a setup where on top of Cargo you need npm, wasm-pack and webpack. You haven’t even run anything yet and you have two package managers and two bundlers! ...

30 May 2022 · 4 min · Daniel Coelho