Oh, and don't forget that #Google donated $1,000,000 last year with a more narrow target: Rust and C++ interoperability: https://rustfoundation.org/media/google-contributes-1m-to-rust-foundation-to-support-c-rust-interop-initiative/.

When I was at Google, I had a lot of fun writing #Rust and calling into it from #Cpp with #Crubit. It supports bi-directional interop between the two languages, for some subset of both. See https://github.com/google/crubit if you're interested, though I don't actually know if this builds in the open without using #Bazel.

Google Contributes $1M to Rust Foundation to Support C++/Rust “Interop Initiative” - The Rust Foundation

Google’s generous contribution of $1M USD will help the Rust Foundation make meaningful contributions to improve the state of interoperability between the Rust and C++ programming languages.

The Rust Foundation
There is also a blog post by Lars Bergstrom: https://security.googleblog.com/2024/02/improving-interoperability-between-rust-and-c.html There Lars mentions some of the cool #Rust crates that we've contributed to: #cxx, #autocxx, #bindgen, #cbindgen, #diplomat, and #crubit. Some of these projects are from #Google, others are open source projects that we use and contribute to.
Improving Interoperability Between Rust and C++

Posted by Lars Bergstrom – Director, Android Platform Tools & Libraries and Chair of the Rust Foundation Board Back in 2021, we announced...

Google Online Security Blog

@CppCon Rust is not mentioned at all throughout the talk. But Bjarne again points out that any alternative language would need to have interoperability with C and C++. He claims this is often underestimated.

I don't agree with that it is ignored or down-played: Google (and other companies) are investing into Rust and C++ interop, see https://github.com/google/crubit and https://github.com/google/autocxx as important examples of work in this area.

#interop #crubit #cxx

GitHub - google/crubit

Contribute to google/crubit development by creating an account on GitHub.

GitHub