3 ms·
> But nobody actually writes linked lists in Rust It feels entirely like you didn't even start reading this. He spends a whole long first page bitching about L
by peteretep 7y ago
> But nobody actually writes linked lists in Rust
It feels entirely like you didn't even start reading this. He spends a whole long first page bitching about Linked Lists and why nobody uses them in Rust.
- cormacrelf 7y agoI come back to this from time to time as a reference for doing the uglier things in Rust. Writing Iterator<Item=&T> with raw pointers, recursive drops, etc. It's better than reading the std source code, because it's got a guide right next the code. I think I'm using it as intended. The title might be suboptimal/confusing for what it's trying to do. It's less a resource for newcomers than an illustration of someone bumping their head against the wall to do hard things.