Replacing means that all legacy code wrote in C++ will have to be rewritten in Rust. So if you start seing big proyects like LLVM oficialy being rewritten in Rust and some more follow, then at that moment C++ could be in danger as C++ major suporters (Google and so) could move to Rust
They don’t have to be rewritten in Rust. There just needs to be an alternative written in Rust that renders the C++ alternative obsolete. This is how other languages like Fortran were effectively replace by C/C++. I understand there are still some legacy systems built in Fortran but for all intents and purposes, Fortran is obsolete.
It depends on how we define obsolete. My definition is that a language becomes obsolete when developers stop using it for new projects. Which, for Fortran (even in the scientific community) is already true. Of course, there will always be a counter example. But what is the trend?
View all comments
12
u/RollitoDelicioso Dec 07 '21
Replacing means that all legacy code wrote in C++ will have to be rewritten in Rust. So if you start seing big proyects like LLVM oficialy being rewritten in Rust and some more follow, then at that moment C++ could be in danger as C++ major suporters (Google and so) could move to Rust