Manishearth/rust-gc
Simple tracing (mark and sweep) garbage collector for Rust observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 63
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4126
- days_rel: n/a
- days_push: 226
- n_releases_24m: 0
Adoption not part of the score
1062 stars · 60 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
rust-gc is a simple tracing (mark and sweep) garbage collector library for Rust, providing a Gc smart pointer similar to Rc but with cycle collection. Types placed in Gc must implement Trace and Finalize traits, typically via a derive macro.
Use cases
- handle reference cycles in Rust data structures
- garbage collect cyclic graphs in Rust
- use a Gc pointer like Rc but with cycle detection
- implement custom finalizers for collected objects
- build interpreters or language runtimes in Rust needing GC
When to choose
- you have cyclic data structures that Rc cannot handle
- you want a small, simple GC library integrated with Rust's ownership model
- you are building a language runtime or interpreter in Rust
When to avoid
- Rc, Arc, or Box would suffice for your data structures
- you need a high-performance or concurrent production-grade GC
- you want to use it pervasively rather than only where needed
Facets
library · maturity active
concurrency programming-languages developer-tools rust cross-platform garbage-collector tracing-gc mark-and-sweep rust memory-management
1 source
- readme: https://github.com/Manishearth/rust-gc · fetched 2026-08-28 · 11a299a967fe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Manishearth/rust-gc | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="Manishearth/rust-gc")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem