this post was submitted on 28 Nov 2023
9 points (100.0% liked)

Rust Programming

8127 readers
1 users here now

founded 5 years ago
MODERATORS
 

I find that a lot of libraries tend to be Linux-focused and generally kind of ugly on Windows, so what do you use when you want to make something that looks nice and performs well on Windows?

The best looking ones I've seen were web frontends like in Tauri. A runner up would maybe be iced-rs. Which is a shame because I really wanted to use relm or fltk-rs but it looks like I'd almost have to use the web renderer to get "sleek, sexy" GUIs...

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 11 months ago

Slint provides a native-looking ui for every platform including Linux, Windows and MacOS.

https://slint.dev/

[–] [email protected] 9 points 11 months ago* (last edited 11 months ago) (1 children)

Most GUI libraries in rust are in some version of 0.x. this isn't like flutter or Avalonia where our GUI libraries are mature. Wasn't Iced basically a one man show before system 76 started using it for their desktop environment and made huge contributions to it?

I think for now your best bet is probably a webview framework like tauri or dioxus. I'm sure things like iced will get there. But by using webview these frameworks have offloaded a lot of dev work. They've made painting pixels on the screen someone else's job

[–] [email protected] -1 points 11 months ago* (last edited 11 months ago)

Wasn’t Iced basically a one man show before system 76 started using it for their desktop environment and made huge contributions to it?

No. And what they contribute, they contribute to their own fork.

They do, however, help the ecosystem with crates like cosmic-text.

I think for now your best bet is probably...

Their best bet was to ask around (done) and filter out the waffle. They already got a good specific actionable answer out of it.

[–] [email protected] 1 points 11 months ago (1 children)

GTK on other languages. Haven't found any rust ones or bindings that look worth a try yet, though. Should find the time eventually.

[–] [email protected] 1 points 11 months ago

OP already mentioned relm.