Hacker News new | ask | show | jobs
by projct 2056 days ago
I would bet that most libraries chrome uses for file format parsing would not lose any performance at all if rewritten in rust.
2 comments

You don't even have to drop the remaining zero-days if you apply enough performance hacks using unsafe.
I believe your comment under appreciated the utility of having all unsafe functionality clearly marked as such, with the additional scrutiny that such a label would bring. Instead of having to look through the entire codebase for memory issues, only small set of areas would need to be validated.
The problem is you’d have to rewrite them.