3 ms·
Combining RAII and GC (explicitly choosing what to use for various data) can be an interesting hybrid approach. Looks like Rust does exactly that, allowing you
by shmerl 13y ago
Combining RAII and GC (explicitly choosing what to use for various data) can be an interesting hybrid approach. Looks like Rust does exactly that, allowing you to explicitly define which data is garbage collected (while the rest is handled with standard RAII):
http://static.rust-lang.org/doc/master/std/gc/index.html http://static.rust-lang.org/doc/master/std/gc/index.html