3 ms·
Or use https://github.com/manishearth/rust-gc https://github.com/manishearth/rust-gc, https://github.com/fitzgen/rajan-bacon-cc https://github.com/fitzgen/rajan
by Manishearth 11y ago
Or use https://github.com/manishearth/rust-gc https://github.com/manishearth/rust-gc, https://github.com/fitzgen/rajan-bacon-cc https://github.com/fitzgen/rajan-bacon-cc
- dikaiosune 11y agoOr Spidermonkey's GC, correct? My point was more about RAII not being the only resource management strategy.
- Manishearth 11y agoYeah, Servo uses SM's GC for its javascripty things, it sort of has to. Hooking into spidermonkey to get a GC for a program where you just want a GC and not Javascript is suboptimal though. (Note that all of these GCs use RAII under the hood, but not in the simple delete-when-destructor way)