76

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.

you are viewing a single comment's thread
view the rest of the comments
[-] Blisterexe@lemmy.zip 16 points 1 day ago

Actually not a terrible way to use AI. Hopefully the port goes well

[-] Solumbran@lemmy.world 26 points 1 day ago* (last edited 1 day ago)

There will be people defending ladybird no matter what huh

[-] Peer@discuss.tchncs.de 14 points 1 day ago

I read the comment to only refer to the way AI was used.

this post was submitted on 23 Feb 2026
76 points (100.0% liked)

Open Source

44789 readers
920 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS