in ,

Learn Rust with Entirely Too Many Linked Lists, Hacker News

Got any issues or want to check out all the final code at once? Everything’s on Github!

NOTE : The current edition of this book is written against Rust , which was first released with rustc 1. (Dec 8, ). If your rust toolchain is new enough, the Cargo.toml file that cargo new creates should contain the line edition=" (" (or if you're reading this in the far future, perhaps some even larger number!). Using an older toolchain is possible, but unlocks a secret hardmode , where you get extra compiler errors that go completely unmentioned in the text of this book. Wow, sounds like fun!

I fairly frequently get asked how to implement a linked list in Rust. The answer honestly depends on what your requirements are, and it’s obviously not super easy to answer the question on the spot. As such I’ve decided to write this book to comprehensively answer the question once and for all.

In this series I will teach you basic and advanced Rust programming entirely by having you implement 6 linked lists. In doing so, you should learn:

(Read More )

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Live Commentary – Italy vs Scotland | 22 Feb 2020 – Sky Sports, Skysports.com

Accelerometer can be used to figure out your PIN, Hacker News