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

Another cool aspect of this and (if I understand correctly), where Rust really helps you is that you can explore multiple branches in parallel, since the linked list is immutable.


To be fair, lack of concurrency safety never stopped C and C++ devs from boldly doing just that, anyway!


What if the linked list is cycled or doubly-linked?


I was talking about this case in particular, where we know the list is basically isomorphic to the call stack.


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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: