Re:Rust and C++ Interoperability in Chrome
by foota on Thursday August 20, 2020 @02:37AM
(#24220507)
I think that's a different goal from what chrome is looking for. It sounds like they want to be able to use their utilities and other code written in C++ from within rust, not integrated on a macro level.
Yes, when there is too much unsafe in a Rust codebase then the unsafe label inflates and the safety guarantees aren't as good. But the conclusion of that shouldn't involve changing definitions of what's unsafe and what isn't, but using less unsafe overall.
Rust can interface with C++, but it isn't well suited for too intimate interfacing. That's not where its strengths lie.