dgkf / R

An experimental reimagining of R
https://dgkf.github.io/R
GNU General Public License v3.0
136 stars 5 forks source link

Suggestion for garbage collection library #213

Open sebffischer opened 1 month ago

sebffischer commented 1 month ago

I stumbled upon dumpster which implements a GC that supports multi-threading. Because we eventually want multi-threading this library might be a good candidate to use. There is also rust-gc but there is only experimental multi-threading support in a PR.

In general, adding such a GC should not be too difficult as I believe it is mostly switching out Rc and RefCell for their gc-ed counterparts.