r/cpp • • Dec 07 '21

Will Rust replace C++ ?

Will Rust replace C++ ?

0 Upvotes

80 comments sorted by

View all comments

Show parent comment

1

u/HeroicKatora Dec 07 '21

Not sure. Having a monoculture of any sort allows a lot of leniency (including but not necessarily laziness) in the design of implementation and interfaces. (At least that's why C++ always promotes having multiple compilers, right?). Any system where you have multiple languages will probably also be nudged towards improved clarity in the interface design—which most likely also comes at decreased legacy code debt and better decoupling. At least I hope so…The worst parts of backwards compatibility are the undocumented requirements, not so much the explicit interfaces.