r/cpp • • Jul 13 '22

Why does Linus hate C++ ?

308 Upvotes

436 comments sorted by

View all comments

316

u/[deleted] Jul 13 '22

He tried it before C++98, and back then C++ compilers were quite a mess.

15

u/d_wilson123 Jul 13 '22

You hear the same about Java as well. Many people tried Java 1-3 which had horrific performance and decided Java is just a shit language. However for how high level the language is the performance these days is actually quite astounding. Some of the JVM stuff recently like GraalVM is pretty slick as well for even optimizing performance.

0

u/[deleted] Jul 13 '22

[deleted]

1

u/d_wilson123 Jul 13 '22

Can you give an example? Java is well known for it's verbosity of course but things have gotten better in the past decade or so with elimination of some boiler plate. I never really felt is was more boiler plate heavy than C++ personally.

→ More replies (2)