Refactoring to Rust
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.
1147346646
Refactoring to Rust
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.
49.99 Pre Order
Refactoring to Rust

Refactoring to Rust

Refactoring to Rust

Refactoring to Rust

Paperback

$49.99 
  • SHIP THIS ITEM
    Available for Pre-Order. This item will be released on July 15, 2025

Related collections and offers


Overview

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.

Product Details

ISBN-13: 9781617299018
Publisher: Manning
Publication date: 07/15/2025
Pages: 300
Product dimensions: 7.38(w) x 8.25(h) x (d)

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 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.
From the B&N Reads Blog

Customer Reviews