An unofficial, read-only Hacker News reader.

Ladybird is now in alpha (opens external site)

2478 points by janvdberg 6 days ago | ladybird.org | 749 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. Browsers are difficult to write because the web is kind of a moving target. Firstly, the standards expand (and rarely shrink). Secondly, browsers are allowed to make proprietary extensions, which risk becoming popular, forcing further expansion of the standard. Thirdly, browsers were built in the era of "be liberal in what you accept and conservative in what you send" protocol design, which is (IMHO) anathema to good software (and which meant that browsers had to basically heuristically render malformed web-pages, which is a _kind_ of special casing, which in turn gave large, well-capitalized orgs the ability to differentiate on how many wrong pages they can render correctly, creating a perverse incentive). Fourthly, browsers are performance sensitive, but every leap in JS-engine performance, or in rendering performance, gets eaten up by leaps in the indulgence and excess of web-designers, creating yet another thing that has to be chased. Browsers, and the web, have far too many misaligned incentives to be worth pursuing (most browser projects wrap around webkit, and there is a reason that Google is one of two companies that has not given up on browser-engines: it helps them protect their ad-revenue (e.g. chrome cannot run ublock)).

    Perplexingly, most browsers try to hide the abuse (of the machine) that a web-page is inflicting, behind arcane developer tools. If browsers were able (by default) to show exactly how much RAM and CPU time (prominently in the tab) each page was using, that would put at least some pressure on the designers to write better front-end code, because ordinary users could see (and compare!) how many resources each page was using. A similar thing can be done with standards compliance (e.g. how many nonstandard features is the page using, or how malformed is the page itself (if I recall, the original KHTML used to do this)).

    Also, note that I used the term "web page" and not "web site", even though most people use them interchangeably. The original term (from 1990) is "web page", and it predates "web site" by a few years (1994). The original intent of the web was to be a web of _pages_, not _sites_. A common defense is that a _site_ is a collection of pages. This is insanity: a collection of pages is obviously a _book_ or a _binder_. I think that they chose to use the word _site_ as the metaphor, because they saw each domain as a kind of storefront in a mall or city or bazaar. A thing that is physically anchored and owned and managed. It is no wonder that the web had no link-preserving functionality (e.g. like the internet archive today) built in (physical storefronts sometimes shut down or get bought and renovated or get demolished etc).

    And I believe that because we chose this metaphor, people and companies have internalized the idea that a browser is just a generic platform, for hawking wares and spying on customers, instead of a hyperlinked web of written text, with the occasional image or video.

    The web is cool. It is a monumental achievement. Yet, it was designed by _children_, and is used by rapacious psychopaths to enrich themselves, by monetizing the creativity and curiosity of others. We deserved a better web, and that meant a better browser. Unfortunately, I doubt that Ladybird is it. I doubt that it is possible, without a clean sheet of paper.