Hacker News new | past | comments | ask | show | jobs | submit
Not the OP, but:

   1. egui (30.3M total / 9.2M last 90 days) (note: immediate mode)
      https://crates.io/crates/egui

   2. Iced (3.2M / 770k)
      https://crates.io/crates/iced

   3. Slint (2.4M / 955k) (note: GPL/commercial license)
      https://crates.io/crates/slint

   5. Dioxus Native (181k / 26k)
      https://crates.io/crates/dioxus-native

   6. Freya (49k / 12k)
      https://crates.io/crates/freya

   7. Floem (45k / 15k)
      https://crates.io/crates/floem

   8. Vizia (7k / 700)
      https://crates.io/crates/vizia
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.

loading story #50621733
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

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.
loading story #50624349
loading story #50624930
Iced has a lot of limitations. Just look at their roadmap. For example it doesn’t support text highlighting but maybe it does now.
loading story #50621832
loading story #50624175
Iced, one of the top Rust GUIs, has a little less than 10 pages of documentation--that's it, that's ALL of it.

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?

loading story #50625025
loading story #50624179
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.

GPUI, in fact, works quite well in most case.

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?
loading story #50622215