Re:Iced: A cross-platform GUI library for Rust, inspired by Elm
by OJFord on Friday August 27, 2021 @09:53AM
(#28327815)
This looks great too, but just to point out if you're looking for something like Electron (but rust, or smaller or whatever) then Tauri is a much closer fit, using web stuff (HTML, CSS, JS, wasm, frameworks, whatever you want) for the UI in the same way.
[ Parent
| on HN ]
Re:Iced: A cross-platform GUI library for Rust, inspired by Elm
by jatins on Friday August 27, 2021 @10:40AM
(#28328414)
Tauri, while an improvement on some aspects, is still a webapp in a shell. But it has the problem that you have to deal with browser specific quirks.
From what I understand, this will avoid that problem by compiling to whatever native platform you are building for? Also it'd not just be a webapp in a shell.
Re:Iced: A cross-platform GUI library for Rust, inspired by Elm
by OJFord on Friday August 27, 2021 @11:30AM
(#28329092)
Yes, correct I think on all counts. I was just responding to the Electron comparison, saying if that's what you want, maybe look at Tauri, because it's also 'a webapp in a shell'.
For some people in some senses, there's a big advantage to the 'webapp in a shell' model, because HTML/CSS is considered good, or WhizzBang.js is the familiar tool for building UIs, or whatever.
I didn't mean to say it's better (or worse) than this - it's just quite a different (more similar to Electron) approach, that'll suit some and not others.
Re:Iced: A cross-platform GUI library for Rust, inspired by Elm
by imbnwa on Friday August 27, 2021 @11:28AM
(#28329072)
If by browser specific quirks you mean having to deal with Webkit as Windows is Chromium now.
Re:Iced: A cross-platform GUI library for Rust, inspired by Elm
by OJFord on Friday August 27, 2021 @11:33AM
(#28329142)
Well, Tauri (or more specifically the 'ri' part: https://github.com/tauri-apps/wry/) uses different engines on different platforms, so I assume there's the potential for quirks.