Rust: Asynchronous Programming with Tokio

Rust: Asynchronous Programming with Tokio

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 14m | 166 MB

Asynchronous programming is becoming the de facto coding paradigm of Rust. In this course, senior software engineer and content creator Marcus Willock covers what you need to know about using Tokio, the asynchronous primitives it offers, and the channels it provides. Find out what asynchronous programming is and when to use it. Learn the basics of the asynchronous runtime in Tokio, as well as how to spawn a task, how to test asynchronous code, and more. Explore asynchronous primitives, including mutex, semaphore, notify, barrier, and RwLock. Plus, go over channels, what they are, and how you can use them.

Table of Contents

Introduction
1 Use Tokio to put wasted CPU cycles to work
2 Exercise files

Foundational Knowledge
3 What is asynchronous programming
4 When to use asynchronous programming
5 How do the sync and await methods work in Rust

The Basics
6 Tokio’s asynchronous runtime
7 How to spawn a task
8 How to spawn a synchronous task
9 How to test asynchronous code
10 Spawning task example

Asynchronous Primitives
11 What are asynchronous primitives
12 What is a mutex
13 Mutex example
14 What is a semaphore
15 Semaphore example
16 What is notify
17 Notify example
18 What is a barrier
19 Barrier example
20 What is RwLock
21 RwLock example

Channels
22 What are channels
23 Oneshot channel
24 Mpsc channel
25 Watch channel
26 Broadcast channel

Conclusion
27 Next steps

Homepage