Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Rust: Asynchronous Programming with Tokio

Rust: Asynchronous Programming with Tokio

1h 15mIntermediate2023-05-09

Authors

Marcus Willock

Marcus Willock

Senior Software Engineer and Content Creator

Course details

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.

Skills covered

RustProgramming LanguagesOpen SourceSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Use Tokio to put wasted CPU cycles to work
  • 02 - Exercise files

1. Foundational Knowledge

  • 03 - What is asynchronous programming
  • 04 - When to use asynchronous programming
  • 05 - How do the sync and await methods work in Rust

2. The Basics

  • 06 - Tokio's asynchronous runtime
  • 07 - How to spawn a task
  • 08 - How to spawn a synchronous task
  • 09 - How to test asynchronous code
  • 10 - Spawning task example

3. 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

4. Channels

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

Conclusion

  • 27 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal