Percy: Isomorphic Web Apps with Rust + WebAssembly
summary
Percy is a Rust toolkit that actually compiles to WebAssembly and supports serverside rendering with initial State JSON for client rehydration. It generates UI from an HTML macro into a virtual DOM diff producing patch vectors that apply concrete DOM mutations via wasm-bindgen, uses wasm-bindgen-test to run real-browser tests, and provides a CSS macro that emits classes into a file at compile time. Router type checks path parameters to u32/string, the demo compiles and runs in-browser but the author flags some parts as still experimental and a bit verbose.
AI-written summary · about
chapters (9)
- 0:00Start
- 3:30Real World Driven Development
- 6:56Virtual DOM - diffing
- 8:23Virtual DOM - patching
- 9:17Integration testing Percy core
- 10:31Unit Testing your Percy Apps
- 17:14Type Safe Routing
- 17:39Longer term goals
- 19:28Contributing
related talks
25mThink About Front-end Web Development with Rust
47mRewrite the web with Rust and Web Assembly
24m"Web Sites, Web Apps, and Web Assembly"
41mCreating High-Performance Web Apps with WebAssembly
30mRust and the Web Platform: A Rookie’s Guide
01h 00mThe Future of Rust Web Applications
30mRust in the Browser for Javascripters:New Frontiers,New Possibilities
41mLet's build with WebAssembly!
