3 ms·
Chrome security is encouraging use of memory safe languages via the Rule of 2: https://chromium.googlesource.com/chromium/src/+/main/docs/security/rule-of-2.md
by wffurr 1y ago
Chrome security is encouraging use of memory safe languages via the Rule of 2: https://chromium.googlesource.com/chromium/src/+/main/docs/security/rule-of-2.md https://chromium.googlesource.com/chromium/src/+/main/docs/s...
IIRC Crubit C++/Rust Interop is from the chrome team: https://github.com/google/crubit https://github.com/google/crubit
- mike_hearn 1y agoMemory safe languages aren't allowed in the Chrome codebase. Java is only for Android, Swift only for iOS/Mac, and Rust only for third party uses. That might well change, but it's what their docs currently say.
- steveklabnik 1y ago> That might well change, but it's what their docs currently say. It's not, actually: https://source.chromium.org/chromium/chromium/src/+/main:docs/rust.md https://source.chromium.org/chromium/chromium/src/+/main:doc... > Rust can be used anywhere in the Chromium repository (not just //third_party) subject to current interop capabilities, however it is currently subject to a internal approval and FYI process. Googlers can view go/chrome-rust for details. New usages of Rust are documented at rust-fyi@chromium.org. It is true that two years ago it was only third party, but it's been growing ever since.