3 ms·
Reference counting is a type of garbage collection. Of course Rust isn't a garbage collected language, but you can kind of use it as one.
by vardump 7y ago
Reference counting is a type of garbage collection. Of course Rust isn't a garbage collected language, but you can kind of use it as one.
- deaddodo 7y ago> Reference counting is a type of garbage collection. I'm well aware, or I wouldn't have brought Those types up, obviously. But there's a vast difference between a language's memory management/type system being intrinsically Garbage Collected and a couple special use types hoisting that functionality.
- snovv_crash 7y agoIf you want to go that way, C++ has shared_ptr and can also be a garbage collected language. It is kind of missing the point though.