Advice for the next 100 Rust GUIs
In a post on the Linebender blog, Raph Levien updates the advice he gave for Rust GUIs 4.5 years ago. He says the reasons to build GUI apps in Rust still hold: many apps are slow, especially those built on cross-platform technology such as Electron, and RAM remains expensive. Few flagship apps use Rust for their UI so far. The Zed editor is built on its own GPUI framework, and the author says GPUI is emerging as a major choice for AI-driven rewrites, most notably at Discord.
On desktop, Windows still has no clear native choice. On mobile, an extremely viable path is to use the native toolkit for the UI and write common business logic in Rust, as Shopify did after abandoning React Native. Text layout is largely solved thanks to Parley, and AccessKit is used by most UI toolkits. The system compositor[1], which would let video play in a hardware-accelerated layer, is still an unsolved problem.
The author argues that the choice between immediate mode[2] and retained mode[3] reflects different application needs. Immediate mode is simpler and works well for the first 90% of a task, such as game development tools, but he is concerned it scales poorly. He predicts a small explosion of experiments with many different approaches.
Read the original linebender.orgDiscussion
Discussion
Commenters on Hacker News and Lobsters point to alternatives: Slint, which uses Skia for rendering, Native Shell (nsh) built on gpui-fast, Flutter with flutter_rust_bridge, and Qt with C++ code for the UI. One commenter questioned the evidence for the claim that writing Rust with an LLM costs no more than other languages, saying the linked article found little support for it.
Links from the post and discussion
Sources
-
Linebender
Advice for the next 100 Rust GUIs
-
KRGeekNews KO
앞으로 나올 100개의 Rust GUI를 위한 조언


