Re:Exploring System76's New Rust Based Desktop Environment
by mmstick76 on Friday January 14, 2022 @07:23AM
(#29933607)
GTK deprecated Glade, so it's really not the fault of the Rust bindings. But to be honest, Glade's only useful if the language doesn't have good syntax for creating widgets defining properties on those widgets. Creating GTK applications purely in C is a nightmare. Vala makes it manageable. Rust also perfects it with tools like https://docs.rs/relm4-macros/latest/relm4_macros/attr.widget...
[ Parent
| on HN ]
Re:Exploring System76's New Rust Based Desktop Environment
by smoldesu on Friday January 14, 2022 @01:02PM
(#29937776)
If that's perfect, then I'm a monkey's uncle. It's definitely more code and less ergonomic than the previous procedural methods. You can also see Rust's syntax bursting at the seams when they declare widgets...
Re:Exploring System76's New Rust Based Desktop Environment
by mmstick76 on Friday January 14, 2022 @02:13PM
(#29938917)
if you're writing an application, it's generally ideal to have everything declared consistently in the same language. I'd personally rather not have to edit XML files by hand, and try to shoehorn XML-declared widgets into a Rust application.