3 ms·
> there is no way a developer can write a code in Rust that causes segfaults ( atleast language promises that ). Well, you can very easily: write bad code in u
by gsnedders 9y ago
> there is no way a developer can write a code in Rust that causes segfaults ( atleast language promises that ).
Well, you can very easily: write bad code in unsafe blocks.
That said, your badness is contained within unsafe blocks, so hopefully you have much less code to closely review.
- rammy1234 9y agoright, it is well known to the developers what to look for when we see something wrong. it doesnt crash randomly, it cries out loud when it fails so we know what is happening and manage it better.