3 ms·
Everything is written in Rust, so we're not borrowing the code. Reference counting is very common: http://en.wikipedia.org/wiki/Reference_counting http://en.wi
by steveklabnik 13y ago
Everything is written in Rust, so we're not borrowing the code.
Reference counting is very common: http://en.wikipedia.org/wiki/Reference_counting http://en.wikipedia.org/wiki/Reference_counting
- bsaul 13y agoI had the impression that rust and ARC were doing a bit of static code analysis to detect when a "reference count decrease/increase" could be performed ( thus the "automatic" part in ARC), and insert code at compile time. Which seems a bit more complicated than simply decrease them dynamically when a pointing is object is destroyed. But now that i come to think of it, things look a little blurry for me on that part.