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