Loading…
This event has ended. Visit the official site or create your own event on Sched.
Monday, September 25 • 11:00am - 12:00pm
Coroutines: What can't they do?

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

Feedback form is now closed.
Coroutines are coming. They're coming for your asynchronous operations. They're coming for your lazy generators. This much we know. But once they're here, will they be satisfied with these offerings? They will not. They will require feeding, lest they devour our very souls. We present some fun ways to keep their incessant hunger at bay. I, for one, welcome our new coroutine overlords.

The Coroutines Technical Specification is an experimental extension to the C++ language that allows functions to be suspended and resumed, with the primary aim of simplifying code that invokes asynchronous operations. We present a short introduction to Coroutines followed by some possibly non-obvious ways they can help to simplify your code.

Have you ever wanted to elegantly compose operations that might fail? Coroutines can help. Have you ever wished for a zero-overhead type-erased function wrapper? Coroutines can help. We show you how and more.

Speakers
avatar for Toby Allsopp

Toby Allsopp

Senior Software Engineer, WhereScape Software Limited
Toby Allsopp has been using C++ for over 20 years and hasn't given up yet. His interests include cutting edge language features, functional programming, and solving the hard problems. Toby lives in Auckland, New Zealand, where he organizes the Auckland C++ Meetup.


Monday September 25, 2017 11:00am - 12:00pm PDT
Atanasoff Hall Meydenbauer Center
  •C++17 and Beyond