Hacker News new | ask | show | jobs
by DetroitThrow 123 days ago
It's pretty hard to have an accidental a use after free in the FireFox CSS engine because it is mostly safe Rust. It's possible, but very unlikely.
2 comments

That came to my mind as well. CSS was one of the earliest major applications of Rust in FireFox. I believe that work was when the "Fearless Concurrency" slogan was popularized.
Yup. To this day, Firefox remains the only browser with a *parallel* CSS engine. Chromium and WebKit teams have considered this and decided not to pursue since it's really easy to get concurrency wrong.

If I recall correctly, the CSS engine was originally developed for Servo and later embedded into Firefox.

Firefox and Safari developers dared the Chromium team to implement :has() and Houdini and this is the result!

/s