logoalt Hacker News

nothrowstoday at 5:46 PM5 repliesview on HN

This is sort of hilarious if you think about it. The Firefox browser is completely written in Rust. Now Ladybird is a "human-directed ai" Rust browser. Makes you wonder how much of the code the two browsers will share going forward given llm assisted autocompletes will pull from the same Rust Browser dataset.


Replies

d-us-vbtoday at 5:54 PM

Probably not much: the requirement is exact equivalence of program inputs to outputs, and as such the agents are performing very mechanical translation from the existing C++ code to Rust. Their prompts aren't "implement X browser component in rust", they're "translate this C++ code to Rust, with these extra details that you can't glean from the code itself."

hu3today at 7:37 PM

I wonder where did you get the idea that Firefox was all Rust. Made me curious.

feverzsjtoday at 6:04 PM

It's like only 10% of Firefox is rust.

DetroitThrowtoday at 6:38 PM

Only a small portion of Firefox is written in Rust. Apparently some of the most performant and least buggy parts are those in Rust, but again, only parts like the CSS engine.

TiredOfLifetoday at 7:03 PM

https://github.com/mozilla-firefox/firefox Rust isn't even mentioned in languages used.