this post was submitted on 14 Mar 2024
1283 points (98.5% liked)

Programmer Humor

19606 readers
558 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
[–] technom@programming.dev 13 points 8 months ago* (last edited 8 months ago) (1 children)

That's misinformation. There's no overestimation. The problem is so bad that even the US government advocates the use of memory safe languages (including GC languages).

I have used C and C++. You need laser sharp focus to avoid memory safety errors even after you learn what causes them and how to avoid them. It's significantly easier to write programs in Rust because any lapse in care to avoid memory safety bugs are caught by the compiler.

[–] magic_lobster_party@kbin.run -1 points 8 months ago (1 children)

What I mean is that even if you use GC languages like Java or Go you will still encounter annoying bugs. I’m not saying that memory safety isn’t important.

[–] technom@programming.dev 6 points 8 months ago (1 children)

You said bugs caused by 'memory problems'. And that Rust programmers vastly overestimate them. Those aren't generic logical bugs that you get in Go or Java. And Rust never claimed to solve logical bugs.

[–] magic_lobster_party@kbin.run 1 points 8 months ago

I’m more poking fun at Rust enthusiasts who make it seem like programs are automatically bug free just because they’re written in Rust.

Haskell enthusiasts made similar claims as well.