On Mon, Nov 4, 2013 at 1:29 AM, Oren Ben-Kiki <[email protected]> wrote:
> Even if RC allowed cycles (I don't quite see how...) the whole thing > wouldn't be send-able, unless one uses ARC. But ARC has even more > performance penalties than RC... And doing cycle-supporting ARC across > tasks seems like pushing it - you might as well admit you are doing global > GC in the 1st place. > It can't support ownership cycles but it can certainly support cyclic links like `std::shared_ptr` + `std::weak_ptr` in C++. The performance penalty for supporting sends between tasks is atomic reference counting and the price for supporting weak pointers is an extra word per box.
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
