Learning Rust with Linked Lists
Sep 28, 2025I’m starting my journey of deep diving into Rust using the Too Many Lists guide, documenting it along the way.
There are 7 chapters in this guide:
-
A Bad Stack
-
An Ok Stack
-
A Persistent Stack
-
A Bad Safe Deque
-
An Ok Unsafe Queue
-
A Production Unsafe Deque
-
A Bunch of Silly Lists
These are some of the things that I’m looking forward to learning from this whole thing:
-
Understanding when to use these types:
Box,Rc,Arc,*const,*mut,NonNull, etc. -
Ownership, borrowing, inherited mutability, interior mutability, etc.
-
Unsafe Rust: Raw dogging pointers, stacked borrows,
UnsafeCell, variance, etc.
This is a precursor to my next mini-project which is to implement an in-memory B-Tree in Rust. Ultimately, I’m working towards building a toy database engine from scratch, inspired by SQLite.