plasma-umass/Mesh
View on GitHub ↗ ★ 1,890 C++
A memory allocator that automatically reduces the memory footprint of C/C++ applications.
16 mentions on Hacker News by 12 people: 5 stories, 11 comments · first 2019-02-17 · latest 2026-02-03
20082026
-
For anyone following the discussion: Mesh ( https://github.com/plasma-umass/mesh ) is a seriously interesting read.
comment by eru · 2024-08-01 · in Functional languages should be so much better at mutation than they are -
…Firefox is less multithreaded than it could be or what.) [1] https://www.sqlite.org/malloc.html [2] https://github.com/plasma-umass/mesh
comment by mananaysiempre · 2024-07-31 · in Functional languages should be so much better at mutation than they are -
…hacks, have a look at this memory management 'thing' that doesn't move, but manages to compact: https://github.com/plasma-umass/Mesh
comment by eru · 2022-07-31 · in Reference count, don't garbage collect -
See https://github.com/plasma-umass/Mesh for the code and a link to the paper.
comment by eru · 2022-07-30 · in Reference count, don't garbage collect -
…you are at it. But: you are in for a treat, someone implemented compaction for malloc/free. See https://github.com/plasma-umass/Mesh They use virtual memory machinery as the necessary indirection to implement compaction, with neither…
comment by eru · 2022-07-30 · in Reference count, don't garbage collect -
…16KB and RAM is moderately-to-very expensive. It might be interesting to try something like Mesh ( https://github.com/plasma-umass/Mesh ) to share pages.
comment by astrange · 2022-05-03 · in JEP proposed to target JDK 19: 425: Virtual Threads (Preview) -
You can do interesting things by replacing malloc, like this compacting allocator: https://github.com/plasma-umass/Mesh
comment by OnlyOneCannolo · 2020-10-14 · in Custom Allocators Demystified -
This is awesome. Thanks. I found libmesh which looks very interesting: https://github.com/plasma-umass/Mesh
comment by vsundar · 2020-04-06 · in Ask HN: Must Read from ACM Library? -
…the Mesh allocator which does this and still manages to expose a conventional malloc interface. https://github.com/plasma-umass/Mesh
comment by chrisseaton · 2020-03-05 · in Glibc malloc inefficiency (2016) -
Source code is available here in case anyone's interested: https://github.com/plasma-umass/Mesh
comment by lefty2 · 2019-02-17 · in Mesh: Compacting Memory Management for C/C++ Applications -
…used here is a pretty cool implementation of this. Here’s the implementation, it looks like: https://github.com/plasma-umass/mesh
comment by saagarjha · 2019-02-17 · in Mesh: Compacting Memory Management for C/C++ Applications