Rust allocators finally stabilize after a decade in limbo

The state of Rust allocators in 2026: stabilised

After ten years of waiting, Rust 1.100 stabilizes the allocator API. The author walks through what the MVP unlocks: bump allocators that free a whole request's memory in one shot, accounting wrappers that track exactly how many bytes a cache or sandbox consumes, and stack-first allocators that spill to the heap only when needed. He also plugs his own thresher crate, which triggers callbacks at memory thresholds and now runs in production on logfire.

It's only been a couple of months since the last article, and I am pleased to see that, after 10 years of limbo, allocators have finally been stabilised!

More from this day

2026-11-30