Rust Essentials
Ivo Balbaert
- 出版商: Packt Publishing
- 出版日期: 2015-05-30
- 售價: $1,340
- 貴賓價: 9.5 折 $1,273
- 語言: 英文
- 頁數: 169
- 裝訂: Paperback
- ISBN: 1785285769
- ISBN-13: 9781785285769
-
相關分類:
Rust 語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,820Assembly Language Step-by-Step: Programming with Linux, 3/e (Paperback)
-
$480$379 -
$790$616 -
$1,750$1,663 -
$720$562 -
$954$906 -
$780$663 -
$1,400Network Programming with Go: Learn to Code Secure and Reliable Network Services from Scratch
-
$600$468 -
$450$338 -
$580$435 -
$780$616 -
$800$632 -
$720$562 -
$1,850$1,758 -
$620$484 -
$680$537 -
$780$585 -
$2,800$2,660 -
$790$616 -
$980$647 -
$680$530 -
$620$465 -
$780$616 -
$980$774
相關主題
商品描述
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。它將討論原始類型以及變數和其範圍、綁定和轉換、簡單函數以及控制程式執行流程的方法。
接下來,本書涵蓋了靈活的陣列、向量、元組、列舉和結構。然後,您將使用高階函數和泛型來概括程式碼,並將其應用於閉包、迭代器、消費者等等。編譯器使用引用、指針、盒子、引用計數和原子引用計數來確保記憶體安全性。您將學習如何建立巨集和創建模組,並發現多核心執行的並行性。
通過本書的學習,您將成功遷移到使用Rust並能夠將其作為您的主要程式語言。