Тёмный

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

CppCon
Подписаться 153 тыс.
Просмотров 12 тыс.
50% 1

CppCon.org
-
Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/Cpp...
-
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.
-
Videos Filmed & Edited by Bash Films: www.BashFilms.com
*-----*
Register Now For CppCon 2022: cppcon.org/reg...
*-----*

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@tionogu
@tionogu 7 лет назад
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!
@wizardy6267
@wizardy6267 6 лет назад
Gor's talks always having great passions which I admire
@mingchiisuen2576
@mingchiisuen2576 7 лет назад
Excellent and amazing talk by Gor, thanks!
@llothar68
@llothar68 7 лет назад
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.
@ContemptuousCornbread
@ContemptuousCornbread 6 лет назад
Unfortunately, Scott has retired : (
@mortifiedpenguin6431
@mortifiedpenguin6431 6 лет назад
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?
@GorNishanov
@GorNishanov 5 лет назад
Coroutines TS implements stackless coroutines, where suspension only affects the current function and does not block the stack. There were Coroutine presentation in other years at CppCon that went into the details. For example: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_fu0gx-xseY.html gives some background info. This one ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8C8NnE1Dg4A.html goes over implementation details.
Далее
Лиса🦊 УЖЕ НА ВСЕХ ПЛОЩАДКАХ!
00:24
28c3: The coming war on general computation
54:35
Просмотров 256 тыс.
The Tragedy of systemd
47:18
Просмотров 1,1 млн