Mastering 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 構建安全的資料庫抽象