We’ve been searching for a memory-safe programming language to replace C++ in Ladybird for a while now. We previously explored Swift, but the C++ interop never quite got there, and platform support outside the Apple ecosystem was limited. Rust is a different story. The ecosystem is far more mature for systems programming, and many of our contributors already know the language. Going forward, we are rewriting parts of Ladybird in Rust.

Porting LibJS

I used Claude Code and Codex for the translation. This was human-directed, not autonomous code generation. I decided what to port, in what order, and what the Rust code should look like. It was hundreds of small prompts, steering the agents where things needed to go. After the initial translation, I ran multiple passes of adversarial review, asking different models to analyze the code for mistakes and bad patterns.

  • Solumbran@lemmy.world
    link
    fedilink
    arrow-up
    97
    arrow-down
    12
    ·
    29 days ago

    “We want rust for safety. That’s why we made the code in the most unreliable way to code known to humanity”.

    Not surprising from the devs that think that not being a fascist is political I guess

    Edit : ah apparently the guy is not trying to be an enlightened centrist anymore and is a full-on nazi. Heh, who could have guessed? /s

      • Solumbran@lemmy.world
        link
        fedilink
        arrow-up
        31
        arrow-down
        1
        ·
        29 days ago

        It keeps on coming back and ladybird supporters keep on trying to tone it down because they don’t want the project to die. But yeah, the guy seems like a big piece of shit.

    • SwooshBakery624 [they/them]@programming.devOP
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      9
      ·
      edit-2
      29 days ago

      I will copy my comment here:

      Just so you know, Drew DeVault is a pedophile apologist. He cannot even remotely be considered a reliable source of information.

      However, I completely agree regarding the use of AI, especially in a project such as a browser engine.

      EDIT: I accidentally replied to this comment instead of the one with the link to Drew DeVault’s blog. My bad.

      • UnspecificGravity@piefed.social
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        4
        ·
        29 days ago

        Most of the information that you get about terrible people comes from terrible people because that is who knows them. Should we discount Trump accusations from Epstein because they came from a known pedo? No, pedos are the people that Trump hangs out with because that is what he is.

        • TomAwezome@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          11
          ·
          29 days ago

          Given that Drew Devault has pity for pedophiles, the correct choice is to discount anything he says, much like you should discount anything Trump or Epstein claims without further primary sources of evidence from unaffiliated parties

      • orc girly@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        29 days ago

        That is appalling, and I don’t mean to diminish the importance of this, but if the claims on fascism stand to scrutiny then it’s not relevant, and if the claims don’t stand to scrutiny they can be easily refuted.

        Edit: and to be clear, I know DHH, I’ve read his blog and his social media activity, he’s clearly a fascist.