Write once, run everywhere: building apps with Dioxus
summary
Dioxus is a Rust UI toolkit that compiles one codebase to web, desktop, mobile and terminal using an RSX macro and a virtual DOM, with live demos showing a Discord‑like app running in release and a tiny app running on iOS and web. It implements a use_state hook, batches DOM mutations, uses bump allocators for steady memory, and string interning via Sledgehammer to beat vanilla JS at wasm crossings. Hot reloading updates markup without a full Rust recompile; a production app has ~900 dependencies.
AI-written summary · about
chapters (9)
- 0:00Start
- 6:37Play Into Rust's Strengths
- 9:46Dioxus uses a VirtualDOM
- 31:38Batched Mutations
- 34:36Bump allocator for state
- 36:08Template-based architecture
- 37:25Templates architecture
- 37:43Autoformatting of RSX
- 38:46Hot-reloading of RSX
related talks
29m"High-Level Rust and the Future of Application Development"
01h 00mThe Future of Rust Web Applications
49mThe State of Rust Ul
50mHow Rust makes Oxide possible
36mWeb development with Rust, is it ready? Is it even useful?
31mThe Fullest Stack
29m"10 Years of Redox OS and Rust"
27mThe State of Rust Web Frameworks: Pros, Cons & Use Cases
