top | item 44814087

(no title)

n4te | 6 months ago

Yes, a terrible one. That's what the article is about.

discuss

order

andoando|6 months ago

What I mean is, I dont see why browsers even exist.

There should be a singlular framework for creating desktop apps.

n4te|6 months ago

Ah. One difference is a normal desktop can access a lot more or even all of your system. Otherwise cross platform UI toolkits exist: GTK, Qt, Swing, SWT, etc. They could be great but they aren't, not because it can't be done well just no one has managed to do it well. They could technically be sandboxed but they aren't, or not well. Java applets tried long ago and a lot of systems got owned.

You'd never design from the start the bonkers HTML/CSS, box model, and other junk we are stuck with, but browsers have a number of good aspects that you'd probably end up with in a complete redesign.

The problem is multifaceted. UI toolkits are very hard to do well (I have a lot of opinions on this, and my own crossplatform toolkit), even on a single platform. Just that alone is huge. There are basically no overall great UI toolkits, even if some have good parts. Even a theoretical great UI toolkit will have quite a task to achieve parity with what browser UIs can do.

If we could get past that (spoiler: we can't, no way in hell) then we'd also have to be willing to ditch all the legacy browser stuff to switch billions of users and devices to something new AND we'd still have many other big problems to deal with: getting the committee/everyone to agree without ruining it, security, privacy, etc.

We've accepted we can't really fix it, so the only thing we can do is keep extending it. That's how we got here.

phantomathkg|6 months ago

> There should be a singlular framework for creating desktop apps.

Why?

conartist6|6 months ago

There is. It's called a "browser"