News for hackers. Stuff that matters.
Re:Rust for functional programmers by kimundi on Monday July 14, 2014 @02:37PM (#8032444)
Rust actually has two different reference counted smart pointers: `Rc`, which uses non-threadsafe reference counting, and hence is not sendable across thread boundaries; and `Arc`, which uses atomic reference counting and can be send across thread boundaries.

You can definitely create leaking cycles with both though, but Rc and Arc also support Weak pointers to safely break up cyclic ownership trees.

There are no comments on this comment yet.