Top
Best
New

Posted by xvilka 10/27/2025

Rust cross-platform GPUI components(github.com)
515 points | 218 commentspage 2
unwind 10/27/2025|
That showcase application (other than Zed) looks awesome, but the very fancy-looking home page [1] fails to have a one-liner explanation of, uh, what the application does. Please consider fixing.

[1]: https://longbridge.com/desktop/

nicce 10/27/2025||
I guess they expect that most people come there from the top level domain. (https://longbridge.com)
ribelo 10/27/2025||
"Multi-platform Support, Professional Market Monitoring" imho is a good explanation
ramon156 10/27/2025||
Although its still very vertically scoped for zed, I'm way more hyped about this UI than iced, dioxus ui, gtk-rs, etc. because of how complete it already is in an early stage.

Then again I love zed so I might be biased.

ratatoskrt 10/27/2025||
No mobile support. I get that a desktop UI framework doesn't want to target smartphones, but I think iPads (and bigger Android tablets) can cope well with more traditional desktop paradigms.
Animats 10/27/2025||
Unfortunately, it's a framework. That is, it demands to own the event loop. It has a type "Application" (This is Rust, don't get to say "it has a class Application, which you subclass", but that's how it works.) That's fine for a cold start where you do everything their way, but tough if there's already an event loop. egui, in contrast, is just a library crate which needs to be called on each frame.
Keyframe 10/27/2025||
I'm interested in how's the battery life while running a thing ilke this. Another thing I'm interested in does it support rendering to texture.. usage being used as a texture on an object (monitor let's say) in a game or rendered as a texture with opacity on a quad/triangle over a screen as a UI layer or a HUD
daakus 10/27/2025|
A quick check with release build on macOS shows the component demo has a non-zero energy impact in the background (per activity monitor), but the input example has zero energy impact while in the background. This is already better than many new from-scratch UI libraries. The foreground impact is harder to measure.
georgeburdell 10/27/2025||
2 hours after it's posted on HN, the repo has its first "readme.md typo fix" commit.
aurintex 10/28/2025||
This is really interesting. As a new Zed user, I've read about GPUI, but have no insights.

Coming from years of working with Qt, I'm always fascinated by the search for the "holy grail" of GUI libs. It's surprising how elusive a true "write-once-run-everywhere" solution (that's also good) still is.

My main question is about your long-term, cross-platform vision: How are you thinking about the matrix of Desktop, Web, and Embedded systems? Qt (for all its baggage) made a real run at desktop/embedded. Do you see GPUI components eventually covering all three, or is the focus purely on desktop/web for now?

sagacity 10/27/2025||
It's interesting to see more people building on top of GPUI. I recently also saw https://github.com/Augani/adabraka-ui which looks fairly similar.
nu11ptr 10/27/2025|
This looks great too! Hopefully one or more of these component libraries catch on and stay well maintained.
klaussilveira 10/27/2025||
Sad to see that the C++ community is sleeping on this. There are no modern GUI components or toolkits, specially under such a permissive license.

Excited about the future of Rust GUI development, this is fantastic.

lelanthran 10/27/2025||
> Sad to see that the C++ community is sleeping on this. There are no modern GUI components or toolkits, specially under such a permissive license.

I'm not sure what you are talking about (there are plenty of x-platform C++ GUI toolkits with components). Maybe you mean "accelerated toolkits"?

pjmlp 10/28/2025|||
Qt is modern enough, still there are hardly any Rust libraries as feature rich in capabilities and designer related tooling.

It is also the KDE infrastructure, used in plenty of infotaiment, factory dashboards and medical devices.

fschuett 10/27/2025||
Azul.rs is making lots of progress now and it'll have decent C / C++ / Python bindings (so it won't be Rust-only). But I guess for now GPUI is more mature.
SilverSlash 10/27/2025|
I was expecting something ugly but these actually look beautiful!
More comments...