r/cpp • • Sep 25 '26

Why C++ is so hated!!!

I love C++. High level + low level at the same time. But Linus Torvalds don't want C++ in the Kernel, industries hate it, people hate it but why? Why be so angry? Memory management? I mean ok maybe it has problems that I don't even see but why so much hate.

For me it's really sad! 😞

Why something so powerful it's so hated. Now I feel "strange" doing projects in C++ because… sometimes I question myself "Why do I write C++ code if people hate it". Can someone explain what is happening and… can I use C++ for fun in peace?

0 Upvotes

104 comments sorted by

View all comments

Show parent comment

2

u/t_hunger Sep 26 '26

Yes. If we had not been so annoying with our "rewrite your C project in C++" campaigning back in the day, we might have ended up with the Linux kernel being mostly C++ today. But we were super annoying as a community back in the late 1990s. I blame the strength of his reaction back then mostly to being super annoyed with us repeatedly nagging him to switch and ignoring his responses till it escalated.

2

u/pjmlp Sep 26 '26

Well, the whole Rewrite whatever in Rust seems to be going rather well, including the Linux kernel, which was originally started by Microsoft and Google employees.