RustWasm
Learn Rust + WebAssembly by doing
Interactive lessons and a safe browser-based playground to master Rust and WebAssembly — from basics to real-world applications.
Interactive Lessons
Hands-on lessons organized by difficulty and topic. Learn at your own pace with real code examples.
Safe Playground
Run Rust → Wasm code directly in your browser. Sandboxed execution keeps everything safe and fast.
Real-World Examples
Build APIs, simulations, cryptography tools, and more — practical projects you can use today.
hello.rs
use wasm_bindgen::prelude::*; #[wasm_bindgen] pub fn greet(name: &str) -> String { format!("Hello, {}!", name) }