// the take
A chapter-by-chapter code collection for a planned (unwritten) book on concurrency in Rust — each topic from raw threads and sync primitives up through crossbeam, rayon and tokio lives in its own runnable crate. It's aimed at Rust developers who already know the basics and want a map of the concurrency ecosystem beyond std, not a from-scratch tutorial.
Genuinely broad coverage in one place: std threads/channels/collections, parking_lot, crossbeam, rayon, tokio, and a 'special' chapter pulling in less-documented crates like arc-swap, sharded-slab, singleflight and waitgroup. Each topic is a standalone cargo crate you can `cargo run` directly instead of copy-pasting snippets out of prose. Good coverage of both ends of the spectrum — raw atomics/mutex/rwlock primitives and the higher-level async/tokio story — so it works as a reference for 'what's the idiomatic tool for X' across the ecosystem.
The book itself doesn't exist yet — the README says there's 'a plan to write' it, so what's here is example code without the explanatory prose that would turn it into an actual learning resource rather than a pile of runnable snippets. No tests or CI visible, so there's no guarantee the examples still compile cleanly against current crate versions as crossbeam/tokio/rayon APIs move. Because it's pitched as a reference rather than a tutorial, a reader without existing concurrency background will have to reverse-engineer the 'why' from comments alone, which varies in density across chapters.
We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →