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.
[ Parent
| on HN ]
Sure, but we do have flexbox now. And CSS grid. And have done for over a decade.
The question was why HTML-based UI became popular. And that predates widespread support for all these things.
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.
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.