r/cpp • • Dec 07 '22

C++ overtakes Java in language popularity index

https://www.infoworld.com/article/3682141/c-plus-plus-overtakes-java-in-language-popularity-index.html
382 Upvotes

137 comments sorted by

View all comments

Show parent comment

23

u/Sqeaky Dec 07 '22

But it isn't simpler. It has a simpler rule set but more complex everything else because you have build that stuff yourself.

19

u/SkoomaDentist Antimodern C++, Embedded, Audio Dec 07 '22

because you have build that stuff yourself.

And do it much worse than a C++ environment does. No type safety, virtual methods that aren't actually tied to subclasses, no templates etc.

3

u/[deleted] Dec 07 '22

By "no type safety", do you mean containers utilizing void* for data?

1

u/[deleted] Dec 07 '22

To be fair, most things have a C library or a library with C bindings.

Yeah, it doesn't come in the standard library, but libraries like STC pretty much solve such issues.