News for hackers. Stuff that matters.
Re:Arenas in Rust by Animats on Saturday October 04, 2025 @01:46PM (#45475149)

    Option<Rc<RefCell<Node<T>>>>
works, but you have to manage your own teardown of the list. If you use Weak, releasing the strong reference to the head of the list tears down the whole list.
Re:Arenas in Rust by afdbcreid on Sunday October 05, 2025 @04:29AM (#45479934)
You want to handle teardown yourself anyway, as otherwise long lists could overflow the stack on drop.

I'm not convinced not using `Weak` is better, though.