Rust Programming Cookbook
Explore the latest features of Rust 2018 for building fast and secure apps
暫譯: Rust 程式設計食譜
Matzinger, Claus
- 出版商: Packt Publishing
- 出版日期: 2019-10-18
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 444
- 裝訂: Paperback
- ISBN: 1789530660
- ISBN-13: 9781789530667
-
相關分類:
Rust 語言、程式語言
-
相關翻譯:
Rust 語言編程實戰 (Rust Programming Cookbook) (簡中版)
買這商品的人也買了...
商品描述
Key Features
- Work through recipes featuring advanced concepts such as concurrency, unsafe code, and macros to migrate your codebase to the Rust programming language
- Learn how to run machine learning models with Rust
- Explore error handling, macros, and modularization to write maintainable code
Book Description
Rust 2018, Rust's first major milestone since version 1.0, brings more advancement in the Rust language. The Rust Programming Cookbook is a practical guide to help you overcome challenges when writing Rust code.
This Rust book covers recipes for configuring Rust for different environments and architectural designs, and provides solutions to practical problems. It will also take you through Rust's core concepts, enabling you to create efficient, high-performance applications that use features such as zero-cost abstractions and improved memory management. As you progress, you'll delve into more advanced topics, including channels and actors, for building scalable, production-grade applications, and even get to grips with error handling, macros, and modularization to write maintainable code. You will then learn how to overcome common roadblocks when using Rust for systems programming, IoT, web development, and network programming. Finally, you'll discover what Rust 2018 has to offer for embedded programmers.
By the end of the book, you'll have learned how to build fast and safe applications and services using Rust.
What you will learn
- Understand how Rust provides unique solutions to solve system programming language problems
- Grasp the core concepts of Rust to develop fast and safe applications
- Explore the possibility of integrating Rust units into existing applications for improved efficiency
- Discover how to achieve better parallelism and security with Rust
- Write Python extensions in Rust
- Compile external assembly files and use the Foreign Function Interface (FFI)
- Build web applications and services using Rust for high performance
Who this book is for
The Rust cookbook is for software developers looking to enhance their knowledge of Rust and leverage its features using modern programming practices. Familiarity with Rust language is expected to get the most out of this book.
商品描述(中文翻譯)
**主要特點**
- 通過包含高級概念的食譜,例如併發、非安全代碼和宏,將您的代碼庫遷移到 Rust 程式語言
- 學習如何使用 Rust 執行機器學習模型
- 探索錯誤處理、宏和模組化,以編寫可維護的代碼
**書籍描述**
Rust 2018 是自版本 1.0 以來 Rust 的第一個重大里程碑,帶來了 Rust 語言的更多進展。《Rust 程式設計食譜》是一本實用指南,幫助您在編寫 Rust 代碼時克服挑戰。
這本 Rust 書籍涵蓋了為不同環境和架構設計配置 Rust 的食譜,並提供實際問題的解決方案。它還將帶您了解 Rust 的核心概念,使您能夠創建高效、高性能的應用程序,利用零成本抽象和改進的記憶體管理等特性。隨著進展,您將深入探討更高級的主題,包括通道和演員,以構建可擴展的生產級應用程序,甚至掌握錯誤處理、宏和模組化,以編寫可維護的代碼。然後,您將學習如何克服在系統編程、物聯網、網頁開發和網絡編程中使用 Rust 時的常見障礙。最後,您將發現 Rust 2018 為嵌入式程序員提供了什麼。
在書籍結束時,您將學會如何使用 Rust 構建快速且安全的應用程序和服務。
**您將學到什麼**
- 理解 Rust 如何提供獨特的解決方案來解決系統程式語言問題
- 掌握 Rust 的核心概念,以開發快速且安全的應用程序
- 探索將 Rust 單元整合到現有應用程序中以提高效率的可能性
- 發現如何使用 Rust 實現更好的並行性和安全性
- 在 Rust 中編寫 Python 擴展
- 編譯外部組件文件並使用外部函數介面 (FFI)
- 使用 Rust 構建高性能的網頁應用程序和服務
**本書適合誰**
《Rust 食譜》適合希望增強對 Rust 知識並利用其特性使用現代編程實踐的軟體開發人員。熟悉 Rust 語言是充分利用本書的前提。
作者簡介
Claus Matzinger is a software engineer with a very diverse background. After working in a small company maintaining code for embedded devices, he joined a large corporation to work on legacy Smalltalk applications. This led to a great interest in programming languages early on, and Claus became the CTO for a health games start-up based on Scala technology. Since then, Claus' roles have shifted toward customer-facing roles in the IoT database technology start-up, Crate IO (creators of CrateDB), and, most recently, Microsoft. There, he hosts a podcast, writes code together with customers, and blogs about the solutions arising from these engagements. For more than 5 years, Claus has been implementing software to help customers innovate, achieve, and maintain success.
作者簡介(中文翻譯)
Claus Matzinger 是一位背景非常多元的軟體工程師。在一家小公司維護嵌入式設備的程式碼後,他加入了一家大型企業,負責舊版 Smalltalk 應用程式的開發。這使他對程式語言產生了濃厚的興趣,並且 Claus 成為了一家基於 Scala 技術的健康遊戲初創公司的首席技術官。此後,Claus 的角色轉向了客戶導向的職位,加入了物聯網資料庫技術初創公司 Crate IO(CrateDB 的創建者),最近則加入了微軟。在那裡,他主持一個播客,與客戶一起編寫程式碼,並撰寫有關這些合作所產生的解決方案的部落格文章。超過五年來,Claus 一直在實施軟體,幫助客戶創新、達成目標並維持成功。
目錄大綱
- Starting off with Rust
- Going further with advanced programming
- Managing projects with cargo
- Fearless Concurrency
- Handling errors and other results
- Express yourself with macros
- Integrating Rust with Other Languages
- Safe programming for the web
- Systems programming made easy.
- Getting practical with Rust
目錄大綱(中文翻譯)
- Starting off with Rust
- Going further with advanced programming
- Managing projects with cargo
- Fearless Concurrency
- Handling errors and other results
- Express yourself with macros
- Integrating Rust with Other Languages
- Safe programming for the web
- Systems programming made easy.
- Getting practical with Rust