相關主題
商品描述
Get the speed and reliability of Rust libraries, functions, and high-performance features through incremental adoption without rewriting your codebase from scratch. In Refactoring to Rust you will learn to: - Create Rust libraries you can call from other programming languages
- Integrate Rust functions with code in other languages
- Use Rust's ownership and borrowing system to write high performance code
- Handle errors as values using Rust's enums
- Minimize unnecessary memory usage with Rust's multiple string types
- Boost performance with Rust concurrency and async event processing
- Create Rust HTTP services Refactoring to Rust teaches you how to take advantage of Rust's easy-to-use interoperating mechanisms. Learn practical code-mixing techniques like embedding Rust libraries into apps written in other languages. This practical guide emphasises techniques for incrementally refactoring performance-critical code to Rust while keeping the rest of your application in its original language. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology Incremental refactoring to Rust lets you upgrade your key functionalities without needing to start from scratch. These small changes are a great way to introduce Rust, and immediately ramp up your program's speed and stability. About the book Refactoring to Rust teaches you to combine your favorite programming language with high-performance Rust code. Author Lily Mara introduces Rust in her easy-to-read style, clearly explaining the language's unique syntax and concepts. You'll augment programs with Rust hands-on with approachable examples like solving FizzBuzz with Rust's pattern matching and gaining enormous runtime speedups to Python code. When you're done, you'll have mastered techniques for building Rust plugins you can apply to all kinds of existing software, from games to data tools. About the reader For intermediate programmers. No Rust experience required. About the author Lily Mara is a Senior Software Engineer at OneSignal, where she writes high-performance Rust code full time. She has been using Rust since before the release of version 1.0, and has created multiple Rust libraries designed to be integrated into existing production applications. Joel Holmes is a software developer who has been focused on building cloud native applications. He has worked at several start-ups helping architect, design, and develop new products and services to help those companies develop and grow. Along the way, he was able to help establish tools and processes that helped development and increase quality. He lives in Pittsburgh with his family and currently works building cloud applications at Thoro.ai.
- Integrate Rust functions with code in other languages
- Use Rust's ownership and borrowing system to write high performance code
- Handle errors as values using Rust's enums
- Minimize unnecessary memory usage with Rust's multiple string types
- Boost performance with Rust concurrency and async event processing
- Create Rust HTTP services Refactoring to Rust teaches you how to take advantage of Rust's easy-to-use interoperating mechanisms. Learn practical code-mixing techniques like embedding Rust libraries into apps written in other languages. This practical guide emphasises techniques for incrementally refactoring performance-critical code to Rust while keeping the rest of your application in its original language. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology Incremental refactoring to Rust lets you upgrade your key functionalities without needing to start from scratch. These small changes are a great way to introduce Rust, and immediately ramp up your program's speed and stability. About the book Refactoring to Rust teaches you to combine your favorite programming language with high-performance Rust code. Author Lily Mara introduces Rust in her easy-to-read style, clearly explaining the language's unique syntax and concepts. You'll augment programs with Rust hands-on with approachable examples like solving FizzBuzz with Rust's pattern matching and gaining enormous runtime speedups to Python code. When you're done, you'll have mastered techniques for building Rust plugins you can apply to all kinds of existing software, from games to data tools. About the reader For intermediate programmers. No Rust experience required. About the author Lily Mara is a Senior Software Engineer at OneSignal, where she writes high-performance Rust code full time. She has been using Rust since before the release of version 1.0, and has created multiple Rust libraries designed to be integrated into existing production applications. Joel Holmes is a software developer who has been focused on building cloud native applications. He has worked at several start-ups helping architect, design, and develop new products and services to help those companies develop and grow. Along the way, he was able to help establish tools and processes that helped development and increase quality. He lives in Pittsburgh with his family and currently works building cloud applications at Thoro.ai.
商品描述(中文翻譯)
透過漸進式採用,獲得 Rust 函式庫、函數和高效能特性的速度與可靠性,而無需從頭重寫您的程式碼庫。
在 Refactoring to Rust 中,您將學習: - 創建可以從其他程式語言調用的 Rust 函式庫- 將 Rust 函數與其他語言的程式碼整合
- 使用 Rust 的擁有權和借用系統來編寫高效能程式碼
- 使用 Rust 的枚舉將錯誤作為值處理
- 利用 Rust 的多種字串類型來最小化不必要的記憶體使用
- 通過 Rust 的併發和非同步事件處理來提升效能
- 創建 Rust HTTP 服務 Refactoring to Rust 教您如何利用 Rust 易於使用的互操作機制。學習實用的程式碼混合技術,例如將 Rust 函式庫嵌入用其他語言編寫的應用程式中。這本實用指南強調了將性能關鍵的程式碼漸進式重構為 Rust 的技術,同時保持應用程式的其餘部分使用原始語言。 購買印刷版書籍可獲得 Manning Publications 提供的免費 PDF 和 ePub 格式電子書。 關於技術 漸進式重構到 Rust 讓您在不需要從頭開始的情況下升級關鍵功能。這些小變更是引入 Rust 的絕佳方式,並立即提升您程式的速度和穩定性。 關於本書 Refactoring to Rust 教您如何將您喜愛的程式語言與高效能的 Rust 程式碼結合。作者 Lily Mara 以易於閱讀的風格介紹 Rust,清楚解釋該語言獨特的語法和概念。您將透過實用的範例,如使用 Rust 的模式匹配解決 FizzBuzz,來增強程式,並為 Python 程式碼帶來巨大的執行速度提升。完成後,您將掌握構建 Rust 插件的技術,這些插件可以應用於各種現有軟體,從遊戲到數據工具。 關於讀者 針對中級程式設計師。不需要 Rust 經驗。 關於作者 Lily Mara 是 OneSignal 的資深軟體工程師,專職編寫高效能的 Rust 程式碼。她自 1.0 版本發布之前就開始使用 Rust,並創建了多個設計用於整合到現有生產應用程式中的 Rust 函式庫。 Joel Holmes 是一位專注於構建雲原生應用程式的軟體開發人員。他曾在幾家初創公司工作,幫助架構、設計和開發新產品和服務,以協助這些公司發展壯大。在此過程中,他能夠幫助建立工具和流程,以促進開發並提高質量。他與家人住在匹茲堡,目前在 Thoro.ai 建立雲應用程式。
作者簡介
Lily Mara is a Senior Software Engineer at OneSignal, where she writes high-performance Rust code full time. She has been using Rust since before the release of version 1.0, and has created multiple Rust libraries designed to be integrated into existing production applications. Joel Holmes is a software developer focused on building cloud native applications. He has worked at several start-ups helping architect, design, and develop new products and services to help those companies develop and grow. Along the way, he was able to help establish tools and processes that helped development and increase quality. Joel is an Open Source contributor, including to DevOps projects that are written in Go such as VMWare's Carvel-vendir.
作者簡介(中文翻譯)
Lily Mara 是 OneSignal 的資深軟體工程師,專注於全職撰寫高效能的 Rust 代碼。她自 Rust 1.0 版本發布之前就開始使用 Rust,並創建了多個設計用於整合到現有生產應用程式中的 Rust 函式庫。
Joel Holmes 是一位專注於構建雲原生應用程式的軟體開發人員。他曾在幾家初創公司工作,協助架構、設計和開發新產品和服務,幫助這些公司發展壯大。在這個過程中,他能夠協助建立工具和流程,以促進開發並提高品質。Joel 是一位開源貢獻者,包括對用 Go 語言編寫的 DevOps 專案的貢獻,例如 VMWare 的 Carvel-vendir。