Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
GaggiX
· 3y ago · 0 comments
Any language that enforces memory safety is unlikely to crash because of a segmentation fault.
Comments
[–]
kylieee
3y ago
They will instead crash because of an uncaught exception or a panic handler - end result is the same.
[–]
GaggiX
OP
3y ago
By removing segmentation fault crash you have removed a large portion of unwanted crashes, the end result is very different.
[–]
kylieee
3y ago
But the crashes doesn't get removed, they get transformed into error types or exceptions and you still crash when you don't handle them.
[–]
GaggiX
OP
3y ago
This is only true if the language does not employ static analysis.