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

Programmer Humor

19488 readers
1084 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] 1 points 7 months ago

I think you're missing the point where I said I don't write Rust. I'm merely making an observation - as a user who's more than usual, probably, aware of which language any given tool is written in, of what I observe.

I know I've seen a Rust program segfault, and I'm certain that I saw this only once. I'm equally confident that almost every other segfault has been from C/C++ code, but not other languages.

What I'm hearing you say is that crashes aren't a risk, per se, as long as they aren't memory related and so the crashes I see from Rust programs don't count because they aren't segmentation faults. Did I read that right? And I also hear you claiming that, e.g., NPEs are security issues, even if the runtime catches them and safely exits the program in a controlled manner ("crashing out" safely) - is that right?