Skip to content
Codeloom

← Back to Rust overview

Rust tutorials

53 articles · page 3 of 3

Hand-written tutorials, ordered as a recommended learning path.

  1. 41 Rust Iterators Master Rust's iterator trait, lazy adapters like map and filter, and consumers like collect and fold for fast, expressive data processing.
  2. 42 Rust Modules Understand how Rust organizes code with modules, files, and the pub keyword, plus the visibility rules that keep crates clean and maintainable.
  3. 43 Ownership A practical introduction to Rust's ownership and borrowing rules: moves, references, mutability, and the mental model that makes the borrow checker stop fighting you.
  4. 44 Macros A practical comparison of declarative macro_rules! and procedural macros in Rust, including derive, function-like, and attribute macros with examples.
  5. 45 Rust Match Use Rust's match expression, if-let, while-let, and pattern syntax to destructure data safely with exhaustive compile-time checking.
  6. 46 Serde Tutorial A complete guide to Serde, Rust's de facto serialization framework, covering derive macros, attributes, custom types, and common JSON patterns.
  7. 47 Tokio How Tokio schedules tasks, manages workers, and integrates with the OS to power asynchronous Rust programs efficiently across cores.
  8. 48 Traits vs Interfaces Rust traits look like interfaces from other languages, but the differences matter: associated types, blanket impls, coherence, and dynamic dispatch all behave their own way.
  9. 49 Cargo Basics A practical tour of Cargo — creating projects, managing dependencies and features, running tests, building release binaries, and using workspaces.
  10. 50 Collections A hands-on tour of Rust's core collections — Vec, HashMap, and HashSet — with common operations, iteration patterns, and ownership gotchas.
  11. 51 Error Handling A practical guide to error handling in Rust covering Result, the ? operator, unwrap and expect, custom error types, and the thiserror and anyhow crates.
  12. 52 Structs & Enums Learn how to model domain data in Rust with structs and enums, use pattern matching exhaustively, and lean on Option and Result for safety.
  13. 53 Traits Understand how Rust traits define shared behavior, with default methods, trait bounds, derive, and a clear take on dyn Trait versus impl Trait.