Re:Rust means never having to close a socket
by steveklabnik on Tuesday October 07, 2014 @01:55PM
(#8422747)
Yes, it's hard to figure out which way to talk about it. Rc<T> isn't really part of the borrow checker... it technically subverts it to do its own thing internally.
[ Parent
| on HN ]
Re:Rust means never having to close a socket
by ben0x539 on Tuesday October 07, 2014 @01:58PM
(#8422778)
I wouldn't really consider the whole ownership thing or specifically the mechanism that inserts destructor calls at the logical end of a value's lifetime part of the borrow checker either, but I dunno how the implementation is laid out.