SaaSHub helps you find the best software and product alternatives Learn more →
Top 6 C++ allocator Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
https://github.com/microsoft/snmalloc#snmalloc mentions two biggest motivations as:
> Allocations on one thread are freed by a different thread
I can imagine one use-case for this: a task that is scheduled from and executed by a work-stealing thread-pool can allocate memory in one thread but by design there's no guarantee that the memory will be necessarily freed from that exact thread. Would that be a good use-case for snmalloc?
> Deallocations occur in large batches
This sounds much like a bump allocator use-case but which can do this exact thing by calling a single munmap(addr, len) and unmap multiple allocations all at once.
-
memory
STL compatible C++ memory allocator library using a new RawAllocator concept that is similar to an Allocator but easier to use and write.
-
o1heap
Constant-complexity deterministic memory allocator (heap) for hard real-time high-integrity embedded systems. There is very little activity because the project is finished and does not require further changes.
-
metamalloc
Malloc as a library. Single header for Linux & Windows. Repo also provides a live per-thread HTTP memory profiler as a separate single-header with no dependencies
Project mention: Metamalloc: Single-header template based general purpose memory allocator lib | news.ycombinator.com | 2024-01-16 -
C++ allocator discussion
C++ allocator related posts
-
Metamalloc: Single-header template based general purpose memory allocator lib
-
Snmalloc: A Message Passing Allocator
-
I'm wanting to write my first compiler, but getting a little bit mixed up in general.
-
Compacting the Uncompactable: The Mesh Compacting Memory Allocator
-
[Study Project] A memory-optimized JSON data structure
-
QAlloc: A fas, type-aware, dynamic sized pool allocator for c++ and c
-
QAlloc: A fas, type-aware, dynamic sized pool allocator for c++ and c
-
A note from our sponsor - SaaSHub
www.saashub.com | 8 Oct 2024