The last part builds a small key-value server over TCP with only the standard library. It has a line protocol, a shared map, a pool of worker threads, a clean shutdown, and tests that talk to it over real sockets.
A macro is code that writes code before the compiler checks it. This part shows why println! and vec! are macros, how to write your own with macro_rules!, how repetition and hygiene work, and when a plain function is the better choice.
The unsafe keyword unlocks five extra abilities, such as reading through a raw pointer. It doesn’t switch off the borrow checker. This part shows what unsafe allows, what undefined behaviour is, and how to wrap unsafe code in a safe API.
Two structs with the same three fields can have different sizes. This part covers size_of, alignment, padding, how Rust lays out enums, and why an Option of a reference costs no extra bytes.
An async fn returns a future that does nothing until something polls it. We build that something by hand with the standard library, a waker and a run queue, and then run the same program on tokio.
The two meanings of ‘static, what T: ‘a says, why Box of dyn Trait means ‘static, structs that need two lifetimes, and how to read E0716, E0521 and E0505 line by line.
Threads that change one value need a lock or an atomic, and threads that hand work to each other need a channel. This part shows Arc with Mutex, RwLock, AtomicUsize and mpsc, and makes a deadlock happen on purpose.
A thread runs code side by side with the rest of your program. This part shows thread::spawn and join, why spawn needs move, how scoped threads borrow safely, and what Send and Sync mean.
Make + work on your own types, see why Iterator has an associated type and not a parameter, follow a Box through Deref to a str, and learn exactly when Rust runs Drop.
A Vec holds one type, so how do you keep circles and squares in the same list? This part covers dyn Trait, the fat pointer and vtable behind it, static vs dynamic dispatch, and which traits can be used with dyn.