Rune: A native GPU-rendered Rust UI framework for macOS, Windows, Linux and web ...
HN Best 30 @best30
Rune: A native GPU-rendered Rust UI framework for macOS, Windows, Linux and web github.com · 177 points · 131 comments · HN thread
TL;DR Anomaly published Rune, a pre-release Rust UI framework with its own GPU renderer, text, layout and spring animation, targeting macOS, Windows, Linux and the web. Its headline feature is headless operation so an agent can render PNGs, dump the element tree and script input, and the repo says it takes issues rather than pull requests. The HN thread (177 points, 131 comments) is mostly skeptical, centering on whether a vibe-coded framework is worth using versus established Rust GUI options and on the no-PR policy.
- Rune is a Rust UI framework with its own renderer, text, layout and springs, for macOS, Windows, Linux and the web; it is pre-release and the README asks users to pin a dev rev.
- Apps can run headless, letting an agent render to PNG, inspect the element tree and drive scripted input for self-checking.
- The example is a toggle switch built with a builder-style API (el(), .fill(), .absolute(), .on_press()) in a single view function.
- The project does not accept pull requests; contributors are asked to have an agent open an issue describing the bug or idea instead.
- Commenters noted the README and docs are written largely for agents, and that CI does not appear to run the tests on the dev branch, though some tests exist in crates/rune-kit/tests.
- Commenters questioned the term 'native' since the framework draws its own widgets rather than using OS controls, and asked about accessibility, internationalization and no-GPU fallback, which the thread did not answer.
Discussion The thread is largely critical. Many commenters argue that the project is vibe-coded and questionable as a serious library, and compare it with established Rust GUI frameworks like egui, Iced, Slint, GPUI and Dioxus Native, using a crates.io download list posted early on. A second strand debates what 'native' means, and whether a GPU-rendered custom-widget toolkit deserves that label. A long sub-thread argues over whether Slint's DSL makes it a real Rust library. The no-pull-request policy draws both concern about trust and disappointment for would-be contributors, plus some defenses of the maintainers' right to decide. Some commenters find the headless agent testing interesting and wish native toolkits would copy it, while a few are simply dismissive.
- Vibe-coded project, not worth using over established frameworks (most): Many commenters see Rune as AI-generated slop with thin docs and little maturity, and prefer egui, Iced, Slint, GPUI or Qt. Several cite prior frustrations with those alternatives too.
- Real native UI means OS widgets; 'native' is misused here (many): Several argue that a custom-rendered toolkit is not native, and that the term has drifted to mean 'not a webview'. Others counter that native means native to the host graphical environment.
- No-PR policy is a bad sign for contributors and trust (some): Commenters worry that the issue-only approach shuts out hand-written contributions and makes stability and security harder to ensure, though others see it as a reasonable response to slop PRs.
- Headless agent rendering and introspection is a useful idea (some): Some commenters like being able to render and inspect UIs headlessly, and wish SwiftUI or UIKit offered similar tooling; one notes SwiftUI can already render offscreen.
- Native-quality GPU UIs are feasible with the right text stack (a few): A commenter who built a GPU-rendered framework described rendering a whole UI in one shader call, and another said sharp text is achievable in Rust GUIs with native text libraries or Skrifa plus Vello.
- Tests and CI absence is a concern (a few): Some noticed tests are not run in CI on the dev branch, while others said tests do exist, so the point was disputed.
Links from the comments
- egui on crates.io, the most-downloaded alternative in the list posted in the thread
- Blitz, a lightweight HTML/CSS browser engine that the Dioxus maintainer is building
- Slint author's post explaining why they chose a DSL over imperative UI code
- Rune's PLAN.md, which a commenter says outlines moving the desktop app from Electron to Rune
- Crux, offered as an alternative that uses actual native UI with a shared Rust core
#rust #gui #uiFramework #gpuRendering #llmDevelopment #openSource