mimalloc

From Wikipedia, the free encyclopedia
mimalloc
Mimalloc logo.svg
Original author(s)Daan Leijen /
Microsoft Research
Developer(s)Microsoft
Initial releaseJuly 2019; 2 years ago (2019-07)
Stable release
v1.7.3 / November 15, 2021; 49 days ago (2021-11-15)
Preview release
v2.0.3 / November 15, 2021; 49 days ago (2021-11-15)
Repositorygithub.com/microsoft/mimalloc
Written inC
Operating systemWindows, FreeBSD, NetBSD, DragonFly BSD, macOS, Linux
TypeSoftware library
LicenseMIT License
Websitemicrosoft.github.io/mimalloc/

mimalloc (pronounced "me-malloc") is a free and open-source compact general-purpose memory allocator developed by Microsoft[1] with focus on performance characteristics. The library is about 11000 lines of code and works as a drop-in replacement for malloc of the C standard library[2] and requires no additional code changes.[3] mimalloc was initially developed for the run-time systems of the Lean and languages. Notable design aspects include free list sharding, eager page reset, first-class heaps. It can co-exist with other memory allocators linked to the same program. mimalloc is available on Windows, Mac OS X, Linux and *BSD.[4] The source code is licensed under MIT License and available on GitHub.[5]

See also[]

References[]

  1. ^ "Maruf Ali: Investigation of Memory Allocators" (PDF).
  2. ^ "Microsoft releases optimized malloc() as open source - Slashdot". slashdot.org.
  3. ^ "Analysis of mimalloc". Develop Paper. September 11, 2019.
  4. ^ "Google Translate". translate.google.com.
  5. ^ "microsoft/mimalloc". July 5, 2020 – via GitHub.

Further reading[]

External links[]

Retrieved from ""