Advice for the next 100 Rust GUIs

205 points · 93 comments on HN · read original →

Points and comments are a snapshot, not live.

Rust GUIs are gaining traction, but fragmented approaches and AI rewrites create new challenges.

Raph Levien updates his 2022 Rust GUI advice, noting slow adoption but rising interest fueled by AI. He argues native toolkits are complicated, especially on mobile where platforms like iOS have unique features (e.g., Liquid Glass). Text layout (Parley) and accessibility (AccessKit) infrastructure are now solid, but system compositor integration remains unsolved. He critiques immediate mode (egui) for not scaling to production-quality UI, advocating for clearly defined modules and separation of design from execution. Optimization opportunities include precomputing static parts and effective use of layers. He advises building on solid foundations and using well-defined specs.

What commenters are saying

Commenters debate immediate vs. retained mode, with some defending egui's performance and accessibility. Several suggest practical alternatives: Qt plus Rust bindings (Slint is cited as mature), Flutter with Rust via flutter_rust_bridge, or using native toolkits for UI with Rust for business logic. A minority dismiss language debates as irrelevant with AI, arguing performance differences are negligible for most apps.