mkirchner/gc
Simple, zero-dependency garbage collection for C observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 2452
- days_rel: n/a
- days_push: 759
- n_releases_24m: 0
Adoption not part of the score
1306 stars · 73 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small, zero-dependency conservative mark-and-sweep garbage collector for C that replaces malloc/calloc/realloc/free. It is designed to be conceptually clean and readable, making it well suited for learning how garbage collection works.
Use cases
- add garbage collection to a C program
- learn how mark-and-sweep garbage collectors work
- replace malloc and free with a GC-managed allocator
- build a Lisp or scripting language interpreter in C
- study a simple readable GC implementation
When to choose
- you want a tiny, dependency-free GC for a C project
- you are building an interpreter or language runtime in C
- you want readable source code to study GC internals
When to avoid
- you need a production-hardened, architecture-optimized collector (use Boehm GC)
- you need multithreaded or concurrent garbage collection
- you need predictable real-time latency
Facets
library · maturity active
developer-tools programming-languages developer-tools c cross-platform garbage-collection mark-and-sweep conservative-gc memory-allocator zero-dependency learning-resource memory-management algorithms linux macos
1 source
- readme: https://github.com/mkirchner/gc · fetched 2026-08-28 · 2ba963a2fccd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mkirchner/gc | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem