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

microsoft/snmalloc

Message passing based allocator observed · 2026-08-28

github.com/microsoft/snmalloc · C++ · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

92/100

  • Activity 99
  • Release rhythm 77
  • Longevity 100
How is this computed?

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

  • gap_med: 90
  • age_days: 2793
  • days_rel: 72
  • days_push: 7
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

1961 stars · 134 forks observed · 2026-08-28

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

snmalloc is a high-performance, message-passing based memory allocator from Microsoft, usable as a header-only C++ library, via LD_PRELOAD, or from Rust. It excels at cross-thread deallocation and batched frees with lock-free remote deallocation and an optional hardened build with allocation randomisation and metadata protection.

Use cases

  • replace glibc malloc with a faster allocator
  • speed up multithreaded apps that free memory on other threads
  • reduce allocator contention on many-core servers
  • use a hardened allocator against heap corruption exploits
  • use snmalloc from Rust via the snmalloc-rs crate
  • LD_PRELOAD an allocator without recompiling

When to choose

  • workloads with cross-thread deallocation or large batch frees
  • many-core applications needing scalable allocation
  • security-sensitive apps wanting hardened heap features
  • you want a drop-in malloc replacement or header-only C++ integration

When to avoid

  • tiny single-threaded programs where allocator choice barely matters
  • platforms without supported backend abstractions
  • you need allocator features like full heap profiling or GC integration

Facets

library · maturity active

caching concurrency developer-tools performance developer-tools microservices windows cpp rust cross-platform memory-allocator malloc message-passing header-only hardened-allocator ld-preload linux macos

1 source

Member repositories

RepositoryRoleHealth v2
microsoft/snmallocmain92

For agents

markdown · JSON · MCP: product_card(name="microsoft/snmalloc")

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