News for hackers. Stuff that matters.
Re:Show HN: Algorithm Cookbook in Rust by zeotroph on Monday June 19, 2017 @01:07PM (#14588508)
A graph with the members first, next, and endpoints is not exactly self explanatory, something better than a "A compact graph representation" comment would be nice.

Especially since the ownership model of rust makes the classic graph representation of edges owning nodes impossible.

Re:Show HN: Algorithm Cookbook in Rust by fpoling on Monday June 19, 2017 @05:59PM (#14590769)
It is only impossible​ using safe Rust. Unsafe code blocks should allow to represent this behind safe API.