News for hackers. Stuff that matters.
Re:Muon: GPU Based Electron on a Diet by int_19h on Monday October 03, 2022 @04:16AM (#33064800)
I agree with the first part, but not with the second. Doing layout in e.g. WPF or QML was way easier than anything we had in HTML until flexbox became a thing - which is to say, for many years. Simply because those frameworks were designed from the ground up around laying out widgets, while HTML was oriented more towards document-like flow for a very long time.
Re:Muon: GPU Based Electron on a Diet by nicoburns on Monday October 03, 2022 @05:29AM (#33065202)
Sure, but we do have flexbox now. And CSS grid. And have done for over a decade.
Re:Muon: GPU Based Electron on a Diet by int_19h on Monday October 03, 2022 @09:29PM (#33075816)
The question was why HTML-based UI became popular. And that predates widespread support for all these things.
Re:Muon: GPU Based Electron on a Diet by 0x457 on Thursday October 06, 2022 @03:00PM (#33112491)
Flexbox was supported in chrome since Chrome 21 (2012). Electron initial release was in 2013.

To make an electron app, you only care about that your chrome runtime support.

Re:Muon: GPU Based Electron on a Diet by 0x457 on Thursday October 06, 2022 @03:03PM (#33112545)
Yeah, but flexbox came around 2012 and Electron came around 2013. Web UI weren't that popular until electron.

WPF is well, windows only. QML is C++ or python and didn't look native at all, but it also didn't look very pretty either. With HTML + CSS you can easily make an eye candy.