Think About Front-end Web Development with Rust
summary
Claim: building front ends with Rust via Webassembly is now practical but incomplete. Demonstrations show embedding Rust into JS packages with wasm-pack and interop via wasm-bindgen/js-sys/web-sys, full apps with component frameworks like Yew and isomorphic SSR with Percy that render on server and hydrate in browser. Agents use WebWorkers to move work off the main thread. Remaining gaps: Custom Elements inheritance via wasm-bindgen is unresolved, CSS tooling and multithreading in browsers lag JavaScript ecosystems, and ergonomics and ecosystem depth are still smaller.
AI-written summary · about
chapters (15)
- 0:00Rust in front-end
- 1:07Front-end architecture evolution
- 3:12Why Rust excels with WebAssembly
- 5:37Modern front-end frameworks
- 8:22Rust front-end frameworks
- 10:04Counter app with Yew
- 13:00Single-threaded front-end challenges
- 14:57Offloading tasks with Yew Agents
- 16:29CSS issues in Rust front-end
- 18:29CSS approaches in Rust
- 18:56Benefits of Server Side Rendering
- 20:40SSR and Jamstack future
- 21:31WebComponents with Rust
- 23:08Micro frontends with Rust
- 24:16Conclusion
related talks
24m"Web Sites, Web Apps, and Web Assembly"
44mOut of the JavaScript Box: Front-End Rust Programming
01h 00mThe Future of Rust Web Applications
41mLet's build with WebAssembly!
30mRust in the Browser for Javascripters:New Frontiers,New Possibilities
41mCreating High-Performance Web Apps with WebAssembly
44mWhy you should consider WebAssembly in your next frontend project
47mRewrite the web with Rust and Web Assembly
