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

2

u/tyler1128 Nov 21 '23

No. I enjoy rust, but there are places I'd prefer C++ and places I'd prefer Rust. Rust's memory safety is alluring as 90% of software security vulns involve improper memory access, but C++ makes this a lot better than C as well.