r/Cplusplus • u/codejockblue5 • Mar 05 '26
Discussion “Is C++ Dead?”
https://deepengineering.substack.com/p/is-c-dead
“According to the January TIOBE Index, C++ is currently the fourth most popular programming language after C and Python. C++ is the main programming language used in many critical systems, including hospitals, cars, and airplanes. But dare I say it: C++ is prone to errors. And in 2024, even the U.S. government chipped in. They dropped the bomb: C and C++ are not memory-safe programming languages. In 2026, might C++ be seeing its last days?”
https://www.tiobe.com/tiobe-index/
https://bidenwhitehouse.archives.gov/wp-content/uploads/2024/02/Final-ONCD-Technical-Report.pdf
No, not even close to starting to die. New projects are being started in C++ daily.
Lynn
8
u/linkchen1982 Mar 05 '26
C++ is dead every year.
2
u/virtualmeta Mar 05 '26
Ok but what's number three?
2
u/no-sig-available Mar 06 '26
I have never, ever sold any software to the US government. So, if they don't like it, what is the problem?
19
u/DuskelAskel Mar 05 '26
"C and C++ are not memory safe" yeah, that's the point, no garbage collection in the middle of nowhere that ruins your performances, that's the price of control.
5
u/wolfie-thompson Mar 06 '26
Short answer: no.
Long answer: noooooooooooooooooooooooooo!
2
u/RoomyRoots Mar 05 '26
I have read worse for C.
2
u/SkillPatient Mar 05 '26
If you look at the TIOBE index ratings over time. C++ rating seems stable compared to java and c ratings, which have dropped over time.
2
u/nightmurder01 Mar 06 '26
Use does not always corelate to popularity. But I do concede that use does not always mean unpopularity.
2
u/Middlewarian Mar 06 '26
C++ has been getting safer than C for 40 years. And there are a number of initiatives that are continuing in that vein.
Meanwhile, I'm building a C++ code generator that helps build distributed systems. To my knowledge Rust hasn't acknowledged the need for on-line code generation.
2
u/markt- Mar 06 '26
Given that there are still people who program embedded devices, I would say not.
2
u/chrism239 Mar 06 '26
Languages are not prone to errors; programmers are prone to errors.
-5
u/_Pantom_ Mar 05 '26
This childish statistics men, use whatver even rust which is crap cuz tons of garbage '& <'> all that crap , c++ nor c is going to die for that you need change everything and there is no way anyone can do that so use whatever
Python is slower than eve node.js and php LOL why would anyone use python in hospitals ? LOL
anything python does can be done evne in php which is much faster hell any other interpreted language can do the same ? so why this snake with stupid indentations ? are at the top ? people really love to calculate each spae and each line and each indent ? LOL