this post was submitted on 02 Mar 2025
36 points (97.4% liked)

C++

1920 readers
4 users here now

The center for all discussion and news regarding C++.

Rules

founded 2 years ago
MODERATORS
 

Bjarne Stroustrup, creator of C++, has issued a call for the C++ community to defend the programming language, which has been shunned by cybersecurity agencies and technical experts in recent years for its memory safety shortcomings.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

The problem is unsolvable. In order to make C++ memory safe, the language has to be changed so much it might as well be a new one - requiring a rewrite of existing codebases.

If what we are talking about then is a completely new C++-like language, which will take a decade or more to develop, we might as well just use Rust, which is available right now and working surprisingly well.

This is exactly what Google and others have decided to do.

C++ is not going away, due to the staggering amount of existing code. But its usage will stop growing and then start to slowly shrink.