A full takeover is unlikely in the near term. Rust is growing, especially in new projects, but C++ has a very large installed base and keeps adding features. Whether Rust “overtakes” C++ depends on how you measure it: the share of developers using each language, job demand, new projects or the amount of code in production. Each measure gives a different answer, and the changes are likely to be gradual.
What “overtake” would mean
- Share of developers: the proportion who use each language, as surveys track it.
- Job demand: how many roles ask for each language.
- New projects: where teams start fresh work, which may favor Rust more than existing projects do.
- Code in production: the amount of working code in each language, where C++ holds a very large lead.
Why C++ has staying power
- A large installed base. C++ is used in game engines, trading systems, scientific software, compilers, browsers and embedded work, and much of that code is decades old.
- Ongoing standards. C++20 added concepts, ranges and modules, and C++23 added more features. The language keeps evolving.
- Mature tooling. Compilers, debuggers, profilers and libraries have been refined over decades.
- Teaching material. Many books, courses and university programs still teach C++.
Why Rust keeps growing
- Compile-time safety checks. The compiler rejects many memory bugs before a program runs.
- Package management. Cargo, Rust’s build and package tool, makes adding libraries straightforward.
- Adoption in infrastructure. Rust support is now part of the Linux kernel, and some large companies have moved parts of their systems to Rust.
- Gradual adoption. Rust can call C code, and C code can call Rust, so teams can add it one component at a time.
Why rewrites are slow
Rewriting a working C++ codebase costs time and can introduce new bugs. Most teams that adopt Rust add it to new components and keep the rest of their C++ code, connecting the two through a foreign function interface. That approach spreads the cost and risk over years, which is one reason “overtake” is likely to be a slow process.
What a C++ learner should take from this
C++ remains a strong skill for many jobs, and learning it well does not lose value because another language is growing. The question “Is C++ a dying language?” gets strong opinions. The practical picture is that C++ is still widely used and still evolving, so learning it remains a sound choice for many careers. Whether it suits your goals depends on the work you want to do.
Understanding ownership, lifetimes and memory layout in C++ also prepares you for Rust, and the reverse is true too. The question “Is C programming still relevant in 2026?” has a similar answer: C remains common in embedded systems and operating systems, and that work continues.
Bottom line
Will Rust overtake C++? It may gain ground in some areas, such as new systems projects, but a general replacement is unlikely anytime soon. Both languages are likely to share the field for many years.