News for hackers. Stuff that matters.
Re:Unreal Rust by pornel on Monday September 05, 2022 @01:46PM (#32727019)
Previous post mentioned self/circular references. You can't do that with a `Box`. You can with `Rc<RefCell<List` or `*mut List`, but those options either have a runtime cost, or aren't borrow-checked.

Lack of self-referential types that are both safe and zero-cost is a legit limitation of Rust.

There are no comments on this comment yet.