#garbage-collection #vm #machine #virtual #interpreter #compiler


A concurrent, modular and small garbage collector

1 unstable release

0.0.0-alpha Sep 27, 2022

#489 in Memory management

MIT license

292 lines


gladiator is a small, concurrent and modular garbage collector for Rust. It's made to be used in the xlang language, as it is concurrent and garbage collected.

In xlang, the program runs in "fibers," which are similar to threads, except they can all be executed in the same thread. xlang's goal is to garbage collect each fiber seperately, in an alternate thread, to prevent pausing other fibers while it is being garbage collected. That's why we made gladiator.

Under large loads (> 1000 nested references), gladiator may stack overflow, depending on the host system.


A precise, concurrent garbage collector written in Rust.

No runtime deps