DigiNews

Tech Watch by Johan Denoyer

← Back to articles

A faster bump allocator for rust

Quality: 8/10 Relevance: 9/10

Summary

The article introduces stumpalo, a Rust bump allocator with scoped stacks for safe temporary allocations, emphasizing high throughput. It provides benchmarks comparing stumpalo to blink and bumpalo, and explains design choices that reduce overhead in the fast path and memory indirection. It also includes a code example illustrating the fast-path allocation and how scoped stacks work.

🚀 Service construit par Johan Denoyer