2 ms·
I'd love to. But seeing how Rust adopters struggle with something as trivial as a linked list (https://news.ycombinator.com/item?id=16442743 https://news.ycomb
by alexeiz 8y ago
I'd love to. But seeing how Rust adopters struggle with something as trivial as a linked list (https://news.ycombinator.com/item?id=16442743 https://news.ycombinator.com/item?id=16442743), doesn't inspire me.
- kllrnohj 8y agoOn the other hand should it be trivial to implement a linked list? They are an extremely bad data structure for modern CPUs, after all. Worth noting that it's doubly linked lists specifically that are hard. So cyclic structures.
- Retra 8y agoLinked lists are easy. People are struggling with safe linked lists, because they think they should be as easy to write as an unsafe ones. But if you're already willing to use C or C++, you've got no reason to avoid unsafe.