CppCon 2017: Gor Nishanov “Naked coroutines live (with networking)”

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


C++ Coroutines come naked. Just the language feature, no library support apart from a few traits that allow developing coroutine adaptors.

In this session we will start with just a compiler that implements a coroutine TS and a reference networking TS implementation and through (mostly) live coding together we will develop a cool, efficient and beautiful async networking app.

Gor Nishanov: Principal Software Engineer, Microsoft

Gor Nishanov is a Principal Software Design Engineer on the Microsoft C++ team. He works on design and standardization of C++ Coroutines, and on asynchronous programming models. Prior to joining C++ team, Gor was working on distributed systems in Windows Clustering team.


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

You just gotta love Gor's energy and passion! Great Job Gor! Awesome presentation... Can't wait to start using these facilities in production someday!

tionogu
Автор

Gor's talks always having great passions which I admire

wizardy
Автор

Excellent and amazing talk by Gor, thanks!

mingchiisuen
Автор

Ok, now i need to wait for Scott Meyers to write a book about it and explaining it in length and with deep technical understanding.

llothar
Автор

But it is the case that every future *must* run on a thread separate from the main thread, no?
Otherwise it would be the case that, in the networking example for instance, the first read is scheduled inside the async_accept completion handler, but the co_await would immediately block that stack and it could never return back to the networking event loop, so the read operation would never be executed, leading to a deadlock. Correct?

mortifiedpenguin