← Back to context

Comment by user3939382

12 days ago

CSS is the only thing from browsers we actually need. The rest can be done in a terminal. Contemporary terminals could even render the UI with way less memory. The browser is a nightmare because it wasn’t architected to run applications.

  > The rest can be done in a terminal. (...) The browser is a nightmare because it wasn’t architected to run applications.

Neither were terminals, which were not even designed with a screen in mind.

> The browser ... wasn’t architected to run applications.

Could you explain this? What prevents the browser from running applications? How should it have been architected otherwise if running applications was the goal?

  • I think the idea here is that the DOM was designed as a model for document presentation, not for GUI layout.

    • The DOM was designed as a model for hypertext document presentation. That document already is an application. Hyperlinks already are a GUI.

      And 99% of what people here consider "web applications" are just documents meant to be read as documents that have any javascript in them at all.

      This whole "document vs app" dichotomy is mostly a fantasy.