with a generous $1M contribution from Google
1M only? Google pays 500M (half a billion Dollar) to their rival Mozilla Firefox. Each year. I don’t want to make this a Mozilla thread, just want to say they could have done more than just a million Dollar for Rust. Given that Google uses Rust as well.
The money Google pays to Mozilla has a direct ROI, since more people use their search engine.
Giving money to the Rust foundation only helps Google very indirectly, by being generally benefitial to software companies.
Google is using Rust more and more in Android, Chromium. So its in Googles direct interest to have a better interoperability between Rust and C++. https://www.theregister.com/2024/03/31/rust_google_c/ and https://www.techradar.com/pro/google-hails-move-to-rust-for-huge-drop-in-memory-vulnerabilities are articles talking why Google likes using Rust.
I bet this won’t have an impact on memory safety and interop means C++ compilers have to be stricter about memory layout and reduce unspecified edge cases.
@onlinepersona @snaggen Indirectly it can. Recent studies showed that old code is very unlikely to have security issue. This means that if all new code can be in Rust, while keeping the old code in C++ will be much more secure that rewrite all C++ (because by definition rewrite have more bugs since its new code). So interoperability is both safer and cheaper.