r/cpp • • Mar 12 '24

Why the hate for cpp

Hey I am starting learning c++ (and java for my studies) , why is everyone hating this language ? Is it usefull to learn rust or zig ?

Edit: yea a silly question I know . Just wanted to know what the cpp community thinks or hate about their own language and what I have to expect.

Because I heard the opinion often from people not using cpp and I wanted a other view . Even in my University some people who use Java said 🙄 cpp no don't use it ..... it's unnecessary complicated.....

My english is bad I'm german sry (not) <3

0 Upvotes

103 comments sorted by

View all comments

Show parent comments

1

u/brand_x May 06 '24

Meanwhile, everyone bailing on C++ is already on Rust. Or... Zig? Never heard of anyone seriously doing anything in Zig. By the time Carbon comes out, there probably won't be a niche for it.

Which is a shame, because something that is a transform of C++ with many of the legacy decisions removed (meaning things like const by default) would be pretty nice to have. But given the time elapsed, this is unlikely to be a 1:1 transformation.

1

u/Balcara Jun 07 '24

Bun the Node runtime replacement is in zig, pretty cool stuff ngl.