Back to Daily Feed 
mimalloc: Microsoft's High-Performance Memory Allocator
Must Read
Originally published on Microsoft Research Blog
View Original Article
Share this article:

Summary & Key Takeaways
- mimalloc is a new open-source, high-performance, and scalable memory allocator from Microsoft Research.
- It serves as a drop-in replacement for standard
mallocandfreefunctions. - The allocator is relatively small, with clear internal data structures, and is easy to integrate.
- It provides bounded worst-case allocation times and space overhead, low internal fragmentation, and minimal contention through atomic operations.
Our Commentary
Memory allocators are one of those foundational pieces of software that most developers never think about, but they have a massive impact on performance. A drop-in replacement like mimalloc, especially one from Microsoft Research with these performance claims, is genuinely exciting. The focus on bounded allocation times and low contention is particularly appealing for high-performance systems and concurrent applications. We're always looking for ways to squeeze more performance out of our systems, and low-level optimizations like this can have a ripple effect across the entire software stack.
View Original Article
Share this article: