Автор: Lily Mara
Издательство: Manning Publications
Год: 2022 V5
Формат: True PDF
Страниц: 231
Размер: 10 Mb
Язык: English
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.