CppCon 2016: Gor Nishanov “C++ Coroutines: Under the covers'

preview_player
Показать описание


Coroutines feel like magic. Functions that can suspend and resume in the middle of the execution without blocking a thread! We will look under the covers to see what transformations compilers perform on coroutines, what happens when a coroutine is started, suspended, resumed or cancelled. We will look at optimizations that can make a coroutine disappear into thin air.

Gor Nishanov
Principal Software Engineer, Microsoft
Gor Nishanov is a is a Principal Software Design Engineer on the Microsoft C++ team. He works on the 'await' feature. Prior to joining C++ team, Gor was working on distributed systems in Windows Clustering team.


*-----*
*-----*
Рекомендации по теме
Комментарии
Автор

Wow this talk really demystified many things about coroutines. The pseudocode was amazing to build a mental model of what's happening. This talk and James McNellis' talk are really amazing!
Honestly surprised other coroutine talks don't cover it this way. Well I guess to others maybe the other talks were more helpful.
But these 2 talks, * chefs kiss * perfect. I think the pieces are falling into place in my head. Time to see what other footguns this opens up haha.

dexterman
Автор

How hasn't anyone commented yet,  how amazing this all is. With such aggressive optimizations possible, other uses will become popular, like the await on optional for instance. Quite exciting.

YourCRTube
Автор

про тебя в Юте писали, за 1989 год, молодец )

MNTR
Автор

He's just typing and not explaining.

dosomething