Ross ROSS = Recommend OSS · open-source software intelligence for agents

foonathan/memory

STL compatible C++ memory allocator library using a new RawAllocator concept that is similar to an Allocator but easier to use and write. observed · 2026-08-28

github.com/foonathan/memory · homepage · C++ · Zlib (permissive) observed · 2026-08-28

Health v2 · maintenance only

34/100

  • Activity 24
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4175
  • days_rel: 488
  • days_push: 461
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1619 stars · 205 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

foonathan/memory is a C++ library providing STL-compatible memory allocators built around a simpler RawAllocator concept. It offers multiple allocator implementations (pools, stacks, temporary allocators) plus adapters to interoperate with standard STL allocators.

Use cases

  • use custom memory pools with STL containers
  • share one allocator across multiple types in C++
  • allocate temporary memory on the stack like alloca portably
  • track and debug memory leaks and double-frees
  • improve allocation performance in games or embedded systems
  • use allocators with smart pointers

When to choose

  • you need faster or pooled allocation for STL containers
  • you want stateful, type-erased allocators that work with the standard library
  • you develop on freestanding or embedded environments with custom memory
  • you need memory debugging features like leak or overflow checks

When to avoid

  • your project has no allocation performance or control requirements
  • you only need C++17 polymorphic memory resources
  • you cannot build with CMake or an older toolchain

Facets

library · maturity stable

developer-tools developer-tools performance cpp cross-platform windows allocator raw-allocator memory-pool stl-compatible cmake memory algorithms linux macos

3 sources

Member repositories

RepositoryRoleHealth v2
foonathan/memorymain34

For agents

markdown · JSON · MCP: product_card(name="foonathan/memory")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem