Refactoring to Rust
Language: English
Published by Manning Publications, US, 2025
- Softcover
- New



Seller: Rarewaves.com USA, London, London, United KingdomRarewaves.com USA
AbeBooks seller since June 11, 2025
Condition: New
US$ 47.58
Quantity: 1 available
Add to basketItem description from seller
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 Rust's 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. …
Seller Inventory # LU-9781617299018
- Title
- Refactoring to Rust
- Author
- Lily Mara
- Publisher
- Manning Publications, US
- Publication year
- 2025
- Condition
- New
- Binding
- Paperback
- Language
- English
- ISBN 10
- 1617299014
- ISBN 13
- 9781617299018
- Item weight
- 580 grams
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.
Rarewaves.com USA
London, London, United Kingdom
AbeBooks seller since June 11, 2025
Shipping rates from United Kingdom to U.S.A.
| Item | 7 to 12 business days | 7 to 12 business days |
|---|---|---|
| First item | US$ 0.00 | US$ 0.00 |
Payment methods
Seller's business information
RAREWAVES.COM LIMITED
Elsley Court, 20-22 Great Titchfield Street
London, United Kingdom W1W 8BE
Shipping terms
Please note that we do not offer Priority shipping to any country.
We currently do not ship to the below countries:
Russia
Belarus
Ukraine
Please do not attempt to place orders with any of these countries as a ship to address - they will be cancelled.