1
1
mirror of https://github.com/theoludwig/rust_book.git synced 2024-07-17 08:30:11 +02:00
Book to get started with the Rust programming language. https://doc.rust-lang.org/book/
Go to file
2023-12-06 19:18:03 +01:00
chapter_1_getting_started chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_2_guessing_game chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_3_common_concepts chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_4_ownership chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_5_structs chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_6_enums chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_7_packages_crates_modules chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_8_common_collections chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_9_error_handling chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_10_generics_traits_lifetimes chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_11_testing chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_12_minigrep chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_13_iterators_and_closures chore: initial commit 2023-12-06 19:18:03 +01:00
.gitignore chore: initial commit 2023-12-06 19:18:03 +01:00
README.md chore: initial commit 2023-12-06 19:18:03 +01:00

The Rust Programming Language

Book to get started with the Rust programming language.

Available online: https://doc.rust-lang.org/book/

Available offline: rustup docs --book

About

Rust is a multi-paradigm, general-purpose programming language. Rust emphasizes performance, type safety, and concurrency. Rust enforces memory safety—that is, that all references point to valid memory—without requiring the use of a garbage collector or reference counting present in other memory-safe languages.

Rust keeps track of who can read and write to memory. It knows when the program is using memory and immediately frees the memory once it is no longer needed.

  • Website
  • Local Documentation: rustup doc
  • Rust version used: v1.74.0 (rustc --version)

Summary

  1. Getting Started
  2. Programming a Guessing Game
  3. Common Programming Concepts
  4. Understanding Ownership
  5. Using Structs to Structure Related Data
  6. Enums and Pattern Matching
  7. Managing Growing Projects with Packages, Crates, and Modules
  8. Common Collections
  9. Error Handling
  10. Generic Types, Traits, and Lifetimes
  11. Testing
  12. An I/O Project: Building a Command Line Program: minigrep
  13. Functional Language Features: Iterators and Closures