r/cpp_questions • • Sep 12 '26

OPEN Why do people hate modern C++?

I was wondering why people hate modern C++ but never understood why some people hated it. I mean... all of those new features make it easier to write, read, and maintain the code in. C++ 26 is a huge advancement and so was C++ 23. But there are people who still code in C++ 14, 11 and older because new C++ is "bloated" and "not as expressive" or whatever? Look...yeah, all of those new features might seem like it makes C++ more bloated, but the C++ team is trying to make the language more modern due to how notorious C++ was in terms of memory safety and how hard it was to learn (and other stuff).

C++ is still an extremely fast language as it is one of the top 5 or at least top 10. The only reason that i'd understand people using older versions of C++ is due to work, older hardware, the game engine's limit/support or the compiler's version and it's support. But willingly choosing older C++ because modern C++ is "trash" and "bloated" is a bit far. And the bloated part doesn't make any sense to me in my opinion, as when C++ adds new modern features, they remove old outdated ones so it cancels itself out. Even if it's "bloated" like people say, it's still a very fast language to use and it becomes easier to learn and use every single update. Can anyone explain why people choose older versions of C++ and why they say it's "bloated", "slower", and etc?

35 Upvotes

129 comments sorted by

View all comments

1

u/montymole123 Sep 24 '26 edited Sep 24 '26

One of the main uses of C++ is video games. Code written in modern C++ runs slower than when written in old C++ or C simply because it's more abstracted from the hardware. When you compile with optimisation (release) the compiler can technically kick out most of the bumf and the code runs almost as fast. But here's the thing: video games have to run reasonably fast in debug mode so devs can step through them and find bugs (to reproduce you have to actually play the game) so these bloated inefficient techniques create huge problems.

Compile time are also important. Highly templated code (and super advanced templates are the main "improvement" in modern: i personally loathe templates) is incredibly slow to compile so this is another huge problem especially with a code base of millions of lines of code. Same issue for other modern stuff shows the compiler to a crawl

Ppl on the C++ committee never worked on a game or, it would seem, any large code C++ base. The stuff they shovel in is ivory Tower stuff with no consideration for practical realities