filmov
tv
CppCon 2016: Nat Goodspeed “Elegant Asynchronous Code'

Показать описание
—
—
Asynchronous I/O is an essential technology for increasing concurrency without introducing more threads, which carry both overhead and risks. Unfortunately, leveraging async I/O can be disruptive to careful code architecture.
This talk focuses not on the mechanics of async I/O, but rather on a library that manages async I/O with code that looks and behaves like traditional sequential code. Boost.Fiber introduces "userland threads," permitting the application coder the benefits of both async I/O and clean layers of abstraction.
This talk presents an overview of the library, discusses integration with event-driven frameworks and illustrates several useful patterns.
—
Nat Goodspeed
Linden Lab
Nat Goodspeed first read about C++ shortly after implementing a medium-sized language interpreter in classic C. Almost every C++ feature led to forehead smacking accompanied by muttered remarks about how the language could have solved THIS problem... He has been fascinated (sometimes infuriated) by C++ ever since.
When he first encountered Boost libraries, a light shone from the heavens and choirs of angels sang "AAAAAAH..." The idea of writing and maintaining C++ code without Boost has become unthinkable -- even now that some of those libraries have been adopted into the C++ standard.
Nat has presented papers on coroutines and fibers to WG21, the ISO C++ committee. He has spoken on these topics at C++ Now conferences.
Nat has worked on databases, games and virtual worlds, usually on architecture and infrastructure. He has functioned as Boost evangelist within various organizations.
—
*-----*
*-----*
—
Asynchronous I/O is an essential technology for increasing concurrency without introducing more threads, which carry both overhead and risks. Unfortunately, leveraging async I/O can be disruptive to careful code architecture.
This talk focuses not on the mechanics of async I/O, but rather on a library that manages async I/O with code that looks and behaves like traditional sequential code. Boost.Fiber introduces "userland threads," permitting the application coder the benefits of both async I/O and clean layers of abstraction.
This talk presents an overview of the library, discusses integration with event-driven frameworks and illustrates several useful patterns.
—
Nat Goodspeed
Linden Lab
Nat Goodspeed first read about C++ shortly after implementing a medium-sized language interpreter in classic C. Almost every C++ feature led to forehead smacking accompanied by muttered remarks about how the language could have solved THIS problem... He has been fascinated (sometimes infuriated) by C++ ever since.
When he first encountered Boost libraries, a light shone from the heavens and choirs of angels sang "AAAAAAH..." The idea of writing and maintaining C++ code without Boost has become unthinkable -- even now that some of those libraries have been adopted into the C++ standard.
Nat has presented papers on coroutines and fibers to WG21, the ISO C++ committee. He has spoken on these topics at C++ Now conferences.
Nat has worked on databases, games and virtual worlds, usually on architecture and infrastructure. He has functioned as Boost evangelist within various organizations.
—
*-----*
*-----*
Комментарии