4 ms·
Rust adds a lot of complexity (a new language) and does not even offer a general approach to automated correctness verification (not saying that C++ is better i
by amelius 2y ago
Rust adds a lot of complexity (a new language) and does not even offer a general approach to automated correctness verification (not saying that C++ is better in this regard). Maybe it is just better to wait for Rust++.
- SahAssar 2y agoRust is already in the firefox codebase (hell, it was basically invented to be used in firefox) so it doesn't add any complexity.
- dwattttt 2y agoRust is not a new language for Firefox, some of Firefox is already written in Rust.
- pornel 2y agoRust is much better suited to static analysis and formal verification than C++, primarily thanks to stricter pointer aliasing, immutability without loopholes of const, and thread safety annotations in the type system. Most things that are advanced correctness verification in C++ are regular compiler errors in Rust.
- deleted 2y ago[deleted]