Rust's GlobalAlloc trait lets you swap allocators fleet-wide — Discord moved services to jemalloc and companies routinely use mimalloc for wins — and embedded Rust requires writing your own for heapless targets. Implementing one teaches the alignment/layout contract that underlies every Box and Vec.