An unofficial, read-only Hacker News reader.

Ladybird is now in alpha (opens external site)

2476 points by janvdberg 6 days ago | ladybird.org | 748 comments on HN

View full thread · View on Hacker News

Comment thread (5)

  1. A web browser feels more amenable to AI than most other software projects.

    You have great specs for prompting. You have great test suites that you can use as verification criteria. Literally all meaningful implementations of these specs are open source, baked into the weights to some degree, and have many people writing publicly about their internals. You aren't really designing your own features from scratch; a lot of your work is of the "this site doesn't work, please fix site" kind, and that, given decent enough tooling which browsers do have, is also relatively easy for AI to do.

    This is very different from game dev for example, where you're working with an engine which hasn't been designed for headless operation from the outset, and your actual goal is max(fun), not max(correctness), which is a lot harder to quantify and requires taste, human testing and many shots on goal.

    Sure, you still need human devs in charge to take care of the architecture, tech debt, code quality and such, you can't vibe code a truly great web browser, but those humans can be significantly accelerated by AI.

    I know the Ladybird folks realize this and this certainly isn't news to them; Andreas seems plenty AI-pilled to me.

    I think AI is what's finally going to break the web browser monopoly.

    Replies (1)
    1. great comment, web browsers used to be kind of a doomed project. I wonder if there are any other types of programs that are optimal for AI.

      First thing that came to mind is the age-old advice to never roll your own crypto, it likely still holds but I wonder if the risks of that have changed, I guess it did but because it is adversarial and both sides have AI it evens out.

      Maybe we start to see more completely new Operating Systems?

      Replies (2)
      1. I would guess crypto would be the worst type for just blindly using AI, it was never hard to roll your own crypto following a spec and get indistinguishable inputs/outputs from the battle tested libraries.

        The danger on rolling your own, on the application side was always holding the library wrong, using primitives that depend on premisses your application doesn't hold, like passing a predictable nonce to a function that needs a random one to be safe. On the library side was always the risk of leaving a side-channel open, a function that is a bit too fast/too slow depending on the input, that leaves some critical memory or file exposed to other parts of code.

        Luckily for us, most AIs worth their salt should catch these problems now.

      2. I think emulators and reverse-engineering are definite examples — the latter more because it's so easy to RL on it, not necessarily because the end-result is verifiable. Exploits and vulnerability finding also qualify.

        I'd say crypto is probably relatively unfriendly, there is no way to "verify" that an implementation is correct (LEAN???). The way I understand "don't roll your own crypto" is as "use the crypto that hundreds of independent eyes have looked at and 0 of those eyes have found unfixable problems in." This is not really something you can fix with AI.

        I think operating systems would go great. A lot of OS work is drivers, and AI is very good at figuring out hardware, thanks in no small part to the above-mentioned reverse engineering skills. There are also a lot of public and well-known examples of techniques that LLMs can learn from.

        I think what won't go so great is proprietary software, written in proprietary languages, in domains where the documentation says to ask Mike when he's back from vacation, where all the important secrets are on brains and maybe on paper, but definitely not on the public internet, and where testing involves precious time in a very expensive lab, and is observed by a team of expensive auditors in expensive suits. In other words, what PRE-AI people would have called "dead end careers that barely pay a living wage in a third-tier city."

        Replies (1)
        1. I think that drivers are a great example of what AI is great at. You see people that have created dozens of drivers for old operating systems for example.

          It makes sense. There is real hardware that you can probe and discover behaviour. It is totally clear if things are working or not. There may be other implantations (for other operating systems) to reference (even binary only proprietary ones). This kind of tedious and iterative work is what humans sucks at and where AI thrives.