Mesh
shifgrethor
Our great sponsors
Mesh | shifgrethor | |
---|---|---|
6 | 2 | |
1,705 | 311 | |
0.8% | - | |
3.7 | 10.0 | |
12 days ago | almost 5 years ago | |
C++ | Rust | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mesh
-
Spotting and Avoiding Heap Fragmentation in Rust Apps
I'm not sure if it's widely used, but Mesh is a C/C++ library that can recover from memory fragmentation. The YouTube video in the README is a great watch.
-
Compacting the Uncompactable: The Mesh Compacting Memory Allocator
From 2019. Here it is on Github: https://github.com/plasma-umass/Mesh
-
Bizarre memory leak caused by tokio runtime
With everyone talking about memory fragmentation, I'd like to mention Mesh, an allocator that can compact aka defrag the heap without any help from the program or compiler. Here's the talk explaining it, "Compacting the Uncompactable" by Bobby Powers.
- Reference Count, Don't Garbage Collect
-
How do applications request for RAM from the CPU?
Mesh by Bobby Powers
shifgrethor
- Spotting and Avoiding Heap Fragmentation in Rust Apps
-
When Rust Hurts
It'd be possible to add an active GC to Rust. There are some library attempts at that:
- https://lib.rs/crates/gc
- https://github.com/withoutboats/shifgrethor
But they don't look particularly usable.
Beyond that, yeah, it sucks.
What are some alternatives?
jemalloc
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.
snmalloc - Message passing based allocator
memory - STL compatible C++ memory allocator library using a new RawAllocator concept that is similar to an Allocator but easier to use and write.
ixy-languages - A high-speed network driver written in C, Rust, C++, Go, C#, Java, OCaml, Haskell, Swift, Javascript, and Python
rmm - RAPIDS Memory Manager
gperftools - Main gperftools repository
tbb - oneAPI Threading Building Blocks (oneTBB) [Moved to: https://github.com/oneapi-src/oneTBB]
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.
Hoard - The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac.
mark-sweep - A simple mark-sweep garbage collector in C
rpmalloc - Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C