My tutorial and take on C++20 coroutines (2021)
scs.stanford.edu·2h·
Discuss: Hacker News
Flag this post

Introduction

Over the last 25 years, I’ve written a lot of event-driven code in C++. A typical example of event-driven code is registering a callback that gets invoked every time a socket has data to be read. Once you have read an entire message, possibly after many invocations, you parse the message and invoke another callbac…

Similar Posts

Loading similar posts...