filmov
tv
CppCon 2015: Arthur O'Dwyer “Futures from Scratch...'
Показать описание
—
Futures from Scratch: A Guided Tour of Concurrency in C++14 and Beyond
--
—
The contents of header are probably still a bit mysterious to most people. Sure, we know that setting the value of a promise causes the corresponding future to resolve; but how does that happen behind the scenes in a way that allows us to move futures around? How are we going to implement the new features in the Concurrency TS, such as .then() and .when_all()? How (if at all) do futures interact with std::thread, std::async, and "executors"?
We'll present an extremely simplified implementation of futures and shared_futures, without the template metaprogramming that comes along with future and future and so on, but showing all the pointers and synchronization primitives.
—
Arthur O'Dwyer worked for many years at Green Hills Software, making the world's most optimizing C and C++ compilers. Now he works at Mixpanel in San Francisco, where he organizes a monthly C++ meetup.
—
*-----*
*-----*
Futures from Scratch: A Guided Tour of Concurrency in C++14 and Beyond
--
—
The contents of header are probably still a bit mysterious to most people. Sure, we know that setting the value of a promise causes the corresponding future to resolve; but how does that happen behind the scenes in a way that allows us to move futures around? How are we going to implement the new features in the Concurrency TS, such as .then() and .when_all()? How (if at all) do futures interact with std::thread, std::async, and "executors"?
We'll present an extremely simplified implementation of futures and shared_futures, without the template metaprogramming that comes along with future and future and so on, but showing all the pointers and synchronization primitives.
—
Arthur O'Dwyer worked for many years at Green Hills Software, making the world's most optimizing C and C++ compilers. Now he works at Mixpanel in San Francisco, where he organizes a monthly C++ meetup.
—
*-----*
*-----*
CppCon 2015: Arthur O'Dwyer “Futures from Scratch...'
CppCon 2015: Arthur O'Dwyer “Lambdas from First Principles: A Whirlwind Tour of C++'”
CppCon 2017: Arthur O'Dwyer “A Soupçon of SFINAE”
Back to Basics: Concurrency - Arthur O'Dwyer - CppCon 2020
CppCon 2016: Arthur O'Dwyer “Template Normal Programming (part 1 of 2)”
CppCon 2015: Artur Laksberg “Concurrency TS Editor's Report”
SCM Challenge: Unique Words - Arthur O'Dwyer [ CppCon 2017 ]
CppCon 2016: Arthur O'Dwyer “Template Normal Programming (part 2 of 2)'
Back to Basics: Type Erasure - Arthur O'Dwyer - CppCon 2019
CppCon 2016: Arthur O'Dwyer “ADT puzzler'
'Mostly Invalid': flat_map, Exception Guarantees, and the STL - Arthur O'Dwyer - CppC...
CLANG + C2 - Engineering/Futures/Measurements - James Radigan [ CppCon 2015 ]
CppCon 2017: Arthur O'Dwyer “dynamic_cast From Scratch”
CppCon 2014: Arthur O'Dwyer 'C++11 in the Wild: Techniques from a Real Codebase'
CppCon 2018: Arthur O'Dwyer “Concepts As She Is Spoke”
Birth of Study Group 14... - Nicolas Guillemot & Sean Middleditch [ CppCon 2015 ]
completion T : Improving the future T with monads - Travis Gockel [ CppCon 2015 ]
C++Now 2018: Arthur O'Dwyer “An allocator is a handle to a heap”
Back to Basics: Algebraic Data Types - Arthur O'Dwyer - CppCon 2020
CppCon 2015: Juan Pedro Bolívar Puente “Transducers: from Clojure to C++'
CppCon 2015: Joel Falcou PART 2 “Expression Templates: Past, Present, Future'
Arthur O'Dwyer: The Rule of Seven (Plus or Minus Two): Modern C++ Boilerplate
C++Now 2018: Arthur O'Dwyer “The Best Type Traits that C++ Doesn't Have”
What's New in Visual C++ 2015 and Future Directions - Steve Carroll • Ayman Shoukry [ CppCon 20...
Комментарии