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.


I will copy my comment here:
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.
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.
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.
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
This is not at all comparable to Trump/Epstein. Drew was only pitying pedophiles, not actual rapists This may come as a surprise to you, but there is a very clear difference (one is a choice, the other is not).
Nobody should pity pedophiles, you should want them removed from society permanently. If that’s controversial, so be it
Then you’ve probably never really thought about what pedophilia actually means. My partner works with pedophiles in a clinical setting and there’s way more people with pedophile tendencies than you’d think (or at least than I thought). Most of them realise it’s a problem early on and seek help, some live in shame for most of their lives and only a tiny percentage actually does something to kids. Obviously, this shouldn’t happen at all (!!) but saying „all pedophiles should be removed from society“ is no solution to anything. Just to be sure: I have no idea what the ladybird-guy said about this topic, nor do I know who he is (or even what Ladybird is. I now know it’s a Browser, but that’s it).
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.
With this line of thinking I’d rather remove you from society
You’d agree of course, that pedophiles should be removed from society? Is the idea of shaming pedophiles and pedo apologists some kind of line in the sand that shouldn’t be crossed in your eyes?
No, I would most definitely not. In the same way that I would not agree that we should remove all men from society just because they make up the majority of rapists.
Yes.
Right, all rapists should be removed from society, regardless of gender