Re:The Rustonomicon: The Dark Arts of Advanced and Unsafe Ru...
by tatterdemalion on Sunday July 10, 2016 @02:15PM
(#12066530)
> In Rust even a basic double linked list requires unsafe.
Well this just isn't true. You can write a doubly linked list using Rc and Weak pointers and no unsafe code. This is the same as saying you can write a doubly linked list using GC'd pointers.
Well this just isn't true. You can write a doubly linked list using Rc and Weak pointers and no unsafe code. This is the same as saying you can write a doubly linked list using GC'd pointers.