Mimalloc
| mimalloc | |
|---|---|
| Original authors | Daan Leijen / Microsoft Research |
| Developer | Microsoft |
| Initial release | July 2019 |
| Stable release | |
| Written in | C |
| Operating system | Windows, FreeBSD, NetBSD, DragonFly BSD, macOS, Linux |
| Type | Software library |
| License | MIT License |
| Website | microsoft |
| Repository | github |
mimalloc (pronounced "me-malloc") is a free and open-source compact general-purpose memory allocator developed by Microsoft[2] 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[3] and requires no additional code changes.[4] mimalloc was initially developed for the run-time systems of the Lean and Koka languages. Notable design aspects include free list sharding, eager page reset, and 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.[5] The source code is licensed under MIT License and available on GitHub.[6]
See also
- C dynamic memory allocation – Dynamic memory management in the C programming language
- Manual memory management – Computer memory management methodology
- Dynamic memory allocation – Computer memory management methodology
- Hoard memory allocator – Memory allocator
References
- ^ "Release 3.3.2". 29 April 2026. Retrieved 30 April 2026.
- ^ "Maruf Ali: Investigation of Memory Allocators" (PDF). Archived (PDF) from the original on 2020-07-06. Retrieved 2020-07-04.
- ^ "Microsoft releases optimized malloc() as open source - Slashdot". slashdot.org. Archived from the original on 2023-06-14. Retrieved 2020-07-04.
- ^ "Analysis of mimalloc". Develop Paper. September 11, 2019. Archived from the original on July 23, 2022. Retrieved July 4, 2020.
- ^ "Google Translate". translate.google.com. 25 June 2019.
- ^ "microsoft/mimalloc". July 5, 2020. Archived from the original on July 7, 2020. Retrieved July 4, 2020 – via GitHub.
Further reading
- Leijen, Daan; Zorn, Benjamin; De Moura, Leonardo (2019). Mimalloc: Free List Sharding in Action (PDF). doi:10.1007/978-3-030-34175-6_13. ISBN 978-3-030-34174-9. S2CID 198363081.
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.