Advice for the next 100 Rust GUIs linebender.org · 23 points · 1 comments · HN t...
HN Best 200 @best
Advice for the next 100 Rust GUIs linebender.org · 23 points · 1 comments · HN thread
TL;DR Raph Levien, a Linebender developer, revisits his 2022 advice for Rust GUI toolkits, arguing the ecosystem is now much more active (roughly 20 new toolkits, AI-fueled interest) and laying out where it stands on text layout, accessibility, compositing, and immediate versus retained mode. He recommends bold experimentation, solid foundations, well-defined specs, and careful work with upstream open source.
- Roughly 20 Rust GUI toolkits have been announced since the 2022 post, and interest has accelerated, partly driven by AI-assisted rewrites into Rust.
- Parley is now the text layout solution used by most new Rust UI toolkits, with Cosmic Text as an alternative; AccessKit is used by most toolkits, though accessibility performance and rich text editing remain weak spots.
- System compositor integration is still largely unsolved; the subduction library is progress but not widely integrated, and video and low-end devices make it pressing.
- Immediate mode is good for early progress but harder to scale to production needs like stable widget identity, caching, and accessibility trees; retained mode is favored for productivity and design apps.
- On mobile, a practical path is native UI with shared Rust business logic (Shopify, 1Password, Discord's mobile plan), while fully Rust mobile UI is progressing.
- Recommends separating design from execution, adapting web standards selectively (e.g., lighter tree representations, curated CSS subsets), and using Blitz, Xilem/Masonry-style modularity.
Discussion The thread is essentially empty: the story has a single comment, a positive first-hand reaction from a user who tried ArtCraft, a Rust-built app, and found it far more responsive than JavaScript-based apps. The mood is appreciative and optimistic about native Rust UIs, with the commenter looking forward to more performance analysis and usable applications.
- Rust GUIs are already fast and feel like an upgrade over JS apps (a few): The sole commenter says ArtCraft, a Rust GUI app, was more responsive and expressive than typical Electron-style JS apps. They welcome more performance analysis and practical applications.