broom icon indicating copy to clipboard operation
broom copied to clipboard

Concurrent GC

Open jasonwilliams opened this issue 4 years ago • 1 comments

Hey great project

Do you have any plans to support a concurrent GC? I think this was attempted in rust-gc, but they gave up :/

https://manishearth.github.io/blog/2015/09/01/designing-a-gc-in-rust/#concurrency https://github.com/Manishearth/rust-gc/pull/6

For context, i maintain https://github.com/jasonwilliams/boa which is a user of rust-gc, concurrent GC is something we may wish for in future.

jasonwilliams avatar Apr 20 '20 14:04 jasonwilliams

No specific plans, but I wouldn't object to working with someone trying to implement it. As I understand from my admittedly limited research, the mechanisms required to safely implement concurrent cleanup are quite complex. I'll have a think about whether this could be done in a simple manner.

zesterer avatar Apr 21 '20 11:04 zesterer