News for hackers. Stuff that matters.
Re:Rust data structures with circular references by implfuture on Saturday November 13, 2021 @11:57AM (#29211212)
Nice post! Might be worth mentioning that some data structure implementations already exist in std or as a crate, i.e. std::collections::BTreeSet and petgraph. While it’s good to understand how Rc/Weak/raw pointers work, I always check if there is a battle-tested version of what I need before reaching for them.

There are no comments on this comment yet.