Re:IBM says Swift is ready for the enterprise
by Rusky on Monday September 26, 2016 @01:02PM
(#12583518)
Rust's borrow checker actually helps with this a lot- you can hand out references to the Rc-ed data without modifying the count, and the compiler will enforce that the count is not decremented until the references are dead. Combined with the fact that plain references are more idiomatic than Rc/Arc, this leads to pretty similar results.
[ Parent
| on HN ]
There are no comments on this comment yet.