Rust编程(影印版)9787564177331
正版二手图书,可开发票,请放心购买。
¥
23.1
2.0折
¥
118
九品
仅1件
作者吉姆·布兰迪詹森·奥兰多夫
出版社东南大学出版社
ISBN9787564177331
出版时间2018-08
装帧平装
开本16开
定价118元
货号1157756739388030988
上书时间2024-12-27
商品详情
- 品相描述:九品
- 商品描述
-
目录
Preface
1. Why Rust?
Type Safety
2. A Tour of Rust
Downloading and Installing Rust
A Simple Function
Writing and Running Unit Tests
Handling Command-Line Arguments
A Simple Web Server
Concurrency
What the Mandelbrot Set Actually Is
Parsing Pair Command-Line Arguments
Mapping from Pixels to Complex Numbers
Plotting the Set
Writing Image Files
A Concurrent Mandelbrot Program
Running the Mandelbrot Plotter
Safety Is Invisible
3. Basic Tvpes
Machine Types
Integer Types
Floating-Point Types
The bool Type
Characters
Tuples
Pointer Types
References
Boxes
Raw Pointers
Arrays, Vectors, and Slices
Arrays
Vectors
Building Vectors Element by Element
Slices
String Types
String Literals
Byte Strings
Strings in Memory
String
Using Strings
Other String-Like Types
Beyond the Basics
4. Ownership
Ownership
Moves
More Operations That Move
Moves and Control Flow
Moves and Indexed Content
Copy Types: The Exception to Moves
Rc and Arc: Shared Ownership
5. References
References as Values
Rust References Versus C++ References
Assigning References
References to References
Comparing References
References Are Never Null
Borrowing References to Arbitrary Expressions
References to Slices and Trait Objects
Reference Safety
Borrowing a Local Variable
Receiving References as Parameters
Passing References as Arguments
Returning References
Structs Containing References
6. Expressions
7. Error Handing
8. Crates and modules
9. Structs
10. Enums and patterns
11. Traits and generics
12. Operator overloading
13. Utility traits
14 Cloures
15. Iterators
16. Collections
17. Strings and text
18. Input and Output
19. Concurrency
20. Nacros
21. Unsafe code
Index
内容摘要
Rust是一种新的系统编程语言,兼具C和C
的性能与底层控制,以及内存安全与线程安全。Rust的现代和灵活类型保证你的程序没有间接引用空指针、重复释放、迷途指针以及类似bug,都在编译时态,没有运行时开销。在多线程代码中,Rust在编译时捕获数据竞争,使得并行更易于使用。
《Rust编程(影印版 英文版)》由两位富有经验的系统程序员吉姆·布兰迪、詹森·奥兰多夫撰写,介绍了Ru5t如何兼顾性能和安全,以及怎样才能利用这个特性。
— 没有更多了 —
以下为对购买帮助不大的评价