this post was submitted on 25 Sep 2024
384 points (92.9% liked)

Programmer Humor

19623 readers
26 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 2 months ago (2 children)

C++ when it was new was exactly like this. Rust still hasn't had 30 years of legacy, all these Rust prophets will shit on it's name in 15 years when they have to maintain huge codebases with it

Besides, C++ is very likely to adopt memory safety

[–] [email protected] 2 points 2 months ago

Now it seems the way is unique_ptr and shared_ptr. And std::any to replace void*. At least is what it seems to me.

[–] [email protected] 2 points 2 months ago

Yeah, that's my guess too.

As to whether C++ can update enough to steal it's thunder, I feel less qualified to answer. It'd be pretty impressive if they managed to preserve backwards compatibility and do that at the same time, though.