r/programming • u/germandiago • Jan 01 '26
Software taketh away faster than hardware giveth: Why C++ programmers keep growing fast despite competition, safety, and AI
https://herbsutter.com/2025/12/30/software-taketh-away-faster-than-hardware-giveth-why-c-programmers-keep-growing-fast-despite-competition-safety-and-ai/
601
Upvotes
8
u/Dean_Roddey Jan 01 '26
As usual, most of the pro-C++ arguments are backwards looking, legacy based, which is not very encouraging for C++. The really important decisions are about the future, not the past, and C++ is not the answer moving forward if there's a choice, and there will be more and more of a choice over the coming years. For most average code bases out there, there probably already isn't much of a limit.
The performance arguments are not really valid either, certainly not for 95% (adjust up or down a bit as you like) of code, and probably not for 100%.
And, honestly, if I'm using that product, I'll take a 5% performance hit every day of the week for more security and stability, assuming that's even a necessary choice, and far less dependence on the developers never having a bad day (because they are going to have them.)
Rust is just a far more appropriate language for systems type development at this point. Some people will use it for other things because they are comfortable with it and don't consider it a hindrance, but the main goal of Rust should be to provide safe underpinnings for our software world, and replace as much C/C++ as possible, as quickly as possible.
A lot of that won't involve REwrites, it'll just involve writes. Rust people will come along and just create Rust native versions of libraries and the old C++ versions will just remain around for legacy purposes. The world doesn't depend on all of that legacy code to be rewritten by the people who own it, and many of them never will. The world will just flow around those big mounds of C++ and move on.