3 ms·
> if ESR had converted to Rust instead, Rust would have solved three of his complaints with Go: Sum types, iterators, and generics. Borrow checking can get es
by gameswithgo 7y ago
> if ESR had converted to Rust instead,
Rust would have solved three of his complaints with Go: Sum types, iterators, and generics.
Borrow checking can get especially tricky with graph algorithms though, so perhaps that would have been a new issue.
- xvilka 7y agoFor graph algorithms there is a good Petgraph[1][2] crate, so many common operations can be done in no time. [1] https://crates.io/crates/petgraph https://crates.io/crates/petgraph [2] https://github.com/petgraph/petgraph https://github.com/petgraph/petgraph