Re:Rust Starter Kit 2020
by hechang1997 on Tuesday October 06, 2020 @12:31AM
(#24694701)
That depends though. In Java/C# dereferencing a null reference is a runtime error and you can pinpoint exactly where it happened. In C++/Rust, dereferencing null pointers is undefined behavior since the compiler makes assumptions that a dereferenced pointer cannot be null.
[ Parent
| on HN ]
There are no comments on this comment yet.