Mastering Rust
暫譯: 精通 Rust

Vesa Kaihlavirta

  • 出版商: Packt Publishing
  • 出版日期: 2017-05-31
  • 定價: $1,650
  • 售價: 6.0$990
  • 語言: 英文
  • 頁數: 354
  • 裝訂: Paperback
  • ISBN: 1785885308
  • ISBN-13: 9781785885303
  • 相關分類: Rust 語言
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Key Features

  • If you want to learn the advanced-level core concepts of Rust, then this book is the one for you!
  • Through this book, you will appreciate some of the unique features of Rust such as coding in expressive type systems, mutability, ownership
  • After reading this book, you will be able to migrate your legacy C or C++ application to a Rust environment

Book DescriptionIf concurrent programs are giving you sleepless nights, Rust is your go-to language. Filled with real-world examples and explanations, this book will show you how you can build scalable and reliable programs for your organization.
We'll teach you big level concepts that make Rust a great language. Improving performance, using generics, building macros, and working with threads are just some of the topics we'll cover. We'll talk about the official toolsets and ways to discover more. The book contains a mix of theory interspersed with hands-on tasks so you acquire the skills as well as the knowledge. Since programming cannot be learned by just reading, we provide exercises (and solutions) to hammer the concepts in.
After reading this book, you will be able to implement Rust for your enterprise project, deploy the software, and will know the best practices of coding in Rust.
What you will learn

  • Implement unit testing patterns with the standard Rust tools
  • Get to know the different philosophies of error handling and how to use them wisely
  • Appreciate Rust's ability to solve memory allocation problems safely without garbage collection
  • Get to know how concurrency works in Rust and use concurrency primitives such as threads and message passing
  • Use syntax extensions and write your own
  • Create a Web API with Iron
  • Use Diesel to build safe database abstractions

商品描述(中文翻譯)

主要特點

- 如果你想學習 Rust 的進階核心概念,那麼這本書就是為你而寫的!
- 通過這本書,你將欣賞到 Rust 的一些獨特特性,例如在表達性型別系統中編碼、可變性和擁有權。
- 閱讀完這本書後,你將能夠將你的舊有 C 或 C++ 應用程式遷移到 Rust 環境中。

書籍描述

如果並行程式讓你夜不能寐,Rust 將是你的首選語言。這本書充滿了現實世界的範例和解釋,將向你展示如何為你的組織構建可擴展且可靠的程式。我們將教你使 Rust 成為優秀語言的高層次概念。提升性能、使用泛型、構建宏以及處理執行緒只是我們將涵蓋的一些主題。我們將討論官方工具集以及如何發現更多資源。這本書包含理論與實作任務的混合,讓你在獲得知識的同時也能掌握技能。由於程式設計無法僅通過閱讀來學習,我們提供練習(及解答)來加深對概念的理解。閱讀完這本書後,你將能夠在你的企業專案中實現 Rust,部署軟體,並了解 Rust 編碼的最佳實踐。

你將學到的內容

- 使用標準 Rust 工具實現單元測試模式
- 了解不同的錯誤處理哲學以及如何明智地使用它們
- 欣賞 Rust 在不使用垃圾回收的情況下安全解決記憶體分配問題的能力
- 了解 Rust 中的並發如何運作,並使用執行緒和訊息傳遞等並發原語
- 使用語法擴展並編寫自己的擴展
- 使用 Iron 創建 Web API
- 使用 Diesel 構建安全的資料庫抽象