gcry is a garbage collector for Crystal, written entirely in Crystal. Zero C code, replaces Boehm with -Dgc_none.
v0.35.0 is a milestone:
-
Speaks Boehm’s GC_* C ABI, so
crystal i, spec/std (18,054 examples) and the compiler itself run on gcry as the process GC -
Parallel mark on by default, marking 31% faster on x86-64, 37% on arm64
-
Two mark workers gained 8-16 points of Boehm’s speed on every GC-heavy workload
-
48 fixes on the default path, root-complete defaults
The goal: Crystal’s own GC, no Boehm dependency. Getting closer every release.