A list of paid, free or open source C++ (C plus plus) memory allocation libraries, plugins and tools including general purpose allocators, dynamic memory allocation and garbage collection libraries and more. Sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

C++ memory allocation libraries, plugins and tools

    • Boehm GC – Conservative garbage collector for C and C++. [similar to X11] website
    • C Smart Pointers – Smart pointers for the (GNU) C programming language. [MIT]
    • Hoard – Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac. [GPL, commercial] website
    • jemalloc – General purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. [BSD] website
    • memory – STL compatible C++ memory allocator library. [ZLib]
    • memory-allocators – Custom memory allocators to improve the performance of dynamic memory allocation. [MIT]
    • mimalloc – A compact general purpose allocator with excellent performance. [MIT]
    • rpmalloc – Cross platform lock free thread caching 16-byte aligned memory allocator implemented in C. [PublicDomain]
    • snmalloc – Message passing based high-performance allocator. [MIT]
    • TCMalloc – Google’s fast, multi-threaded malloc implementation. [Apache-2.0] website
    • tgc – A tiny garbage collector for C written in ~500 LOC. [BSD]

Tags: c++, open source, c plus plus, c++ tools, c++ plugins, c++ libraries, c plus plus tools, c plus plus plugins, c plus plus libraries, c++ general purpose allocators, c++ dynamic memory allocation, c++ garbage collection libraries, c++ allocator libraries, c++ memory allocator library

Image: Unsplash License.

Portions of this text under: MIT license