News for hackers. Stuff that matters.
Re:Rust 1.46 by brundolf on Thursday August 27, 2020 @04:43PM (#24298419)
Once you've learned the basics (plenty of links in the siblings, including the official Rust Book), this is a key (and entertaining!) unofficial resource that really hammered home for me the ways that Rust is different from the C family when it comes to working with references: https://rust-unofficial.github.io/too-many-lists/

It also taught me about Boxes and Rc's, which are essential for certain kinds of things, and which I don't remember being covered in the main Rust Book at all

Re:Rust 1.46 by brundolf on Thursday August 27, 2020 @04:58PM (#24298597)
Yeah, I figured they were probably in there somewhere. It's possible I read the book before they were added, or that I skipped them (I glossed over some of the final chapters), or it's possible I just didn't fully grasp how important they were until I followed the linked-list tutorial.

What I like about the latter is how closely it steps through the problem-solving process within the context of a very familiar task, teaching you at each stage 1) why the borrow-checker is upset and 2) what tool you need to apply in order to satisfy it. If the Book taught me "what is Rust and what are its features?", this taught me "how do I use Rust in practice?".

Re:Rust 1.46 by steveklabnik on Thursday August 27, 2020 @05:33PM (#24298957)
Oh yeah, don't get me wrong, the linked-list tutorial is amazing. :)