News for hackers. Stuff that matters.
Re:GUI development with Rust and GTK 4 by afavour on Tuesday April 25, 2023 @09:57AM (#35700557)
> Why not design UIs in an editor that saves layout to XML?

It's funny because that's my personal nightmare. I'm a JS to Rust developer so I'm biased but the likes of React and Svelte have spoiled me with the ease with which you can integrate reactive components into a UI in a way that you simply can't when you're using a separate XML file.

I agree that the example given looks old-school but Rust has a wonderful macro system, I can imagine building a really slick compose method with macros that generates this kind of code underneath.

There are no comments on this comment yet.