Comment Comment by staticassertion They're definitely not the same at all. Dereferencing a null pointer in C and C++ is undefined behavior. You can read more about it here: https://rootkits.xyz/blog/2018/01/kernel-null-pointer-derefe...In rust an unwrap of a None is defined and memory safe. parent staticassertion 5 years ago
In rust an unwrap of a None is defined and memory safe.