Comment Comment by hsivonen Not a specific target of having to replace C++ for the sake of replacing C++.The way Rust code gets added includes:* A new feature needs an identifiable library, so the new library can be written in Rust to begin with. (Example: U2F token USB integration.)* Old code needs a rewrite anyway, so the rewrite can be in Rust. (Example: Character encoding converters.)* Servo has proven a component, so it makes sense to bring it over. (Examples: Stylo and WebRender)* History of vulnerabilities in code that was replaced. (Example: MP4 metadata parser) parent hsivonen 8 years ago
The way Rust code gets added includes:
* A new feature needs an identifiable library, so the new library can be written in Rust to begin with. (Example: U2F token USB integration.)
* Old code needs a rewrite anyway, so the rewrite can be in Rust. (Example: Character encoding converters.)
* Servo has proven a component, so it makes sense to bring it over. (Examples: Stylo and WebRender)
* History of vulnerabilities in code that was replaced. (Example: MP4 metadata parser)