this post was submitted on 14 Mar 2024
1276 points (98.5% liked)
Programmer Humor
19522 readers
130 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Rust is more like: unless you can mathematically prove to me that this is equivalent to a nut there is no ducking way I'll ever let you compiled this.
And then still segfault
https://github.com/Speykious/cve-rs/blob/main/src/segfault.rs
If you can make safe Rust segfault you're doing something wrong.
To be fair, you are doing something wrong if you're app segfaults no matter what anguage you wrote it in...
Despite that, some languages make it easier to be wrong than others.
I don't think so, since memory safe languages are supposed to prevent you from doing that, so it would be the language implementation's fault.