Advice for the next 100 Rust GUIs

Rust’s growing ecosystem of GUI toolkits is drawing both excitement and skepticism, with many praising the responsiveness of projects like egui-based apps while lamenting fragmentation and the lack of a few mature, unified options. Commenters weigh trade-offs between immediate-mode and retained-mode UIs, GPU vs CPU rendering, and native vs webview-based approaches, often grounding arguments in performance, resource usage, and accessibility on real-world hardware (including low-end and GPU-less systems). There is also debate over whether Rust is actually a good fit for UI work compared to established stacks like Qt, Flutter, or platform-native frameworks, and how AI-generated code may lower the barrier to experimenting with or switching between these choices.

State of the Rust GUI Ecosystem

  • Many feel Rust GUIs are “catching up” and clearly faster than JS/Electron apps, but still immature compared to long‑standing toolkits.
  • egui is often cited as the most mature Rust GUI today; GPUI and others are seen as promising but incomplete.
  • Some expected more “professional” Rust UI options by now; others point to very new projects (e.g., Native Shell) moving rapidly.

Toolkits & Integration Strategies

  • Approaches mentioned:
    • Pure Rust: egui, Slint, Iced, Dioxus, GPUI, Bevy + egui, custom engines.
    • Rust + native toolkit: Qt via C++ or bridges, Flutter + rust-bridge, Tauri (WebView + Rust), Cocoa/Windows-native, D3D/OpenGL/Vulkan pipelines.
  • Some advocate Qt + Rust bindings as the most mature cross‑platform route; others say Qt’s OO model fits Rust poorly and bindings are lacking.

Immediate vs Retained Mode GUIs

  • Immediate-mode proponents:
    • Report excellent responsiveness in tools like ArtCraft and egui apps.
    • Argue that with caching and smart redraws, immediate-mode scales, and complexity in retained-mode (diffing, change tracking) is worse.
  • Critics:
    • Say immediate-mode tends toward full rerenders, which impacts power, performance, and large/complex UIs.
    • Point out accessibility, stable widget identity, complex text layout, and incremental updates are easier in retained or hybrid designs.
  • Some argue hybrids (immediate description + retained data structures/caches) are the practical end state.

Rendering, GPU, and Performance

  • Disagreement on how critical GPU use is:
    • One side: GPU is essential for smooth video, 3D, high‑DPI, and battery efficiency; CPU‑only is not viable at 4K/120Hz.
    • Other side: CPU rendering can be surprisingly fast for typical GUIs; GPU adds shader compile cost, driver issues, and higher RAM.
  • Benchmark anecdotes show large differences in memory use between frameworks (Slint, Qt Widgets/QML, egui, Electron), but numbers and measurement methods are debated.
  • Embedding video or 3D views inside UIs is considered hard; many Rust toolkits either don’t support it well or require giving up native text/IME/a11y.

Rust as a UI Language & Role of AI

  • Some say Rust’s safety/performance is overkill for UI; languages like C++, Swift, Kotlin with mature toolkits are more practical.
  • Others counter that AI reduces the cost of Rust’s complexity, making Rust more viable even for UI-heavy code.
  • Skeptics argue AI doesn’t remove Rust’s semantic/borrow‑checker constraints and that Rust is “swimming upstream” for many GUI problems.

Slint-Specific Discussion

  • Praised for maturity, speed, tooling, and Qt‑alumni backing; criticized for resource usage in simple examples and for commercial/embedded licensing.
  • Team members clarify it’s open source and free for desktop/mobile, with focus on embedded and certifications as the business moat.

Fragmentation & Stability

  • Concern that there are too many experimental Rust GUI projects and few “canonical” choices.
  • Some prefer a small number of robust, long‑term toolkits over “the next 100 GUIs,” especially for industrial or long‑lived applications.