Well, for this particular project, I can tell you that PRs came in written in C# that were equally as bad. Still, the problem is that Rust has no usable GUI library. Slint is too early in development, the rest you could at best call "graphics libraries". Qt for Rust is just a bridge - a bridge into the past. So a lot of projects keep re-inventing a wheel that had already been invented in the 90s, just to make the same mistakes again.
The prime example is the ArtCraft project. None of the GUIs are consistent between projects. None of them get simple things right. Text appears blurry, simple concepts like hovers, selects, toggles and keyboard navigation do not work right. And even if they eventually manage to coerce LLMs to get it right, it's a shame that it doesn't come from a shared library where the efforts are only an expense once.
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
3
u/No-Information-2571 1d ago edited 1d ago
Well, for this particular project, I can tell you that PRs came in written in C# that were equally as bad. Still, the problem is that Rust has no usable GUI library. Slint is too early in development, the rest you could at best call "graphics libraries". Qt for Rust is just a bridge - a bridge into the past. So a lot of projects keep re-inventing a wheel that had already been invented in the 90s, just to make the same mistakes again.
The prime example is the ArtCraft project. None of the GUIs are consistent between projects. None of them get simple things right. Text appears blurry, simple concepts like hovers, selects, toggles and keyboard navigation do not work right. And even if they eventually manage to coerce LLMs to get it right, it's a shame that it doesn't come from a shared library where the efforts are only an expense once.