Learnable Programming with Rust
summary
Shows a working approach that compiles Rust snippets to WebAssembly so code runs in the browser with a run-button playground connected to mocked services (tokio + mini-redis examples), demonstrates stepwise execution with a slider and recorded state, and uses logging/tracing redirected to the page. Describes a compile-to-WASM service (Docker image + frontend) and notes one CPU VM handles hundreds of thousands of compilation requests per day. Explains dependency linking via multiple WASM modules and the memory-copy limitation that still needs automation.
AI-written summary · about
chapters (23)
- 0:00Intro
- 0:17Learnable Programming with Rust
- 0:27What is learnable programming?
- 0:46Show the state of a program
- 0:58Lowering barriers
- 4:07How it works
- 4:41Enhance documentation
- 5:46What about dependencies?
- 6:00Rust Playground is limited
- 6:59WebAssembly to save the day
- 7:17So what about compatibility?
- 7:50Mocks & stubs make it easy
- 8:43Feature flags or auto-mocking
- 9:21Visualize state
- 11:06Highlight context
- 16:53How to implement it?
- 17:14Infrastructure
- 17:40Is it scalable?
- 18:27Dependencies are hard
- 19:01There's no linking for WebAssembly
- 21:06What's next?
- 22:15Make it automatic
- 22:30Join the development!
related talks
30mRust and the Web Platform: A Rookie’s Guide
01h 02mRust and WebAssembly
13mRust and WebAssembly
47mRewrite the web with Rust and Web Assembly
46mA State Of WebAssembly - The Browser is now a real VM
44mOut of the JavaScript Box: Front-End Rust Programming
37mWebAssembly with Rust
28mCode Anywhere, Share Everywhere: Wasm-Powered Dev Environments
