Don’t rewrite from scratch! Improve your software speed and scalability by iteratively replacing performance-critical code with Rust
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
Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
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.
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
Da: GreatBookPrices, Columbia, MD, U.S.A.
Condizione: New. Codice articolo 50262772-n
Quantità: 20 disponibili
Da: World of Books (was SecondSale), Montgomery, IL, U.S.A.
Paperback. Condizione: Good. 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. Codice articolo 00101444304
Quantità: 1 disponibili
Da: INDOO, Avenel, NJ, U.S.A.
Condizione: New. Codice articolo 9781617299018
Quantità: Più di 20 disponibili
Da: GreatBookPrices, Columbia, MD, U.S.A.
Condizione: As New. Unread book in perfect condition. Codice articolo 50262772
Quantità: 20 disponibili
Da: INDOO, Avenel, NJ, U.S.A.
Condizione: As New. Unread copy in mint condition. Codice articolo SS9781617299018
Quantità: Più di 20 disponibili
Da: Chiron Media, Wallingford, Regno Unito
paperback. Condizione: New. Brand new book, sourced directly from publisher. Dispatch time is 3-4 days from our warehouse. Book will be sent in robust, secure packaging to ensure it reaches you securely. Codice articolo 6666-CBL-9781617299018
Quantità: 2 disponibili
Da: World of Books Inc, Montgomery, IL, U.S.A.
Paperback. Condizione: Good. 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. Codice articolo CIN1617299014G
Quantità: 1 disponibili
Da: Rarewaves.com USA, London, LONDO, Regno Unito
Paperback. Condizione: New. 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. Codice articolo LU-9781617299018
Quantità: 1 disponibili
Da: PBShop.store UK, Fairford, GLOS, Regno Unito
PAP. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781617299018
Quantità: 15 disponibili
Da: GreatBookPricesUK, Woodford Green, Regno Unito
Condizione: New. Codice articolo 50262772-n
Quantità: 20 disponibili