Hacker GitHub

← All repos

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

Mentions per year 16 mentions · busiest year 2019 (5)
20082026
  1. For anyone following the discussion: Mesh ( https://github.com/plasma-umass/mesh ) is a seriously interesting read.
  2. …Firefox is less multithreaded than it could be or what.) [1] https://www.sqlite.org/malloc.html [2] https://github.com/plasma-umass/mesh
  3. …hacks, have a look at this memory management 'thing' that doesn't move, but manages to compact: https://github.com/plasma-umass/Mesh
  4. See https://github.com/plasma-umass/Mesh for the code and a link to the paper.
  5. …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…
  6. …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.
  7. 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
  8. 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?
  9. …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)
  10. Source code is available here in case anyone's interested: https://github.com/plasma-umass/Mesh
  11. …used here is a pretty cool implementation of this. Here’s the implementation, it looks like: https://github.com/plasma-umass/mesh