4 ms·
I wonder how long it would take an experienced developer to rewrite all of Chrome in Rust. It would probably take a special person though who is an expert in C+
by xyzzy4747 4y ago
I wonder how long it would take an experienced developer to rewrite all of Chrome in Rust. It would probably take a special person though who is an expert in C++, Rust, and the codebase.
- superdimwit 4y ago30 years?
- xyzzy4747 4y agoWhy do you think that? How complicated could it possibly be? Also as a person becomes more of an expert in a specific thing, they make progress much faster (if they remain motivated). Also it’s just rewriting the logic. One could theoretically write unit tests for every function to make sure the inputs/outputs match.
- epinephrinios 4y agoThere are no "special" persons or superheroes. It is all about time + money. If a tech giant wants this to happen - e.g. because memory un-safety is mostly the root of all evil - they can use people from the current team and throw a few millions on hiring new talent.
- pkasting 4y agoWell, Chrome has many, many hundreds of developers who have worked for many years on the codebase. If we froze the world and turned the whole team over to writing Rust, and we assumed people were perfectly productive in Rust from day one, we could maybe do it in five years.