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. :).

-7

u/pjmlp Jul 13 '22

He will get all of those in Rust (they just happen to exist in different ways), with an npm like ecosystem, what isn't there to love.

-7

u/top_logger Jul 13 '22

Rust has neither exceptions nor 'classic' OOP.

Rust's std is much better than ill-fated C++ STL.

Ecosystem is also better in Rust.

Still the Rust as a language is extreme complicated. Probably too complicated.

I am NOT big fun of Rust, as you correctly mentioned Rust has own drawbacks, but Rust is the only serious alternative to C++.

→ More replies (1)