Or, there is a lot going on there and the library/Rust doesn't hide it from you. Your mileage will vary depending on which format you prefer and that's why I pick Rust.
Idiomatic Rust seemed to always use a ton of method chaining much more than any other language, even TypeScript, so a lot of Rust code just reads like "names.iter().cloned().map(|name|name.trim().to_string()).filter(|name| name.is_empty()).map(|name| name.to_lowercase()).filter_map(...)" all the time.
i'm confused why gpui get's so much attention; it's not fast, it's not accessible, it's not ergonomic, and it's not beautiful. there are more mature options in the rust space. what gives?
All of those options are technically superior to GPUI in my subjective opinion. GPUI focusses pretty narrowly on Zed's use case, and suffers from severe NIH syndrome (so has put a bunch of time and effort into building things that already exist as crates in the Rust ecosystem).
GPUI does have a pretty nice component library. And of course an excellent code editing control. And it's... fine. But I wouldn't choose it over the other options.
If you're looking to target web in addition to native platforms (GPU-accelerated), try Refract. Supports pre-rendering and hydration, enabling the initial view of applications to be served via SSR / bundled.
egui is probably worse technically (advocating for its use is like advocating for people to write their applications with imgui; it's good for game dev uis but please don't otherwise). iced is probably the best there?
this kind of comment is such a meme at this point. imgui is perfectly fine for applications other than game debug menus. same with egui and other immediate mode ui frameworks. better, in fact, when you look at the state of pretty much every user interface written in a "proper, reactive ui library"
egui is the most mature, has built in accessibility, and is quite ergonomic and flexible. iced is a good alternative, it’s used for cosmic desktop and is a good option if you don’t want an imgui. if you’re happy with the trade off of using a web view, dioxus is really good - you still build the ui in native rust (not wasm) and the web view is used purely for rendering so that negates some of the cons of something like tauri (no ipc mechanisms required), and you get the rendering and accessibility of the web.
honourable mention to slint, seems mature and good but I’ve never personally used it.
There is accessibility, but it’s not fully baked. I’m currently building something with it, using Claude and Deepseek, and one of my requirements was accessibility… I forget the specifics, it’s either missing references in the docs or on main. Either way, Claude found it and I told Claude it would have to implement anything missing. It took about a week, and used my entire quota that week, but everything seems to be good at this point.
Thus far, it has also been quite fast hitting my performance targets which were also quite aggressive. The only real issue I’ve had is memory usage is higher than I’d like but it’s still 1/3rd of what I’d get if I was using Electron… and if I’m remembering right it’s mostly because of the driver stack.
I need to figure out what I plan on doing with the app when this first version is finished: open sourcing it, charging for it, or some
combination of the two. Though I can’t imagine not trying to upstream or release the accessibility work.
I could have sworn I saw some kind of portfolio page not too long ago, with screenshots from different projects using gpui. Can't seem to find it anymore.
it says a lot about who is involved to make it to the big year of 2026 with zero consideration that it would be useful to have these things
visual examples seen as an afterthought instead of a prerequisite
these are the people that cried ageism for the last 15 years not noticing their rejection was actually because they railed against javascript being used outside of jquery
Now they’ve finally found a way to skip from C++ straight to Rust for frontend work
hope the community picks it up and makes it more convincing and accessible, with visual aids
It was not maintained, there was also "gpui-kit" and "gpui-unofficial" which builds on the official repo. [1] Nobody will mourn for community fork. Having one official repo brings so much clarity.
it's not just this community, it seems like it's the entire internet. everyone is either ragebating or butthurt. i cannot imagine what goes through someone's head to downvote your comment - i imagine mostly nothing.
The hello world code example reinforces my opinion that Rust is verbose and ugly.
Or, there is a lot going on there and the library/Rust doesn't hide it from you. Your mileage will vary depending on which format you prefer and that's why I pick Rust.
I think this is more of a function of the GPUI library being very powerful. If you just write "hello world" in rust that is a lot shorter.
Idiomatic Rust seemed to always use a ton of method chaining much more than any other language, even TypeScript, so a lot of Rust code just reads like "names.iter().cloned().map(|name|name.trim().to_string()).filter(|name| name.is_empty()).map(|name| name.to_lowercase()).filter_map(...)" all the time.
Rust is ugly as a beginner, beautiful as an intermediate, and sorta ugly again as an expert.
I'm not sure what you mean... It's a beautiful dialect of Klingon.
Who cares. You might as well be saying assembly is verbose and ugly. That is just the output of "create a hello world gpui app" prompt.
well, luckily we don't have to write the code ourselves anymore
Finally, I have wanted to use it but felt awkward that it was inside the editors repo.
It would be better to call it zgpui, zed-gpui, or Dear GPUI.
I feel like naming a library after either GPUI/GPUGUI make talking about this technique difficult. And the technique didn’t originate in this library.
But this isn't called gpugui. Gpui is a given name, it doesn't describe any specific technique
i'm confused why gpui get's so much attention; it's not fast, it's not accessible, it's not ergonomic, and it's not beautiful. there are more mature options in the rust space. what gives?
What else would you recommend? egui?
Not the OP, but:
All of those options are technically superior to GPUI in my subjective opinion. GPUI focusses pretty narrowly on Zed's use case, and suffers from severe NIH syndrome (so has put a bunch of time and effort into building things that already exist as crates in the Rust ecosystem).GPUI does have a pretty nice component library. And of course an excellent code editing control. And it's... fine. But I wouldn't choose it over the other options.
> GPUI does have a pretty nice component library.
This is why people are flocking to it. Nothing else really matters.
I disagree that nothing else matters. But I do agree that this is why people are flocking to it.
Yes, nothing else matters _for adoption_, compare React.
If you're looking to target web in addition to native platforms (GPU-accelerated), try Refract. Supports pre-rendering and hydration, enabling the initial view of applications to be served via SSR / bundled.
https://refract.rs https://crates.io/crates/refract https://refract.rs/examples/chat
Iced has a lot of limitations. Just look at their roadmap. For example it doesn’t support text highlighting but maybe it does now.
halloy uses iced and i can select text in halloy just fine...
halloy custom built that, it's not part of iced proper - or at least it hasn't been historically.
There was some rumblings PR-wise of it becoming a thing but I don't know offhand if it went anywhere.
egui is probably worse technically (advocating for its use is like advocating for people to write their applications with imgui; it's good for game dev uis but please don't otherwise). iced is probably the best there?
this kind of comment is such a meme at this point. imgui is perfectly fine for applications other than game debug menus. same with egui and other immediate mode ui frameworks. better, in fact, when you look at the state of pretty much every user interface written in a "proper, reactive ui library"
I have been trying to submit NSH on to HN. It is still early days but worth checking out.
https://nsh.dev/
can you share those options? curious about your take
egui is the most mature, has built in accessibility, and is quite ergonomic and flexible. iced is a good alternative, it’s used for cosmic desktop and is a good option if you don’t want an imgui. if you’re happy with the trade off of using a web view, dioxus is really good - you still build the ui in native rust (not wasm) and the web view is used purely for rendering so that negates some of the cons of something like tauri (no ipc mechanisms required), and you get the rendering and accessibility of the web.
honourable mention to slint, seems mature and good but I’ve never personally used it.
egui is designed for english only game dev tools. It is not remotely mature for actual tools that support CJK, IMEs, and accessibility
egui is not designed for english only game dev tools.
you can make it work for whatever usecase you want. that's the beauty of oss.
Cosmic runs a fork of iced, not iced proper.
There is accessibility, but it’s not fully baked. I’m currently building something with it, using Claude and Deepseek, and one of my requirements was accessibility… I forget the specifics, it’s either missing references in the docs or on main. Either way, Claude found it and I told Claude it would have to implement anything missing. It took about a week, and used my entire quota that week, but everything seems to be good at this point.
Thus far, it has also been quite fast hitting my performance targets which were also quite aggressive. The only real issue I’ve had is memory usage is higher than I’d like but it’s still 1/3rd of what I’d get if I was using Electron… and if I’m remembering right it’s mostly because of the driver stack.
I need to figure out what I plan on doing with the app when this first version is finished: open sourcing it, charging for it, or some combination of the two. Though I can’t imagine not trying to upstream or release the accessibility work.
> GUI
> No screenshots on web site, docs, or repo
It's clearly not ported over yet...
I could have sworn I saw some kind of portfolio page not too long ago, with screenshots from different projects using gpui. Can't seem to find it anymore.
it says a lot about who is involved to make it to the big year of 2026 with zero consideration that it would be useful to have these things
visual examples seen as an afterthought instead of a prerequisite
these are the people that cried ageism for the last 15 years not noticing their rejection was actually because they railed against javascript being used outside of jquery
Now they’ve finally found a way to skip from C++ straight to Rust for frontend work
hope the community picks it up and makes it more convincing and accessible, with visual aids
Haven't they said this before and just a few weeks or a month later pulled the plug on that?
Wasn't it once a separate repo, then they vendored it, and there's a community fork? I wonder what will happen with it?
ref: https://gpui-ce.github.io/
edit: lmao downvotes for this? what even is this community anymore?
It was not maintained, there was also "gpui-kit" and "gpui-unofficial" which builds on the official repo. [1] Nobody will mourn for community fork. Having one official repo brings so much clarity.
[1]: https://github.com/iamnbutler/gpuikit, https://github.com/gpui-archipelago/gpui-unofficial
Yeah, it's definitely a signal, too. I'm excited.
there's also https://github.com/longbridge/gpui-fast which seems to be pretty active. I wonder if they'll upstream their changes.
it's not just this community, it seems like it's the entire internet. everyone is either ragebating or butthurt. i cannot imagine what goes through someone's head to downvote your comment - i imagine mostly nothing.
The licence makes using it pretty useless, I wonder if they will change stance on this. Context https://github.com/zed-industries/zed/blob/main/crates/ui/LI... the ui elements themselves are under a really restrictive licence.
I'm eager for a GPL resurgence in libraries. Copyleft is the opposite of restrictive