Загрузка страницы

Creating a Chat Server with async Rust and Tokio

Check out Lily Mara's book 📖 Refactoring to Rust | http://mng.bz/nMnK 📖 To save 40% off this book ⭐ DISCOUNT CODE: twitmara40 ⭐ Building a chat server is a great way to learn the Tokio library because a chat server forces you to think about concurrent IO, which is the core purpose of Tokio. Lily demonstrates how you can spawn background tasks to manage independent network streams, and use tokio::select! to concurrently poll tasks which require a shared state. The lessons learned here can be applied generally to all kinds of asynchronous coding challenges in Rust.

📚📚📚
Refactoring to Rust | http://mng.bz/nMnK
To save 40% off this book use discount code: twitmara40
📚📚📚

"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 emphasizes techniques for incrementally refactoring performance-critical code to Rust while keeping the rest of your application in its original language.

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.

Видео Creating a Chat Server with async Rust and Tokio канала Manning Publications
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
20 мая 2021 г. 22:00:02
01:00:32
Яндекс.Метрика