A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3896
Date: 2014-01-20
Library Foundations for Asynchronous Operations
by Christopher Kohlhoff
Excerpt:
In this paper, we will first examine how futures can be a poor choice as a fundamental building block of asynchronous operations in C++. The extended
std::future
brings inherent costs that penalise programs, particularly in domains where C++ use is prevalent due to its low overheads. An asynchronous model based on a pure callback approach, on the other hand, allows efficient composition of asynchronous operations.
Add a Comment
Comments are closed.