Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Asynchronous I/O and Coroutines for Smooth Data Streaming

NDC Conferences via YouTube

Overview

Explore asynchronous I/O and coroutines for efficient data streaming in this NDC TechTown 2021 conference talk. Delve into the io_uring mechanism introduced in Linux kernel 5.1 for asynchronous network and disk operations, enhancing program responsiveness. Learn how C++20 coroutines offer a solution to "callback hell" by allowing function suspension and resumption within the same thread. Gain insights into combining io_uring and coroutines to create code that reads asynchronous data in multiple short loops, simulating parallel execution without threading concerns. Cover topics such as Uring IO, multithreaded IO, performance improvements, coroutine basics, promise types, coroutine filters, and potential undefined behavior. Acquire valuable resources to further your understanding of these advanced programming concepts.

Syllabus

Introduction
Uring IO
Multithreaded IO
Better performance
Coroutines
Coroutine returns
Promise type
Coroutine
Filter
Recap
Undefined behavior
Resources

Taught by

NDC Conferences

Reviews

Start your review of Asynchronous I/O and Coroutines for Smooth Data Streaming

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.