Re:What is wrong with NULL
by bjz_ on Monday August 31, 2015 @06:26PM
(#10149491)
> I've seen std::ptr::null more than I ever have Foreign.Ptr.nullPtr.
Probably because we need to work with the C API a great deal right now, but that should change as more and more things are written in Rust. Still, the unsafe boundary helps by removing the ability to dereference a raw pointer in safe code - something that Haskell doesn't have.
Probably because we need to work with the C API a great deal right now, but that should change as more and more things are written in Rust. Still, the unsafe boundary helps by removing the ability to dereference a raw pointer in safe code - something that Haskell doesn't have.