Rust in Depth
Tags
Summary
Editor's review
Who it's for
A good fit for
- 有C/C++、Python或Java基础、想系统入门Rust的开发者
- 已经会写Rust但被借用检查、生命周期反复卡住的程序员
- 需要理解Rust内存模型与并发安全原理的系统编程工程师
- 讲授程序设计语言或系统编程课程的教师与研究人员
Not a good fit for
- 完全零编程经验的初学者,书中很少讲基础编程概念
- 只想找大量项目实战案例、照着做一个完整项目的读者
- 需要覆盖async/await等最新Rust特性的读者
Reading tips
- 按五大部分顺序阅读,重点放在第二部分内存安全,可反复读两遍并动手改代码
- 读每章语法点时同步写小例子,用cargo check观察借用检查器报错信息的变化
- 结合官方《The Rust Programming Language》和Rust标准库文档对照阅读,弥补版本差异
- 第20章Vec源码与第19章Unsafe较硬,第一遍可略读,完成小项目后再回头精读
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Preface
- Part One Fundamentals
- Chapter 1 First Meeting
- Chapter 2 Variables and Types
- Chapter 3 Statements and Expressions
- Chapter 4 Functions
- Chapter 5 Traits
- Chapter 6 Arrays and Strings
- Chapter 7 Pattern Destructuring
- Chapter 8 Inside the Type System
- Chapter 9 Macros
- Part Two Memory Safety
- Chapter 10 Memory Management Fundamentals
- Chapter 11 Ownership and Move Semantics
- Chapter 12 Borrowing and Lifetimes
- Chapter 13 Borrow Checking
- Chapter 14 NLL (Non-Lexical Lifetime)
- Chapter 15 Interior Mutability
- Chapter 16 Dereferencing
- Chapter 17 Leaks
- Chapter 18 Panic
- Chapter 19 Unsafe
- Chapter 20 Vec Source Code Analysis
- Part Three Advanced Abstraction
- Chapter 21 Generics
- Chapter 22 Closures
- Chapter 23 Dynamic and Static Dispatch
- Chapter 24 Containers and Iterators
- Chapter 25 Generators
- Chapter 26 Introduction to the Standard Library
- Part Four Thread Safety
- Chapter 27 Thread Safety
- Chapter 28 Send and Sync in Detail
- Chapter 29 State Sharing
- Chapter 30 Channels
- Chapter 31 Third-Party Parallel Development Libraries
- Part Five Practical Facilities
- Chapter 32 Projects and Modules
- Chapter 33 Error Handling
- Chapter 34 FFI
FAQ
这本书适合完全没有编程基础的人吗?
书的出版时间较早,现在读会不会过时?
读完后能到什么水平?
需要边读边敲代码吗?
书里有没有配套源码或习题?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.