Re:Haskell and Rust
by Filligree on Sunday November 10, 2019 @01:25PM
(#21499323)
> In Rust, as well as GC'd languages like TypeScript, dereferencing a null reference is possible, in the same sense, because a type cast or unsafe code may have been incorrect.
True, but type casts are unsafe code. You'll never see a null pointer so long as you stick to the safe language subset.
True, but type casts are unsafe code. You'll never see a null pointer so long as you stick to the safe language subset.