this post was submitted on 17 Sep 2024
36 points (95.0% liked)

C++

1805 readers
2 users here now

The center for all discussion and news regarding C++.

Rules

founded 2 years ago
MODERATORS
36
submitted 3 months ago* (last edited 3 months ago) by cmeerw to c/cpp
you are viewing a single comment's thread
view the rest of the comments
[–] lysdexic -3 points 3 months ago (1 children)

If you could reliably write memory safe code in C++, why do devs put memory safety issues intontheir code bases then?

That's a question you can ask to the guys promoting the adoption of languages marketed based on memory safety arguments. I mean, even Rust has a fair share of CVEs whose root cause is unsafe memory management.

[–] FizzyOrange 2 points 3 months ago (1 children)

No it doesn't, that's bullshit.

[–] sukhmel 3 points 3 months ago (1 children)
[–] robinm 3 points 3 months ago

The fact that rustc has bugs (which is what cve-rs exploit) doesn't invalidate that rust the language is memory safe.