News for hackers. Stuff that matters.

for_the_many

Re:Moxie: Incremental Declarative UI in Rust on Monday December 02, 2019 @12:46PM (#21684732)
When I used it, WPF only had two way binding. The recommended way to use React/Vue is with one way unidirectional binding (Redux/Vuex). It's a huge difference, and simplifies things a lot.

Maybe WPF can do this today, I don't know, haven't touched it in 10 years.

Another aspect, while WPF might check the feature list of React/Vue, using it in practice is kind of clunky.

Re:Moxie: Incremental Declarative UI in Rust on Monday December 02, 2019 @12:27PM (#21684507)
Text rendering is extremely difficult. Even today, Chrome/Firefox are not fully hardware accelerated on this front.

https://gankra.github.io/blah/text-hates-you/

Re:Moxie: Incremental Declarative UI in Rust on Monday December 02, 2019 @11:44AM (#21684079)
It's nice to see that the traditional desktop GUI programmers finally realize that the way the Web people do GUIs is right (React/Vue/...) and the way they did it until now (QT/GTK/WPF/...) is wrong.

Many think that the only reason people use Electron is that it's cross-platform, when that is actually a minor benefit. The big one is just how much more better and efficient React/Vue/... are at creating GUIs. I say that as someone who programmed GUIs in pretty much everything, starting with MFC.