this post was submitted on 23 Feb 2026
8 points (83.3% liked)

Ladybird

118 readers
3 users here now

A community to discuss about the Ladybird browser

Rules

  1. Don't be an asshole
  2. Posts must be related to the Ladybird browser

Note that moderation is done at the moderators' discretion.

founded 5 months ago
MODERATORS
 

I'm a bit disappointed by their use of LLMs for this, as I don't trust it for something as important as a web browser.

you are viewing a single comment's thread
view the rest of the comments

 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.

The requirement from the start was byte-for-byte identical output from both pipelines. The result was about 25,000 lines of Rust, and the entire port took about two weeks. The same work would have taken me multiple months to do by hand. We’ve verified that every AST produced by the Rust parser is identical to the C++ one, and all bytecode generated by the Rust compiler is identical to the C++ compiler’s output. Zero regressions across the board

The code produces identical output to the handwritten one.