4 ms·
> Rust can implement doubly linked list in safe code. It can. It wraps the unsafe parts in an abstract manner. As far as I know, only with Rc / RefCell. But th
by josephg 10mo ago
> Rust can implement doubly linked list in safe code. It can. It wraps the unsafe parts in an abstract manner.
As far as I know, only with Rc / RefCell. But that has a significant performance cost.
Am I wrong? I'd love to see an example / benchmarks.