Comment by dlivingston
2 days ago
It's pretty clear to me that JavaScript is becoming the de facto standard for UI/UX programming, regardless of platform, and regardless of web vs. native targets. Even GNOME has JavaScript bindings. [0]
[0]: https://gjs.guide/
Same thing with KDE Plasma and its UIs being written in QML, which allows better separation of business logic (written in C++) and graphical interface (QML Javascript).
Personally I love it. HTML/CSS is still the best, most well documented and familiar gui framework
The problem is performance... requiring a web browser to draw a UI takes a LOT of CPU and memory, and not all devices have enough power to deliver a smooth experience across all potential workloads.
I worry that every year we keep increasing our processing requirements and bloat without good reason for it.
Why should every Windows release require a faster and faster CPU, and more and more RAM?
The recommended amount of memory for Windows 95 was 8 megabytes, and for Windows 11 it is 8 gigabytes. Why is this not horrifying?
My small Linux system with openbox GUI barely cracks 100MB memory usage in 2025.
> requiring a web browser to draw a UI takes a LOT of CPU and memory
What makes a browser so much more inefficient vs. other UI frameworks? Is it really the browser's fault or the website's you're visiting?
10 replies →
> Why should every Windows release require a faster and faster CPU, and more and more RAM?
I don't know. But does it? It doesn't seem like you verified that yourself - you're comparing stated recommended specs of Windows to actual usage of Linux.
There are slim webviews, that can do core HTML and CSS, make a nice UI and not chew all the RAM.
1 reply →
Have you used other ones? Not a dig, I've primarily used HTML/CSS for UIs and have been playing around with Compose recently and haven't made up my mind what I like more.
Same here. I've grown to really love Jetpack Compose. Personally, I'd say I like it better than any other framework I've tried before.
html/css yes
js? get that thing off of me
Atwood's law strikes again[0]
[0]: https://en.wikipedia.org/wiki/Jeff_Atwood
From what I have seen, most of the current GNOME UI is in fact just javascript. And any plugins people write for it are also javascript.
GNOME has its own interpreter, kinda how React Native does it for mobile. But performance all boils down to the layout engine. Most native UI components take shortcuts with text which is the most difficult thing to render. And the widget tree is simpler.
And there’s the whole inspector in web browser, meaning that the layout is not done once and forget. There’s various sub components still present for whatever features. Great in the browser, not great for standalone apps.