r/cpp • • Jul 13 '22

Why does Linus hate C++ ?

308 Upvotes

436 comments sorted by

View all comments

8

u/top_logger Jul 13 '22

OOP, exceptions and bad design/reputation of STL.

As system software Engineer I am agree with him. At least partly. :).

4

u/elperroborrachotoo Jul 13 '22

Remembering that RDTSC is per-core and may jump backwards if your thread gets scheduled to another core: this is basically the entrance exam.

Remembering that std::vector::reserve exists: so mysterious, like, I can't even.

→ More replies (5)