1
1
mirror of https://github.com/theoludwig/rust_book.git synced 2024-07-06 20:00:12 +02:00
Book to get started with the Rust programming language. https://doc.rust-lang.org/book/
Go to file
2024-02-20 23:11:44 +01:00
chapter_1_getting_started docs(chap1): extend info about usage of prelude 2024-01-30 10:23:01 +01:00
chapter_2_guessing_game docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_3_common_concepts docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_4_ownership docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_5_structs docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_6_enums docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_7_packages_crates_modules chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_8_common_collections docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_9_error_handling docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_10_generics_traits_lifetimes docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_11_testing chore: initial commit 2023-12-06 19:18:03 +01:00
chapter_12_minigrep docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_13_iterators_and_closures docs: add README for every chapters 2024-02-08 11:21:23 +01:00
chapter_14_cargo_and_crates docs: add chapter 14 2024-02-20 23:11:44 +01:00
.gitignore chore: initial commit 2023-12-06 19:18:03 +01:00
README.md docs: add README for every chapters 2024-02-08 11:21:23 +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.75.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
  14. More About Cargo and Crates.io