However, that doesn’t mean it’s always super easy. C++ interoperated with C even more easily: just compile your code with the new compiler! With Rust, it’s more like FFI.
https://cxx.rs/ is at the forefront here.
> it hasn't happened in the decade that Rust has been around
This seems to imply that no C++ codebase has had Rust added to it. This is not true, just to be clear, there are. Firefox, for example. Chrome soon. All kinds of things. I also may have misunderstood you!
Its not clear that you even read the linked post on GitHub before commenting.
The first post in that GitHub thread says: "This should be thought of as a "port" instead of a "rewrite" because we would not start from scratch; instead we would translate C++ to Rust, incrementally, module by module"
> then the transition is unlikely to happen anytime soon (it hasn't happened in the decade that Rust has been around)
As of a year ago, 10% of FireFox had been ported over (https://news.ycombinator.com/item?id=30744057). This is the overall effort started in 2014 https://wiki.mozilla.org/Oxidation
The best time to start rewriting everything in an ML-family language was 20 years ago; the second-best time is today.
Edit: I assumed that "ML" here stood for Machine Learning, it appears that was not the case.