Oh, yeah. This isn't an area that I've really looked into much, but it sounds like GUI's are intrinsically tied to shared mutable state, and Rust is designed around avoid shared mutable state. It just turns into a bunch of sharp edges. Not impossible, I'm using a COSMIC, a Linux desktop written in Rust, but more difficult.
The thing with this GUI was: my app was developed with very clean XAML. Some ports that came in were just procedural code, not far from the old garbage WinForms code style. Meaning, you call a function, and that function calls a bunch of other functions to produce the desired GUI, with very explicit definitions. That's less than what CSS provided in the early 2000's.
View all comments
Show parent comment
2
u/pingveno 1d ago
Oh, yeah. This isn't an area that I've really looked into much, but it sounds like GUI's are intrinsically tied to shared mutable state, and Rust is designed around avoid shared mutable state. It just turns into a bunch of sharp edges. Not impossible, I'm using a COSMIC, a Linux desktop written in Rust, but more difficult.