The Taxonomy of Pointers

from blog mcyoung, | ↗ original
↗ original
Writing unsafe in Rust usually involves manual management of memory. Although, ideally, we’d like to exclusively use references for this, sometimes the constraints they apply are too strong. This post is a guide on those constraints and how to weaken them for correctness. “Unmanaged” languages, like C++ and Rust, provide pointer types for...