Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Any sort of self-referential data structure, e.g. doubly linked lists.


Those can be implemented in Rust very easily by wrapping the recursive reference in a (safe) pointer type such as Box or Rc.


Well, which one? And how does that interoperate with code that chose the other?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: