Comprehensive Rust 🦀
首页
白天
夜间
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
编辑文档
30. Welcome
来源 1
浏览
181
扫码
打印
2023-02-20 12:02:31
Welcome to Day 4
上一篇:
下一篇:
发布点评
0. Welcome to Comprehensive Rust 🦀
1. Running the Course
1.2. Keyboard Shortcuts
1.3. Translations
1.1. Course Structure
2. Using Cargo
2.2. Code Samples
2.1. Rust Ecosystem
2.3. Running Cargo Locally
Day 1: Afternoon
9. Memory Management
9.5. Garbage Collection
9.7. Comparison
9.3. Manual Memory Management
9.1. Stack vs Heap
9.2. Stack Memory
9.6. Rust Memory Management
9.4. Scope-Based Memory Management
10. Ownership
10.6. Lifetimes
10.5. Borrowing
10.5.1. Shared and Unique Borrows
10.7. Lifetimes in Function Calls
10.4. Copying and Cloning
10.2. Moved Strings in Rust
10.2.1. Double Frees in Modern C++
10.3. Moves in Function Calls
10.1. Move Semantics
10.8. Lifetimes in Data Structures
11. Exercises
11.1. Designing a Library
11.2. Iterators and Ownership
8. Variables
8.2. static & const
8.3. Scopes and Shadowing
8.1. Type Inference
Day 1: Morning
5. Why Rust?
5.1. Compile Time Guarantees
5.3. Modern Features
5.2. Runtime Guarantees
4. Hello World!
4.1. Small Example
3. Welcome
3.1. What is Rust?
7. Exercises
7.2. Arrays and for Loops
7.1. Implicit Conversions
6. Basic Syntax
6.4. Slices
6.4.1. String vs str
6.3. References
6.3.1. Dangling References
6.2. Compound Types
6.5. Functions
6.5.2. Overloading
6.5.1. Methods
6.1. Scalar Types
Day 2: Afternoon
18. Control Flow
18.9. break & continue
18.6. for expressions
18.2. if expressions
18.1. Blocks
18.4. while expressions
18.8. match expressions
18.5. while let expressions
18.3. if let expressions
18.7. loop expressions
19. Standard Library
19.1. Option and Result
19.3. Vec
19.6. Rc
19.5. Box
19.5.1. Recursive Data Types
19.5.2. Niche Optimization
19.2. String
19.4. HashMap
21. Exercises
21.1. Luhn Algorithm
21.2. Strings and Iterators
20. Modules
20.2. Paths
20.1. Visibility
20.3. Filesystem Hierarchy
Day 2: Morning
17. Exercises
17.2. Points and Polygons
17.1. Health Statistics
15. Methods
15.2. Example
15.1. Method Receiver
13. Structs
13.2. Field Shorthand Syntax
13.1. Tuple Structs
12. Welcome
16. Pattern Matching
16.2. Destructuring Structs
16.1. Destructuring Enums
16.3. Destructuring Arrays
16.4. Match Guards
14. Enums
14.1. Variant Payloads
14.2. Enum Sizes
Day 3: Afternoon
26. Error Handling
26.3. Propagating Errors with ?
26.3.3. Dynamic Error Types
26.3.2. Deriving Error Enums
26.3.1. Converting Error Types
26.3.1.1. Example
26.3.4. Adding Context to Errors
26.2. Structured Error Handling
26.1. Panics
26.1.1. Catching Stack Unwinding
27. Testing
27.3. Documentation Tests
27.1. Unit Tests
27.2. Test Modules
27.4. Integration Tests
29. Exercises
29.1. Safe FFI Wrapper
28. Unsafe Rust
28.4. Calling Unsafe Functions
28.4.2. Extern Functions
28.4.1. Writing Unsafe Functions
28.1. Dereferencing Raw Pointers
28.5. Implementing Unsafe Traits
28.2. Mutable Static Variables
28.3. Unions
Day 3: Morning
25. Exercises
25.1. A Simple GUI Library
23. Traits
23.3. Important Traits
23.3.6. Drop
23.3.1. Iterator
23.3.5. Add, Mul, …
23.3.4. Read and Write
23.3.7. Default
23.3.2. FromIterator
23.3.3. From and Into
23.1. Deriving Traits
23.2. Default Methods
24. Generics
24.3. Trait Bounds
24.7. Trait Objects
24.2. Generic Methods
24.1. Generic Data Types
24.4. impl Trait
24.5. Closures
24.6. Monomorphization
22. Welcome
Day 4: Afternoon
34. Exercises
33. Android
33.3. AIDL
33.3.1. Interface
33.3.3. Server
33.3.5. Client
33.3.6. Changing API
33.3.4. Deploy
33.3.2. Implementation
33.2. Build Rules
33.2.2. Library
33.2.1. Binary
33.4. Logging
33.5. Interoperability
33.5.3. With Java
33.5.1. With C
33.5.1.2. Calling Rust from C
33.5.1.1. Calling C with Bindgen
33.5.2. With C++
33.1. Setup
Day 4: Morning
31. Concurrency
31.1. Threads
31.4. Shared State
31.4.3. Example
31.4.1. Arc
31.4.2. Mutex
31.2. Scoped Threads
31.5. Send and Sync
31.5.3. Examples
31.5.2. Sync
31.5.1. Send
31.3. Channels
31.3.2. Bounded Channels
31.3.1. Unbounded Channels
32. Exercises
32.1. Dining Philosophers
32.2. Multi-threaded Link Checker
30. Welcome
Final Words
37. Credits
36. Other Resources
35. Thanks!
Solutions
38. Solutions
38.5. Day 3 Morning
38.3. Day 2 Morning
38.2. Day 1 Afternoon
38.6. Day 3 Afternoon
38.4. Day 2 Afternoon
38.7. Day 4 Morning
38.1. Day 1 Morning
暂无相关搜索结果!
本文档使用
全库网
构建
×
思维导图备注
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度