News for hackers. Stuff that matters.
Re:What Rust Can Do That Other Languages Can't by cesarb on Monday February 06, 2017 @07:49AM (#13578950)
There's petgraph (https://crates.io/crates/petgraph), which uses integers as node and edge indexes, instead of pointers. That is a common trick to work around the borrow checker: instead of pointers into a data structure, store an index into that data structure.
Re:What Rust Can Do That Other Languages Can't by jmcomets on Monday February 06, 2017 @10:38AM (#13580379)
Moreover, there's stash.rs[1] that provides a fast map that generates keys, which is perfect when you need a fast indexing of generic data.

[1]: https://github.com/Stebalien/stash-rs