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.

  • TomAwezome@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    7 hours ago

    Some people are truly sick and need a lot of help to change how their minds work. I respect your partner and their line of work. Hopefully they all can undergo thorough and intensive rehabilitative care as far away from society as possible until they are fit to be around vulnerable people.