| Not bad but a little bit of a publicity stunt. A major source of vulnerabilities is (still) the Javascript engine and that's (still) written in C++. Even worse, as far as I know, Mozilla has no plans to rewrite even parts of Spidermonkey in Rust. For some recent examples: https://usn.ubuntu.com/3688-1/ https://usn.ubuntu.com/3749-1/ |
There will probably always be C++ code in Gecko, but I firmly believe that writing more components in Rust instead of C++ will (in general) improve security and developer productivity.
It still amazes me that we're actually shipping a browser with a CSS engine (and soon graphics engine!) written in Rust. Even more amazing is that these components are mostly shared with an entirely different browser engine.