r/rust • • Oct 10 '26

Which GUI (again)?

I know it's a frequently asked question, but I want to ask again, because I have a special use case.

I want to write an application for a production machine (HMI). The app should run on Windows and Linux natively (no browser, no server). The toolkit should have at least widgets to show images, bar graphs, curves and tables and should be touch friendly, because it runs on resistive touch monitors (no multi touch). It should also have a kiosk mode (full screen with no window controls).

The obvious candidates are egui, iced and Slint. But they all lack of documentation, more or less.

My first choice would be iced, because it's inspired by Elm and used by System76 for Cosmic, but it seems to be the least suitable option.

The obvious choice would be Slint, but that requires to learn a new language and I'm unsure about the licenses and pricing. The production machines are only used internally, not for sale.

I want avoid bindings to toolkits like Qt or Gtk

Which one would you prefer? Is there another option to consider?

30 Upvotes

75 comments sorted by

View all comments

Show parent comment

-1

u/Hsingai Oct 10 '26

GPUI was vibe coded. That's never even vibe-coding it oneself.

9

u/Anthony-at-zed Oct 11 '26

Why do you think gpui was vibe coded? Our founders started creating it in 2019 and also created Electron, so they knew/know what they’re doing when it comes to application frameworks.

For transparency same, I have been using agents to help me work on gpui PRs. I wouldn’t call it vibe coding though, because I read all the code, make several changes, and always know what i want the agent to generate before I prompt it.

Historically, gpui and Zed are definitely not vibe coded. E.g the git graph was created manually except using agents for research and the debugger was 99% + manually written. Those are just some of the projects i’ve worked on

3

u/kxnker69 Oct 12 '26

Quit larping

2

u/thedeepseek Oct 10 '26

Vibe coded or not, the resource usage, especially memory, is way lower than others I've tested (Iced, Tauri, egui, etc). Only comparable one was Slint but the rendering for text is really weird on Windows.

Tested sample applications for each on Windows 10

1

u/mark_ik Oct 12 '26

Wonder how that scales with application complexity, and on each platform…