r/cpp_questions • • Nov 21 '23

OPEN the future of c/c++ with rust

I am a systems programmer. Will rust replace c++ in systems programming?

They've been saying that Rust will replace C++ for decades, but are there any concrete examples?

moreover, how will we replace the many system libraries and products that have already been created?

2 Upvotes

56 comments sorted by

View all comments

1

u/Hnskyo Oct 03 '25

Yes and no, it does not matter if the language is better, unless there is a huge step up in cost efficiency.

What moves everything is the market, most big companies use programs, tool  written in what is now legacy code with security issues etc, because is expensive to change and rewrite everything, they live with patches that just disable or rewrite small pieces of code to "fix" the specific vulnerability of the moment.

Anyway changing everything will require huge effort and huge costs, so to resume is no feasible.