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
- Respect instance rules.
- Don't be a jerk.
- Please keep all posts related to C++.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.