Beginning Rust: From Novice to Professional
暫譯: 從新手到專業:Rust 程式設計入門
Carlo Milanesi
- 出版商: Apress
- 出版日期: 2018-03-23
- 售價: $2,080
- 貴賓價: 9.5 折 $1,976
- 語言: 英文
- 頁數: 396
- 裝訂: Paperback
- ISBN: 1484234677
- ISBN-13: 9781484234679
-
相關分類:
Rust 語言
-
相關翻譯:
Rust 實戰:從入門到精通 (Beginning Rust: From Novice to Professional) (簡中版)
-
其他版本:
Beginning Rust: Get Started with Rust 2021 Edition
相關主題
商品描述
Learn to program with Rust in an easy, step-by-step manner on Unix, Linux shell, macOS and the Windows command line. As you read this book, you’ll build on the knowledge you gained in previous chapters and see what Rust has to offer.
Beginning Rust starts with the basics of Rust, including how to name objects, control execution flow, and handle primitive types. You’ll see how to do arithmetic, allocate memory, use iterators, and handle input/output. Once you have mastered these core skills, you’ll work on handling errors and using the object-oriented features of Rust to build robust Rust applications in no time.
Only a basic knowledge of programming is required, preferably in C or C++. To understand this book, it's enough to know what integers and floating-point numbers are, and to distinguish identifiers from string literals.
After reading this book, you'll be ready to build Rust applications.
What You'll Learn
- Get started programming with Rust
- Understand heterogeneous data structures and data sequences
- Define functions, generic functions, structs, and more
- Work with closures, changeable strings, ranges and slices
- Use traits and learn about lifetimes
Who This Book Is For
Those who are new to Rust and who have at least some prior experience with programming in general: some C/C++ is recommended particularly.
商品描述(中文翻譯)
學習在 Unix、Linux shell、macOS 和 Windows 命令行上以簡單、逐步的方式使用 Rust 進行程式設計。當你閱讀這本書時,你將在前面章節所獲得的知識基礎上,了解 Rust 的各種功能。
《Beginning Rust》從 Rust 的基本概念開始,包括如何命名物件、控制執行流程以及處理基本類型。你將學會如何進行算術運算、分配記憶體、使用迭代器以及處理輸入/輸出。一旦掌握了這些核心技能,你將學會處理錯誤並使用 Rust 的物件導向特性,迅速構建穩健的 Rust 應用程式。
只需具備基本的程式設計知識,最好是 C 或 C++。要理解這本書,了解整數和浮點數的概念,以及區分識別符和字串字面量即可。
閱讀完這本書後,你將準備好構建 Rust 應用程式。
你將學到的內容:
- 開始使用 Rust 進行程式設計
- 理解異質資料結構和資料序列
- 定義函數、泛型函數、結構等
- 使用閉包、可變字串、範圍和切片
- 使用 traits 並了解生命週期
本書適合對象:
本書適合對 Rust 新手,並且至少有一些程式設計的經驗:特別建議有一些 C/C++ 的背景。