Share E-Book

AuthorSteve Klabnik, Carol Nichols, Chris Krycho

The Rust Programming Language, 3rd Edition, teaches you to write code that the compiler can verify, teams can maintain, and systems can evolve safely over time. Written by longtime Rust community members, this book shows you how to work effectively with Rust’s type system, concurrency model, and tooling, using patterns and idioms chosen for long-term stability. Learn how to Design programs that communicate their invariants to the compiler Use ownership, lifetimes, and traits to model real-world constraints Write concurrent and multithreaded code with confidence and clarity Build, test, document, and refactor projects using Cargo effectively Handle errors explicitly and idiomatically Apply expressive pattern matching to simplify complex logic Three substantial project chapters—focusing on a number-guessing game, a command-line tool, and a multithreaded server—demonstrate how these concepts work together in complete, real programs. Whether you’re new to Rust or already using it in production, this book helps you write code that scales safely and makes its guarantees explicit. New to this edition: Complete async programming chapter Miri for analyzing unsafe code Built on the Rust 2024 Edition Modern Rust idioms, tooling, and practices

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Passage locations
Tags
AI categories
程序设计语言编程后端
No tags
Publish Year: 2026
Language: 英文
Pages: 624
File Format: EPUB
File Size: 3.0 MB
Support Statistics
¥.00 · 0times