Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.69 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.69 KB

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