r/cpp • u/ilPlayerdiGD • 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
View all comments
Show parent comment
5
u/pjmlp Sep 26 '26
Meanwhile OS X has replaced NeXTSTEP Objective-C drivers with C++ drivers back in the 2000, which naturally run in kernel space.
Symbian and BeOS were written in C++.
Windows has had C++ in kernel space since Windows Vista, as kernel mode was added to Visual C++, and eventually the WIL template framework came to be, originally designed for drivers, naturally also running on kernel space for the most part.
Genode OS is also written in C++.
Hyper-V, a type 1 hypervisor, which are basically the revenge of microkernels, virtualizing OSes and serverless language runtimes on top, is written in C++.
Linus hate on C++ is nonsense, especially after they adopted Rust, where most of his complaints against C++ are equally valid.