r/cpp_questions • u/kyan100 • Sep 13 '24
OPEN Why Linux community hates C++ so much?
It seems like they have an extreme disliking towards C++. Especially the kernel developers. Linus has even said he doesn't allow C++ in kernel just to keep C++ programmers away. Which sounds very weird because C++ seem to be used in all kinds of complicated systems, and they are fine.
175
Upvotes
18
u/clusty1 Sep 13 '24
Recently I wrote again some C ( ported c++ ) and damn, the mem management is a pain: allocation of temp scratch buffers forces a ton of boilerplate.
In no way is such code faster, just uglier and more error prone.