9
submitted 10 months ago* (last edited 10 months ago) by force@lemmy.world to c/rust@lemmy.ml

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
[-] auf@lemmy.ml 13 points 10 months ago

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

https://slint.dev/

[-] Solemarc@lemmy.world 9 points 10 months ago* (last edited 10 months ago)

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

[-] BB_C@programming.dev -1 points 10 months ago* (last edited 10 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.

[-] XTL@sopuli.xyz 1 points 10 months ago

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

[-] BB_C@programming.dev 1 points 10 months ago

OP already mentioned relm.

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

Rust Programming

8093 readers
1 users here now

founded 5 years ago
MODERATORS