this post was submitted on 15 May 2024
591 points (97.0% liked)

Programmer Humor

19564 readers
795 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] 2 points 6 months ago (5 children)

C++ is just as "safe" as Rust if you use modern language features (std::unique_ptr, for instance). I would argue that anyone who says Rust provides better memory safety than C++ most likely is not familiar with modern C++ and still sees the language as "C with classes."

[–] [email protected] 22 points 6 months ago (1 children)

I would argue that anyone who says C++ provides a similar level of memory safety as rust hasn’t done serious development work in either language.

load more comments (3 replies)