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 (34)

  1. Their goal for a while has been to make a production capable browser which is not owned or funded by Google. At the moment your choices are either Chromium based (owned by Google), Gecko or Safari based (both of which have deals with Google).

    This is a fully independent engine funded by no-strings-attached sponsorships.

    It's a good model, considering they've demonstrated that a full browser can be developed on a shoe-string compared to the competition.

    Replies (6)
    1. Is it explicitly stated that they wouldn't accept Google's sponsorship? Or is it just that Google hasn't offered?
      Replies (1)
      1. They have stated many times that their main value proposition is independence, specifically from Google.
    2. Apart from the independence from Google, are there any big differences compared to other engines? Is it faster? Does it use less RAM? I really wish there was a browser engine focused on a different area of the CPU vs. RAM tradeoff. Like a browser engine focused on using very little RAM or maybe even an engine that lets me configure whether I want more speed or lower RAM usage.

      I think with today's RAM prices a browser that uses a lot less RAM or has an option for that would be interesting for many people.

      Replies (3)
      1. I agree, but FYI, firefox has plugins (Auto tab discard) that very aggressively unload ("sleep"/discard) websites, since using it my problems with RAM are much more manageable (I set it to just 1 minute of inactivity). It very helpfully does not unload content with unsent form content.
      2. > I think with today's RAM prices a browser that uses a lot less RAM or has an option for that would be interesting for many people.

        Time to bring back the Java ME era version of Opera Mini!

        > Opera Mini uses a server to translate HTML, CSS and JavaScript into a more compact format. It can also shrink any images to fit as the handset screen. This step makes Opera Mini fast.

        > Most Opera Mini versions use only the server-based compression method, with maximal compression but some issues with interactive web apps. Opera Mini can operate in three compression modes: "mini" (or "extreme" on Android versions), "turbo" (or "high" on Android versions) and uncompressed. The turbo and mini modes reduce the amount of data transferred, thereby also increasing speed on slower connections.

        > […]

        > When browsing the Web in Opera Mini mode, JavaScript is processed by the proxy server, and is merely rendered on the device. This limits interactivity. Scripts cannot be run in the background on the device. If a script is paused (on the server), the browser must communicate with the server to unpause it. JavaScript will only run for a couple of seconds on the Mini server before pausing, due to resource constraints.

        https://en.wikipedia.org/wiki/Opera_Mini

        Replies (1)
        1. Opera Mini - meh.

          But desktop Opera powered by Presto should have continued :-(

          Such an amazing application.

          The only faster browser I've ever used was links2 + SSL support + image support. It didn't render CSS, which meant it became useless circa 2007 (I think?), but it was <<instant>>. Everything would just load instantly, faster than some desktop apps. I was using it with Gmail and it was crazy fast.

          Replies (2)
          1. Presto-based desktop Opera pioneered many things we take for granted today: instant backclick, mouse gestures, tab groups, saved sessions, arguably tabbed browsing itself (iCab may have had it earlier?).
          2. Used to live in that app. Loved being able to add my own stylesheet or disable a site's style.
      3. Browsers have been optimizing CPU and RAM usage like crazy, over the years. Compared to 15 years ago, they probably are 100x more CPU efficient and maybe 4x more RAM efficient, I don't really know and it obviously varies widely depending on content, but what I do know is that websites are 1000x to 10,000x less efficient, because they can be.

        Browsers used to have status bars that showed details about loading the page to regular users. They should have kept them, and they should show statistics about how heavy the page load is: total transferred, total JS vs html/css vs media, total cpu usage, cpu usage per minute, memory usage, high and low watermarks, gpu usage?.

        Over time people would come to understand that some websites are way heavier than others, and prefer the lighter alternatives where practical. At least some more web-dev engineering managers may come to appreciate the value of not having absurdly bad efficiency.

        And now, why are some company's minor mobile apps 500MB, when an open-source native mobile app can be like 20MB? Same thing - because they can.

        Replies (1)
        1. You should check Ladybird memory usage. It’s way lower.
          Replies (2)
          1. Think I’m wrong about this. Ignore.
          2. I just checked on this page vs chromium. They have the same amount of ram used. Then I navigated to google maps, the same place on the map and ladybird used muuch more ram 1.6GB vs 1.1.
            Replies (2)
            1. Were any of those sites a Google site?

              Continue this thread (1 replies) →

            2. Are you aware that Google has been known to serve more optimized versions of their websites to Chromium users to make Chromium seem faster?
    3. > This is a fully independent engine funded by no-strings-attached sponsorships.

      They claim this frequently, but isn't a sponsorship inherently "strings attached"? A major sponsor (e.g. Shopify) can easily influence the browser developers by threatening to pull funding, especially when developers' full-time jobs depend on that funding.

      It seems like a very naive view of how funding works.

      Replies (5)
      1. Moreover, it's unclear how this differs from Google's ties to Mozilla; I doubt they actually put their demands in a contract.
        Replies (1)
        1. Google pays Mozilla to be the default search engine. Yes, they have a contract.
          Replies (2)
          1. I mean the softer stuff, like tacitly allowing tracking, DRM, ads.
          2. Which doesn’t bother me in the slightest. I’ll worry when they start telling them how the browser should work.
            Replies (1)
            1. Manifest v3............

              Continue this thread (1 replies) →

      2. Their stated position seems to be to ignore such threats regardless of the outcome. Unclear if they would hold in the long term should that happen but I’m willing to give them a chance.
      3. Depends how easy it would be to find an alternative. If it really is done on a shoestring, then the set of potential sponsors could be quite big.
      4. FWIW there's an entry on their FAQ page about this:

        > How can you be "independent" if you have sponsors?

        > All sponsorships are in the form of unrestricted donations. Board seats and other forms of influence are not for sale, and sponsors have no say in our technical roadmap or product direction.

        Replies (1)
        1. That doesn't clarify anything. Stating "sponsors have no [official] say" doesn't mean anything when the sponsor can always use the threat of ending their sponsorship as leverage.
          Replies (1)
          1. It's hard to imagine how threatening to end a sponsorship would equate to leverage against a project that was already developed on a shoestring budget.
            Replies (1)
            1. They pay multiple full-time developers' salaries using the sponsorship money AFAIK. Losing a major sponsor might mean laying someone off.
      5. See the original announcment of the US 501(c)(3) non-profit org - https://ladybird.org/posts/announcement/.

        And the bylaws of the oranization https://ladybird.org/assets/documents/public-records/2024-03...

        I am not a lawyer - but to a layman - it looks like they at least try to control this as best they can.

    4. I’m confused by why the default search engine thing is a big deal that can only be solved with a rewrite of a browser from scratch

      At the end of the day people can and should do what they enjoy

      Replies (1)
      1. > I’m confused

        Yes you are.

        > by why the default search engine thing

        This is not the argument.

        > is a big deal

        It is a big deal. It is not about the search engine.

    5. > not owned or funded by Google

      I love this goal, and I love Ladybird. But sadly, they have drifted from it in my view.

      Ladybird relies heavily on both Skia and Angle. These are both graphics libraries written by Google. Guess which of their projects is the core driver?

      So they are not truly independent of Google. They rely on Google Engineering.

      Sure, those libraries are Open Source and can be forked and maintained without Google. But so can Firefox or even Chrome.

      To be fair, these libraries are not how Google improves their will on the open web, which is the real concern. Still, I liked it better when they did not rely on Google tech.

    6. Firefox have a deal with Google, but the code is all open source. They could just fork it so you have a ready-made browser with no Google deal, but IIRC I've previously seen comments along the lines of "Firefox code is contaminated with Google code". Now it seems Ladybird is using Google libraries like Skia and ANGLE. Perfectly sensible in my opinion, but if they're willing to do that... why not just fork Firefox?