Remix.run Logo
ranger_danger 11 hours ago

And the Windows 11 start menu is just React Native. Strange times indeed.

dlivingston 11 hours ago | parent | next [-]

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/

andoando 10 hours ago | parent | next [-]

Personally I love it. HTML/CSS is still the best, most well documented and familiar gui framework

ranger_danger 6 hours ago | parent | next [-]

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.

Rohansi 4 hours ago | parent | next [-]

> 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?

4 hours ago | parent | next [-]
[deleted]
troupo 2 hours ago | parent | prev [-]

What makes the browser slow and inefficient is the fact that it's not a UI framework. It's a system to display text and a couple of images on a 2D plane where every element depends on every other element.

Almost every single interaction and change requires the browser to recalculate the layout of the entire page and to redraw it. It's basically Microsoft Word, with nearly the same behaviors.

And there are no proper ways to prevent that behaviour. No lower and low level control over rendering. Awkward workarounds and hacks that browsers employ to try and minimize re-layouting and redrawing. Great rejoicing when introducing yet more hacks for basic things: https://developer.chrome.com/docs/css-ui/animate-to-height-a... etc.

Rohansi 31 minutes ago | parent | next [-]

> It's a system to display text and a couple of images on a 2D plane

And how is that different from a UI framework?

> Almost every single interaction and change requires the browser to recalculate the layout of the entire page and to redraw it.

What UI frameworks don't do this?

troupo 6 minutes ago | parent [-]

> And how is that different from a UI framework?

In none of them text is primary and all other incidental?

> What UI frameworks don't do this?

In which UI framework actions like "set focus on an element" triggers a full page re-layout?

Also, in which UI framework there's even a discussion of "try to not trigger re-paint/re-flow"?

And yes, I know about immediate mode UI where the entire layout is re-calculated every frame. But then they can usually render thousands of elements at 60fps.

wiseowise an hour ago | parent | prev [-]

That’s just plain wrong, even ChatGPT will rebuke your comment. I’m sure someone working on Blink/WebKit will just laugh at your comment.

troupo an hour ago | parent [-]

"even ChatGPT" lol

Here's a deeper dive. It's about animations, but it explains issues in a nice way that "even ChatGPT" can understand: https://motion.dev/blog/web-animation-performance-tier-list

shooly 4 hours ago | parent | prev | next [-]

> 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.

edoceo 3 hours ago | parent | prev [-]

There are slim webviews, that can do core HTML and CSS, make a nice UI and not chew all the RAM.

samdoesnothing 6 hours ago | parent | prev | next [-]

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.

nish__ 6 hours ago | parent [-]

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.

NooneAtAll3 4 hours ago | parent | prev [-]

html/css yes

js? get that thing off of me

arvinsim 5 hours ago | parent | prev | next [-]

Atwood's law strikes again[0]

[0]: https://en.wikipedia.org/wiki/Jeff_Atwood

ranger_danger 6 hours ago | parent | prev [-]

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.

skydhash 33 minutes ago | parent [-]

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.

010101010101 7 hours ago | parent | prev | next [-]

This was a false rumor: https://news.ycombinator.com/item?id=44124688

hebelehubele 11 hours ago | parent | prev [-]

What the fuck. Does that mean alternative start menus (e.g. Stardock Start11) are provably faster & lighter on resources?

Chabsff 10 hours ago | parent [-]

Not by virtue of that alone.

A choice of tech stack can never be enough to prove anything. It only establishes a lower bound on resource usage, but there is never and upper bound as long as while() and malloc() are available.