Loading…
C++Now 2021 has ended
Tuesday, May 4 • 7:00am - 8:30am
Converting a State Machine to a C++ 20 Coroutine

Log in to save this to your schedule, view media, leave feedback and see who's attending!

C++ 20 coroutines can naturally express in linear code components that are today written as state machines that wait on async operations. This talk walks through using the low-level machinery and customization points in C++ 20 to convert a state machine, which waits at the end of steps for async service operations to complete, into a single coroutine that `co_awaits` those operations.

Speakers
avatar for Steve Downey

Steve Downey

Bloomberg LP


Tuesday May 4, 2021 7:00am - 8:30am MDT
B