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

Programmer Humor

19447 readers
129 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 1 month 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 1 month 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.

[–] [email protected] 2 points 1 month 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.