Refactoring to Rust (MEAP v7)

Автор: literator от 21-04-2024, 20:28, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Refactoring to Rust (MEAP v7)
Автор: Lily Mara
Издательство: Manning Publications
Год: 2024
Страниц: 338
Язык: английский
Формат: pdf, epub, mobi
Размер: 10.1 MB

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.

Rust is one of the most exciting new languages out there. Consistently rated as the “most loved” language by the Stack Overflow developer survey, many developers wonder what about Rust makes its users so happy. In our development jobs, it can be difficult to get management buy-in to start up a new service around a language that may never have been used at the company before. Instead, replacing a small part of performance-critical code with Rust might be a more effective first project. This book intends to give you the tools and skills required to make a surgical refactoring like this possible.

The chapters in this book will take you through the areas where Rust differs the most from other languages, introduce you to embedding Rust within a C program, using the Py03 library to embed Rust in Python, as well as testing, profiling, and monitoring your refactored code to ensure that it’s performing within expectations. Refactoring to Rust is intended for developers that have some familiarity with Rust already.

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.

Скачать Refactoring to Rust (MEAP V07)








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.