Cantitate/Preț
Produs

Refactoring to Rust

Autor Lily Mara, Joel Holmes
en Limba Engleză Paperback – 19 aug 2025

Structura progresivă: de la concept la implementare, ne ghidează prin procesul riguros de transformare a unei baze de cod existente într-una optimizată pentru ecosistemul Rust. Considerăm că valoarea acestui volum, semnat de Lily Mara și Joel Holmes, rezidă în abordarea practică a conceptelor avansate, precum ownership-ul și sistemul de tipuri, aplicate direct pe proiecte reale. Reținem faptul că autorii nu se limitează la teorie, ci oferă soluții concrete pentru migrarea sistemelor legacy, punând accent pe siguranța memoriei și concurența fără riscuri, piloni fundamentali ai editurii Manning Publications. Complementar lui The Rust Programming Language: 2nd Edition, volumul acoperă zona aplicată a restructurării codului, oferind scenarii de migrare pe care manualul oficial le tratează doar la nivel de sintaxă. În timp ce Refactoring de Martin Fowler stabilește principiile generale ale designului software, această lucrare adaptează acele tehnici la constrângerile și avantajele unice ale compilatorului Rust. Credem că parcurgerea celor 304 pagini oferă dezvoltatorilor instrumentele necesare pentru a identifica secțiunile de cod ineficiente și a le rescrie folosind idiome moderne, asigurând o mentenanță facilă pe termen lung.

Citește tot Restrânge

Preț: 27820 lei

Preț vechi: 34775 lei
-20%

Puncte Express: 417

Carte disponibilă

Livrare economică 17 septembrie-01 octombrie

Livrare prin curier în România Termenul estimat este afișat lângă disponibilitate.
Transport gratuit de la 40000 lei Plată online sau ramburs, în funcție de opțiunile comenzii.
Retur gratuit în 14 zile Comandă securizată și suport în română.

Specificații

ISBN-13: 9781617299018
ISBN-10: 1617299014
Pagini: 304
Dimensiuni: 185 x 233 x 19 mm
Greutate: 0.55 kg
Editura: Manning Publications

De ce să citești această carte

Recomandăm această carte programatorilor care cunosc deja bazele Rust și doresc să aplice limbajul în proiecte complexe de producție. Cititorul câștigă o metodologie clară pentru a îmbunătăți performanța aplicațiilor existente, învățând să utilizeze sistemul de tipuri Rust pentru a elimina bug-urile de logică. Este un instrument esențial pentru echipele care migrează microservicii sau sisteme critice dinspre C++ sau Java.


Notă biografică

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.

Descriere scurtă

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

Descriere

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.