3 ms·
Rust is an interesting language where writing good linked collections is really hard. You'd often start learning a language like C or Python with "create a libr
by viraptor 7y ago
Rust is an interesting language where writing good linked collections is really hard. You'd often start learning a language like C or Python with "create a library for handling linked lists". Well, with Rust it turns out you can write a book about it: https://rust-unofficial.github.io/too-many-lists/ https://rust-unofficial.github.io/too-many-lists/
I'm not surprised that the author gave up if he started his adventure with trying to write bindings that use tree with parent links. Fortunately many other things are actually simpler than in other languages, so there's a balance.