Rust 91 🦀 Raw Pointers (*const T and *mut T) Dereferencing
Raw pointers are Rust’s mechanism for expressing memory access that the compiler cannot verify. A *const T is a pointer that permits reading; a *mut T is a pointer that permits reading and writing. Creating either is safe. Dereferencing either requires an unsafe block because the compiler cannot prove that the pointer is non-null, aligned,…