Rust Essentials
暫譯: Rust 基礎精要
Ivo Balbaert
- 出版商: Packt Publishing
- 出版日期: 2015-05-30
- 售價: $1,360
- 貴賓價: 9.5 折 $1,292
- 語言: 英文
- 頁數: 169
- 裝訂: Paperback
- ISBN: 1785285769
- ISBN-13: 9781785285769
-
相關分類:
Rust 語言、程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,820Assembly Language Step-by-Step: Programming with Linux, 3/e (Paperback)
-
$480$379 -
$790$672 -
$1,750$1,663 -
$720$612 -
$477Rust 權威指南 (The Rust Programming Language (Covers Rust 2018))
-
$780$390 -
$1,750$1,663 -
$600$468 -
$450$356 -
$580$458 -
$780$616 -
$800$632 -
$1,880$1,786 -
$3,180$3,021 -
$790$616 -
$980$774 -
$680$530 -
$620$490 -
$780$616 -
$980$774 -
$680$537 -
$380$300 -
$420$332 -
$820$648
商品描述
Discover how to use Rust to write fast, secure, and concurrent systems and applications
About This Book
- Learn how to create secure and blazingly fast programs in Rust
- Start working with Rust in a multicore and distributed environment
- Explore the core characteristics of Rust - safety, performance, and concurrency - to build error free and robust code
Who This Book Is For
This book is intended for software developers interested in systems level and application programming, and are looking for a quick entry into using Rust and understanding the core features of the framework. It is assumed that you have a basic understanding of Java, C#, Ruby, Python or JavaScript.
In Detail
Starting by comparing Rust with other programming languages, this book will show you where and how to use Rust. It will discuss primitive types along with variables and their scope, binding and casting, simple functions, and ways to control execution flow in a program.
Next, the book covers flexible arrays, vectors, tuples, enums, and structs. You will then generalize the code with higher-order functions and generics applying it to closures, iterators, consumers, and so on. Memory safety is ensured by the compiler by using references, pointers, boxes, reference counting, and atomic reference counting. You will learn how to build macros and crates and discover concurrency for multicore execution.
By the end of this book, you will have successfully migrated to using Rust and will be able to use it as your main programming language.
商品描述(中文翻譯)
探索如何使用 Rust 編寫快速、安全和並行的系統與應用程式
本書介紹
- 學習如何在 Rust 中創建安全且極速的程式
- 開始在多核心和分散式環境中使用 Rust
- 探索 Rust 的核心特性 - 安全性、效能和並行性 - 以構建無錯誤且穩健的代碼
本書適合對象
本書適合對系統層級和應用程式編程感興趣的軟體開發人員,並希望快速入門使用 Rust 及理解該框架的核心特性。假設您對 Java、C#、Ruby、Python 或 JavaScript 有基本的了解。
詳細內容
本書將從比較 Rust 與其他程式語言開始,向您展示何時以及如何使用 Rust。將討論基本類型、變數及其範圍、綁定和類型轉換、簡單函數,以及控制程式執行流程的方法。
接下來,本書將涵蓋靈活的陣列、向量、元組、列舉和結構。然後,您將使用高階函數和泛型來概括代碼,應用於閉包、迭代器、消費者等。記憶體安全由編譯器通過使用引用、指標、盒子、引用計數和原子引用計數來確保。您將學習如何構建宏和 crate,並探索多核心執行的並行性。
在本書結束時,您將成功轉向使用 Rust,並能夠將其作為您的主要程式語言。