Refactoring to Rust (Paperback)
Language: English
Published by Manning Publications, New York, 2025
- Softcover
- New

Seller: AussieBookSeller, Truganina, VIC, AustraliaAussieBookSeller
AbeBooks seller since June 22, 2007
Condition: New
US$ 105.49
Quantity: 1 available
Add to basketItem description from seller
Paperback. Ship faster code without rewriting from scratch. Many developers hesitate to adopt Rust because of the perceived learning curve or fear of breaking trusted code. What if you could modernize performance-critical parts of your application without overhauling everything at once? By making small, targeted improvements, you can experience Rusts speed, safety, and reliability right away, while keeping your existing systems stable and secure. Incremental refactoring: Modernize critical paths while keeping trusted code stable.Cross-language libraries: Call Rust from Python, JavaScript, or C for immediate speed gains.Ownership and borrowing guidance: Eliminate data races, improve memory safety, sleep better at night.Async and concurrency patterns: Process events at scale with predictable resource usage.Error handling with enums: Replace cryptic crashes with clear, composable error flows. Refactoring to Rust by experienced engineers Lily Mara and Joel Holmes delivers a practical, language-friendly roadmap for adding Rust libraries to existing applications. The soft-cover, 300-page guide balances clarity with depth, making advanced concepts approachable. Through concise explanations, runnable examples, and side-by-side comparisons, the authors show exactly where Rust outshines scripting and systems languages. Each chapter targets a real refactor, from FizzBuzz pattern matching to blazing-fast HTTP services. By the final page, readers can build production-ready Rust plugins that slash latency, cut memory waste, and future-proof critical features. The result is safer, faster software delivered with confidence. Ideal for intermediate developers who crave performance without a risky rewrite, especially Python, JavaScript, and C maintainers. 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 programs speed and stability. Shipping may be from our Sydney, NSW warehouse or from our UK or US warehouse, depending on stock availability. …
Seller Inventory # 9781617299018
- Title
- Refactoring to Rust (Paperback)
- Author
- Lily Mara
- Publisher
- Manning Publications, New York
- Publication year
- 2025
- Condition
- new
- Binding
- Paperback
- Language
- English
- ISBN 10
- 1617299014
- ISBN 13
- 9781617299018
Refactoring to Rust helps you get the speed and reliability of Rust libraries, functions, and high-performance features without needing a complete rewrite of your codebase.
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
Rust is designed to gradually replace other languages by integrating and decomposing existing code. Refactoring to Rust helps you take full advantage of this amazing feature, even if you’ve never coded in Rust before. You’ll learn practical code-mixing techniques like embedding Rust libraries into apps written in other languages.
About the technology
Upgrade your software without starting from scratch! By incrementally introducing Rust into your codebase, you can upgrade key features and improve the performance of almost any application. This book shows you how to create standalone Rust libraries, boost speed and stability by using Rust for concurrency, and create safe, memory-efficient low-level code.
About the book
Refactoring to Rust shows you exactly where and how to integrate Rust surgically into applications written in another language. You’ll start by reviewing Rust’s unique syntax and concepts, with special emphasis on unique language features like variable lifetime and ownership. Then, you’ll learn to use Rust to wrap dangerous code, call standard and custom Rust libraries, and even use WASM to run Rust in the browser.
What’s inside
- Create Rust libraries you can call from other languages
- Handle errors as values using Rust’s enums
- Optimize for memory efficiency
- Boost performance with Rust concurrency
About the reader
For intermediate programmers. No Rust experience required.
About the author
Lily Mara is a software engineer focused on high-performance Rust applications. Joel Holmes is a software developer building cloud native applications. He is the Author of Shipping Go, and Co-Author of Go in Action, Second Edition.
Table of Contents
1 Why refactor to Rust
2 An overview of Rust
3 Introduction to C FFI and unsafe Rust
4 Advanced FFI
5 Structuring Rust libraries
6 Integrating with dynamic languages
7 Testing your Rust integrations
8 Asynchronous Python with Rust
9 WebAssembly for refactoring JavaScript
10 WebAssembly interface for refactoring
"Synopsis" may belong to another edition of this title.
About the Author
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.
"About the title" may belong to another edition of this title.
AussieBookSeller
Truganina, VIC, Australia
AbeBooks seller since June 22, 2007
Shipping rates from Australia to U.S.A.
| Item | 25 to 45 business days | 8 to 14 business days |
|---|---|---|
| First item | US$ 37.00 | US$ 44.00 |
Payment methods
Seller's business information
The Nile Group Pty Ltd
42 Apex Drive
Truganina, VIC Australia 3029
Terms of sale
We guarantee the condition of every book as it's described on the Abebooks web sites. If you're dissatisfied with your purchase (Incorrect Book/Not as Described/Damaged) or if the order hasn't arrived, you're eligible for a refund within 30 days of the estimated delivery date. If you've changed your mind about a book that you've ordered, please use the Ask bookseller a question link to contact us and we'll respond within 2 business days.
Shipping terms
Please note that titles are dispatched from our UK and NZ warehouse. Delivery times specified in shipping terms. Orders ship within 2 business days. Delivery to your door then takes 8-15 days.