Rune: A native GPU-rendered Rust UI framework for macOS, Windows, Linux and web ...
HN Best 200 @best
Rune: A native GPU-rendered Rust UI framework for macOS, Windows, Linux and web github.com · 59 points · 36 comments · HN thread
TL;DR Rune is a pre-release Rust UI framework from Anomaly that draws its own GPU-rendered widgets, text, layout and springs for macOS, Windows, Linux and the web. Its headline feature is that every app can run headless, letting an agent render PNGs, dump the element tree and send scripted input. The repo's README pitches it as agent-friendly and says the project does not accept pull requests, only issues.
- Rune targets macOS, Windows, Linux and the web with its own renderer, text stack, layout and spring animations rather than OS widgets.
- Apps can run headless so an agent can render to PNG, inspect the element tree and drive the UI with scripted input.
- The example is a toggle switch built with a fluent Rust builder API (el(), text(), key(), role(), on_press, motion).
- The project is pre-release; the README recommends pinning a git rev of the dev branch, which is never rewritten.
- Contributions are taken via issues rather than pull requests; the maintainers say their agents usually fix issues quickly.
- Licensed MIT.
Discussion The thread is a sceptical, argumentative mix of questions and criticism. Commenters pick at the word "native" given the framework draws its own widgets, question accessibility, internationalization and GPU-less fallback, and suspect the code was largely AI-generated. The no-PR policy and the claim that tests are absent or not run in CI draw a lot of comment, and a few people are curious about the headless agent-driven workflow. Tone is mostly skeptical with some curiosity, and the thread rarely gets into the code itself.
- "Native" is misleading; this is not native UI (many): Several commenters argue native means using OS widgets, so a custom GPU-drawn framework doesn't qualify. Others guess the word just means "not Electron".
- Looks like vibe-coded, AI-generated slop (some): One commenter calls it a vibe-coded framework with code smells and no tests, pointing at the README as likely unread generated docs. Others note AI-built Rust libraries are often sold on being non-Electron.
- Zero or missing tests is a serious problem (some): Commenters note the commit history shows little testing and that the existing tests in crates/rune-kit are not run in CI. Others reply that tests should be run locally before merging, which is a form of shifting CI left.
- Headless agent-driven rendering is valuable (some): Commenters find the headless PNG and element-tree approach cool and hope SwiftUI or UIKit adopt similar ideas, though one notes agents can already screenshot and drive apps.
- Issue-only contributions are a clever gate against bad code (a few): Some see gating on issues as easier to police than gating on PRs, since malicious code is harder to hide in an issue. Others worry that agent-implemented issues could be used to steer toward vulnerabilities.
- Unclear why build this instead of egui, GPUI or iced (a few): Commenters ask how it compares to GPUI and other Rust UI frameworks, with one citing a reported claim that GPUI couldn't look good enough, and question the need for yet another framework.
Links from the comments
- Commit history cited as evidence of few or no tests.
- Test directory pointed to as proof tests exist, though not run in CI.
- Crate README that a commenter says looks like unread generated documentation.
- GPUI, the comparison framework asked about.
- egui web demo, which commenters found slow to load.
#rustUI #gpuRendering #crossPlatform #aiGenerated #headlessTesting #opensource