click to
look inside
Look inside
Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
FREE
You can see any available part of this book for free.
Click the table of contents to start reading.

Refactoring to Rust

Lily Mara
  • MEAP began January 2021
  • Publication in Fall 2021 (estimated)
  • ISBN 9781617299018
  • 300 pages (estimated)
  • printed in black & white

placing your order...

Don't refresh or navigate away from the page.
print book Receive a print copy shipped to your door + the eBook in Kindle, ePub, & PDF formats + liveBook, our enhanced eBook format accessible from any web browser. $49.99 pBook + eBook + liveBook
Additional shipping charges may apply
FREE domestic shipping on orders of three or more print books
Refactoring to Rust (print book) added to cart
continue shopping
go to cart

eBook Our eBooks come in Kindle, ePub, and DRM-free PDF formats + liveBook, our enhanced eBook format accessible from any web browser. $39.99 3 formats + liveBook
FREE domestic shipping on orders of three or more print books
Refactoring to Rust (eBook) added to cart
continue shopping
go to cart

This book is the de facto standard on refactoring legacy code with Rust!

William E. Wheeler
Look inside
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.

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 his 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.

FREE domestic shipping on orders of three or more print books

A very good and practical introduction to Rust. Especially valuable for seasoned users of other languages. It emphasises concepts of Rust which are usually absent in different programming languages.

Michal Rutka

You will walk away from this book a better Rustacean and a better engineer.

Matthew Sarmiento

A much-needed book for the community as many developers are (or will be) motivated to learn and apply Rust without giving away their stacks. This book opens up a path to improve existing applications by integrating Rust seamlessly, leveraging FFI, and WebAssembly.

Salvador Navarrete

Refactoring to Rust is a comprehensive guide to cleverly migrating your applications to Rust.

Daniel Tomás Lares
RECENTLY VIEWED