Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The state of GUIs in Rust is atrocious right now. Tbh my biggest hope is that Qt works well with Rust, I can really see a bright future there.


Egui is amazing, Tauri is a better Electron. Both of those things are infinitely better than Qt


Thanks for mentioning egui.

> immediate mode may actually be more performant compared to retained mode. Go to any web page and resize the browser window, and you'll notice that the browser is very slow to do the layout and eats a lot of CPU doing it. Resize a window in egui by contrast, and you'll get smooth 60 FPS at no extra CPU cost.


> you'll get smooth 60 FPS at no extra CPU cost.

The key part there is no EXTRA cost. Most immediate mode GUI libraries redraw 60 frames everytime, so there is a constant somewhat high cost, especially compared with a retained mode program.


Yeah this is something a lot of people overlook, in addition to accessibility.

Immediate UIs, without some partial retained backing, are going to redraw all the time. Especially on mobile devices, this can be a huge power suck


To clarify, egui has a mode where it only redraws while you're interacting with the app (e.g hovering, clicking). It doesn't do anything while idle (e.g. In between keystrokes)


Is there a modern and impressive desktop Qt application?


Almost the entirety of offline computer graphics tooling is written with Qt. Maya, Katana, Nuke etc...

Chances are, if you've seen a movie with any CGI, or played any 3D game, in the last decade, Qt was a major component in making it happen.

Qt also powers the Tesla screens, and most KDE apps and Krita.


Krita, SailfishOS, Calibre, Audacious, AsteroidOS, OBS, VLC, KDE (though I prefer a tiling WM, I have to admit Okular is superb). Qt is cross-platform too, and its FOSS and proprietary friendly.


> FOSS and proprietary friendly.

Aren't they strongly walking back on the first part?


The entirety of KDE apps (Krita, Kate, Dolphin, Okular, ...).


I have been working on a qt latex editor: TeXstudio

Although that is years old and perhaps not impressive


They work and they're cross platform. That's impressive and modern.


QGIS is pretty impressive.


Telegram




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: