Y
Hacker News
new
|
ask
|
show
|
jobs
by
eimrine
765 days ago
What if the linked list is cycled or doubly-linked?
2 comments
jkaptur
765 days ago
I was talking about this case in particular, where we know the list is basically isomorphic to the call stack.
link
amelius
765 days ago
Then Rust isn't the right tool for the job. Rust is great for tree-like structures which is 99% of what you encounter anyway. Unless you're writing a kernel or something.
link