logoalt Hacker News

sev_versoyesterday at 3:31 PM5 repliesview on HN

I've been using the editor since the early days and have always been a fan of its visual look and feel, so I was pretty happy to see its UI library open sourced.

I wish GPUI could become the go-to Rust UI library and not just an editor backend.

For that, a couple of changes would be highly desirable: being able to switch the GPU backend from Metal to wgpu (so it could be mixed with vello, for instance), and the ability to integrate into an existing event loop like egui allows you to. If this were easy to do, I would switch from egui in a heartbeat.


Replies

combyn8toryesterday at 9:34 PM

They seem to have stopped developing GPUI (or maybe just the public version)?

One of the staff forked it into a community edition https://github.com/gpui-ce/gpui-ce

Does anyone have more details about the state of it?

forestoyesterday at 5:32 PM

> I wish GPUI could become the go-to Rust UI library and not just an editor backend.

In case you find it useful, I recently stumbled upon this project:

https://github.com/longbridge/gpui-component

"UI components for building fantastic desktop applications using GPUI."

show 1 reply
airstrikeyesterday at 5:03 PM

There's never going to be one GUI library to rule them all, but I find iced the best Rust library at the moment and likely for the foreseeable future.

bayesnetyesterday at 5:48 PM

I'm beating a dead horse here but the challenge is a11y. Chromium wrappers get a11y for free; bespoke UI frameworks must implement accesskit (or something) which is a lot of work and something that (imo sadly) many small teams decide is not worth the investment.

jenadineyesterday at 4:24 PM

What's so good about GPUI?

show 2 replies