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.
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"
How many of those have any compatibility with OS accessibility APIs? GPUI appears to have some support natively which is more than a lot of native Rust UI frameworks.
Hello, I implemented the current accessibility APIs in GPUI (disclaimer: I am a zed employee). If you have a use case that's not supported, I'd love to hear about it. If you open an issue (or have already opened one) feel free to tag me (my github handle is cameron1024) and I'd love to look into it.
It's not as polished as I'd like it to be, and use of the APIs in Zed isn't there yet, but if you feel it's "not accessible at all" I'd be interested to learn more.
Which is 100% fair for the creator to say. It's also fair to be frustrated when an "expect nothing" project gets held up as one of the best GUI libraries in Rust (but this is not a frustration towards Iced's creator).
It’s a one man project which yeah, does make it a bit brittle. But I am not sure that gpui docs are much better, and their governance structure brings its own concerns (bus factor for iced, VC culture for gpui).
When I still wrote code by hand about a year ago, on Windows, all those crates didn't really work as expected, or weren't that easy—so many edge cases didn't really work and needed to be fixed: IME, CJK font, anti-aliasing, zooming, mouse event, and so on.
Replies (3)
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.
Replies (6)
This is why people are flocking to it. Nothing else really matters.
Replies (1)
Replies (1)
Replies (1)
Continue this thread (2 replies) →
Replies (1)
Replies (1)
There was some rumblings PR-wise of it becoming a thing but I don't know offhand if it went anywhere.
Replies (1)
Replies (2)
Replies (2)
It's not as polished as I'd like it to be, and use of the APIs in Zed isn't there yet, but if you feel it's "not accessible at all" I'd be interested to learn more.
In the past month 1 person has made commits.
What does it matter if it's superior?
Actually, AI has come into existence since I last looked at it, so maybe docs aren't needed anymore?
Replies (2)
Replies (1)
GPUI, in fact, works quite well in most case.
https://nsh.dev/
Replies (1)
https://github.com/ppmpreetham/BUI
Some cool features (I guess coming from Blender) are builtin app menu search and Undo/Redo for UI fields.