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

bdwgc/bdwgc

The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc) observed · 2026-08-28

github.com/bdwgc/bdwgc · homepage · C · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

89/100

  • Activity 99
  • Release rhythm 69
  • Longevity 100

Flags: no_license

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: 0.0
  • age_days: 5517
  • days_rel: 209
  • days_push: 10
  • n_releases_24m: 15

Full methodology

Adoption not part of the score

3529 stars · 443 forks observed · 2026-08-28

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

The Boehm-Demers-Weiser conservative garbage collector (libgc) for C and C++, usable as a drop-in replacement for malloc/new that automatically reclaims unreachable memory. It can also serve as a memory leak detector and is used by many language runtime implementations.

Use cases

  • add garbage collection to a C or C++ program without manual free calls
  • replace malloc with GC_malloc to avoid memory leaks
  • detect memory leaks in existing C/C++ code
  • provide a GC runtime for a programming language implemented on top of C
  • allocate memory without explicit deallocation in long-running applications

When to choose

  • you want automatic memory management in C or C++ with minimal code changes
  • you are building a language runtime that needs a battle-tested conservative GC
  • you need a portable, cross-platform GC library with broad platform support
  • you want to use the collector as a leak detector for legacy code

When to avoid

  • you need precise, deterministic memory reclamation or real-time guarantees
  • your codebase relies on hidden or obfuscated pointers that a conservative collector may miss
  • you need strict bounding of memory usage in the presence of stale pointers
  • you prefer modern smart pointers or RAII over garbage collection

Facets

library · maturity stable

developer-tools developer-tools programming-languages performance cross-platform windows cpp c garbage-collection memory-management memory-allocation leak-detection conservative-gc c cpp linux macos

3 sources

Member repositories

RepositoryRoleHealth v2
bdwgc/bdwgcmain89

For agents

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

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