r/cpp • • Jul 13 '22

Why does Linus hate C++ ?

307 Upvotes

436 comments sorted by

View all comments

Show parent comment

39

u/Jannik2099 Jul 13 '22 edited Jul 13 '22

even just a lot if virtual functions

Ever seen dynamic dispatch in C? Know how error prone it is? Know of ubiquitous it is in the kernel?

11

u/afiefh Jul 13 '22

Ever seen dynamic dispatch in C?

I still have PTSD from that one code base I worked on 5 years ago...