
SystemsGuide
Writing a Custom Global Allocator in Rust to Track Memory
A global allocator is a type implementing GlobalAlloc, registered with one attribute. Wrapping the system allocator with atomic counters gives you live memory numbers.
19 min read
