~/talk

Write once, run everywhere: building apps with Dioxus

Talkat RustNL 2023 · on Wednesday, 2023-05-10· [rust, frontend-architecture]
slides:none on file

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

  1. 0:00Start
  2. 6:37Play Into Rust's Strengths
  3. 9:46Dioxus uses a VirtualDOM
  4. 31:38Batched Mutations
  5. 34:36Bump allocator for state
  6. 36:08Template-based architecture
  7. 37:25Templates architecture
  8. 37:43Autoformatting of RSX
  9. 38:46Hot-reloading of RSX
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.