3 ms·
Is it fair to compare GUI frameworks with over 20 years of maturity (Qt, GTK+) with others that are less than a few years old and still mostly in their explorat
by majewsky 7y ago
Is it fair to compare GUI frameworks with over 20 years of maturity (Qt, GTK+) with others that are less than a few years old and still mostly in their exploratory stages?
- pjmlp 7y agoIt is, because the issue is the language semantics to deal with typical UI workflows. You are forced to use Rc<RefCell<>> and clone everywhere, or copy objects around, reactive style, to kind of work around borrow checker ergonomics.
- majewsky 7y agoOnly if you use a binding to a traditional UI framework. There is an opportunity here to research wholly new classes of UI frameworks. Data binding like in React lends itself nicely to ownership/borrowing semantics, for example. The React-like Relm may only be a first glimpse of what's to come.
- pjmlp 7y agoReactive UIs produce too many allocations, most developers aren't comfortable using them and most importantly lack of UI designers.