An unofficial, read-only Hacker News reader.

Ladybird is now in alpha (opens external site)

2472 points by janvdberg 5 days ago | ladybird.org | 747 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. Trialing Ladybird right now as I type this comment. I'm trying it with all my own web apps, news sites, and hacker news. So far, everything is working stunningly well using the Flatpak build for Linux.

    I'm completely dumbfounded -- I've been told for decades that creating a new browser is like tilting at windmills, but Ladybird not only seems to be rendering everything I care about correctly, but the onboarding experience was incredibly smooth (light/dark, tab position, search engine, theme) all cleanly presented from the get-go. I'm only five minutes into using it, but I can tell I'll keep this around as a default for my own webapps, and gradually adopt it more as it matures. It's pretty much the same approach I used to adopt Linux back in 1997 -- I could use Linux for half my needs, and then I'd switch to windows, but by 1999 I'd switched completely to Linux. Hopefully I can do something similar with Ladybird!

    This is amazing work: thank you to the devs!

    EDIT: Spoke too soon! Visited my local CopyParty server (self-signed cert) and there doesn't seem to be a way to get LadyBird to accept the self-signed cert (served over the local LAN). Not that surprising given the Alpha tag, but maybe worth mentioning for folk using homelabs.

    Replies (2)
    1. > I'm completely dumbfounded -- I've been told for decades that creating a new browser is like tilting at windmills, but Ladybird not only seems to be rendering everything I care about correctly,

      I half wonder if this is a truism from the older days of the web when browser compatibility between browsers was much less common. I.e. from the IE days before chrome really kind of replaced everything else. There's now a browser that basically everyone targets for compatibility and everything in the last 15 years of development has been done with that in mind so getting the 90% of the web that people want to use is no longer "I have to support quirky XML behavior from IE 6 because Bank X requires it to render correctly and people need that to work". It's still not going to be simple but I wonder if it's less of a sisyphean task anymore because of how things have shifted.

      I'd bet if we tried pointing Ladybird at some of the old enterprise hardware that does funky crap and says it's only compatible with IE6 on 800x600 screens it'd probably show some issues simply because those aren't normally accessed or focused on anymore. And largely I think that's a good thing if it means we can now get a browser engine that's from scratch and doesn't have to focus on those things to become usable as a daily driver for basically everything a normal user is going to encounter.

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

    2. > I've been told for decades that creating a new browser is like tilting at windmills

      Yeah, that was when you had to actually write code yourself.