C++Now 2016 has ended
Please visit the C++Now website.
Back To Schedule
Friday, May 13 • 2:30pm - 4:00pm
The Fiber Library

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

The Boost.Fiber library supports fine-grained concurrency within a single thread. It permits you to make efficient use of a given thread's CPU, keeping it busy with other work while a particular fiber waits for asynchronous results. Most significantly, the Fiber library permits you to write and maintain what looks and behaves like simple sequential code, building a hierarchy of abstraction layers per industry best practices, while at the same time reaping the full benefits of asynchronous I/O concurrency. This talk presents an overview of the library, discusses integration with event-driven frameworks and illustrates several useful patterns, including load-balancing work among a pool of threads. Developers who have had to maintain application logic structured as a chain of callbacks, or then() calls, may find this library particularly welcome.


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... Read More →

Friday May 13, 2016 2:30pm - 4:00pm MDT
Booz Allen Hamilton