English Bookys

Creating a Chat Server with async Rust and Tokio (2021)

Creating a Chat Server with async Rust and Tokio (2021)

  • Category: Courses
  • Views: 127
  • Posted on: 25/09/2021 20:45

English | 2021 | h264, yuv420p, 1920x1080 | 48000 Hz, 2channels | Duration: 53m | 359 MB

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.

Share

Creating a Chat Server with async Rust and Tokio (2021)

bookys teams would be in need of some new uploaders. If you're interested, please contact us x
';