Layout of a block of memory.| doc.rust-lang.org
The Dark Arts of Advanced and Unsafe Rust Programming| doc.rust-lang.org
There are endless debates online about Rust vs. Zig, this post explores a side of the argument I don't think is mentioned enough.| zackoverflow.dev
An implementation of `Allocator` can allocate, grow, shrink, and deallocate arbitrary blocks of data described via `Layout`.| doc.rust-lang.org
Manually manage memory through raw pointers.| doc.rust-lang.org
Optional values.| doc.rust-lang.org
Optional values.| doc.rust-lang.org
A pointer type that uniquely owns a heap allocation of type `T`.| doc.rust-lang.org
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.| mcyoung.xyz