Re:2017 Rust Roadmap
by chrismorgan on Saturday October 22, 2016 @09:47AM
(#12768646)
Excluding FFI I might just be able to count the number on unsafe blocks I’ve needed on one hand. But honesty compels me to declare that for reasons of performance micro-optimisation, I’ve written a lot more.
How do you handle cycles? I've seen discussions on places like /r/rust where people didn't seem to have any pleasant answers.
Re:2017 Rust Roadmap
by mitchmindtree on Saturday October 22, 2016 @12:48PM
(#12769390)
I tend to use petgraph[1] when I need a graph-like data structure (the only time I've needed cycles). Super fast, distinguishes `Node`s from `Edge`s, lots of useful items for different kinds of traversal.
edit: This is not counting FFI though.