Hacker News new | ask | show | jobs
by oneshtein 652 days ago
Rust uses double linked lists, they are not harder to implement in Rust than in any other language. Moreover, built-in borrow checker will help to implement them properly, without memory leaks or use-after-free. What is your point?
1 comments

My point is that it's not obviously wrong to create cyclic references.
OK, it's was obviously wrong to create cyclic references few years ago.
But doubly linked lists use cyclic references…
Double linked lists use double links.