News for hackers. Stuff that matters.
Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by bryanlarsen on Friday November 06, 2026 @02:33PM (#50397215)
IMO, the top GUI framework crates for Rust are windows or native-windows-gui, and objc2 or icrate and gtk4-rs for Linux only. Actually for MacOS / iOS I'd use uniffi to embed the rust core in a SwiftUI app.

In 2026 IMO it's much better to use an LLM to keep 3 separate native front ends in sync than it is to try and use any sort of cross platform UI.

Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by treyd on Friday November 06, 2026 @02:35PM (#50397251)
There's also relm4 which builds a Elm-like paradigm on top of gtk4-rs.
Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by tadfisher on Friday November 06, 2026 @02:47PM (#50397414)
An advantage of this approach is that everyone's screen readers and other accessibility tools actually work with your app.
Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by kleeklee on Friday November 06, 2026 @03:09PM (#50397712)
Keeping 3 separate native front ends in sync with custom visual components means you end up building a cross-platform UI. The only apps you can build without custom components are trivial ones.
Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by bryanlarsen on Friday November 06, 2026 @03:19PM (#50397867)
All 3 have a way of embedding webviews. In my perhaps limited experience, all desire for custom visual components are either specious or for read-only presentation views. In my opinion all controls should be native, but if you ask for a fancy data presentation I have no qualms reaching for a webview.
Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by simonask on Friday November 06, 2026 @04:28PM (#50398772)
> perhaps limited experience

New rule: Programmers with limited UI experience (that includes myself) should abstain from weighing in on what UI designers and programmers need.

Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by jasomill on Friday November 06, 2026 @04:56PM (#50399036)
So long as the web views provide for accessibility (and thus UI automation), this sounds perfectly reasonable for the majority of applications.

Speaking of which, my dream is an "HTML light" standard with a subset of functionality specifically designed for local UI use, ideally with lightweight non-browser engines supporting this standard shipping with all major OS platforms as shared system components.

We had browsers that ran on systems with 8 MB RAM, after all, and while it's not a fair comparison, there's no technical reason why a system with three orders of magnitude more RAM should struggle to run more than a handful of applications merely because they use HTML and JavaScript for rendering.

Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by nicoburns on Friday November 06, 2026 @04:59PM (#50399068)
I am building such a lightweight browser engine: https://github.com/dioxuslabs/blitz. It targets most of HTML/CSS, but leaves out (or makes optinal) a lot of the extra stuff that browsers pull in). It also has the option to use Rust instead of JavaScript for the scripting layer.

Though 8 MB RAM is a non-starter when a single RGBA texture @4k is ~30Mb and modern system often require 2 or 3 for buffering. Somewhere around the 60MB to 100MB mark seems to be the base for modern setups, at least on macOS.

Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by nextaccountic on Friday November 06, 2026 @08:18PM (#50400669)
rather than gtk4-rs maybe try relm4
Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by the__alchemist on Friday November 06, 2026 @09:13PM (#50400996)
Could you please explain why? For example: Is it colors? A je-ne-sais-quoi? Widget rounding size and fonts? Performance reasons? Keyboard shortcuts? Do you really find it's easier to maintain 3 separate frontends using an LLM than using EGUI, GPUI, QT etc?

I have seen this suggestion several times recently regarding GUI framework threads on HN in the past week (There has been a surge!), but they are always described in the way you did: With no explanation of why. I have asked at 3 times and received no answer.

Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by grub5000 on Saturday November 07, 2026 @03:31AM (#50402746)
Windows and Linux actually feel pretty close these days, and I don’t generally feel any friction switching between them. But when I try to use a Mac it’s another story entirely. That OS just makes no sense to me - the keyboard shortcuts all seem to be insanely bad choices, just inconsistent with huge gaps and divergences from the other OSs. It feels so stuck in the 90s
Re:Rune: A native GPU-rendered Rust UI framework for macOS, ... by the__alchemist on Saturday November 07, 2026 @09:49AM (#50405018)
This checks out. My leading mental model to explain this mismatch is that the critique has been from people who are expecting Mac idioms, which I can't speak to.