Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
yyyk2
· 4y ago · 0 comments
Any sort of self-referential data structure, e.g. doubly linked lists.
Comments
[–]
p-e-w
4y ago
Those can be implemented in Rust very easily by wrapping the recursive reference in a (safe) pointer type such as Box or Rc.
[–]
kazinator
4y ago
Well, which one? And how does that interoperate with code that chose the other?