Re:Comparative unsafety
by Jweb_Guru on Friday April 09, 2021 @01:33PM
(#26753467)
If `unsafe` were viral it would be useless. Syntactically ill-typed code can still be proven semantically well-typed, and `unsafe` is intended as a marker that the proof of semantic soundness lies outside of Rust's type system. If there is no proof (at least an informal one), you shouldn't be using unsafe, generally speaking.
[ Parent
| on HN ]
There are no comments on this comment yet.