4 ms·
> Afaik there are plans to add an optional GC to the > standard library? This is incorrect. There are some far-future plans to add GC hooks to the language
by kibwen 10y ago
> Afaik there are plans to add an optional GC to the
> standard library?
This is incorrect. There are some far-future plans to add GC hooks to the language to allow it to interoperate with external GCs (mostly motivated for Servo to use with Spidermonkey, Firefox's Javascript engine), but there will never be a GC implementation shipped with the stdlib itself.
- qznc 10y agoOk, so only library-GC like https://github.com/Manishearth/rust-gc https://github.com/Manishearth/rust-gc ?
- kibwen 10y agoYes, Manish there is a Servo dev who spends some of his time thinking about how Rust could support external GCs. I believe his goal there is to write a library that's more-or-less analogous to the basic Boehm collector for C, as a proof-of-concept.