CppCon 2015: Michael Wong “C++11/14/17 atomics and memory model..."
http://www.Cppcon.org
—
"C++11/14/17 atomics and memory model: Before the story consumes you"
--
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/cppcon/cppcon2015
—
In 2011, C++11 atomics offered three memory models but 6 settings. Most compilers have started implementing most of these (relaxed, seq_cst, acquire, release, acq_rel) but not consume (For that you will need to see Paul's talk which naturally follows this talk.) For this, I will deep dive into what each memory model setting means (especially for Games Development and low latency, a new SG14 in the C++ Standard) and how C++11 atomics are used to improve handling of mutable shared state. We have improved on it in C++14 and have more crazy things planned for C++17. I will also look at how C++ atomics are a natural precursor to SG5's Transactional Memory which was approved in Lenexa for publication.
—
Michael Wong is the CEO of OpenMP. He is the IBM and Canadian representative to the C++ Standard and OpenMP Committee. He is also a Director of ISOCPP.org and a VP, Vice-Chair of Programming Languages for Canada’s Standard Council. He has so many titles, it’s a wonder he can get anything done.
He chairs the WG21 SG5 Transactional Memory and SG14 Games Development/Low Latency, and is the co-author of a number C++11/OpenMP/Transactional Memory features including generalized attributes, user-defined literals, inheriting constructors, weakly ordered memory models, and explicit conversion operators. Having been the past C++ team lead to IBM’s XL C++ compiler means he has been messing around with designing C++ compilers for twenty years. His current research interest, i.e. what he would like to do if he had time is in the area of parallel programming, transactional memory, C++ benchmark performance, object model, generic programming and template metaprogramming. He holds a B.Sc from University of Toronto, and a Masters in Mathematics from University of Waterloo.
He has been asked to speak at ACCU, C++Now, Meeting C++, ADC++, CASCON, Bloomberg, CERN, and many Universities, research centers and companies.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Видео CppCon 2015: Michael Wong “C++11/14/17 atomics and memory model..." канала CppCon
—
"C++11/14/17 atomics and memory model: Before the story consumes you"
--
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/cppcon/cppcon2015
—
In 2011, C++11 atomics offered three memory models but 6 settings. Most compilers have started implementing most of these (relaxed, seq_cst, acquire, release, acq_rel) but not consume (For that you will need to see Paul's talk which naturally follows this talk.) For this, I will deep dive into what each memory model setting means (especially for Games Development and low latency, a new SG14 in the C++ Standard) and how C++11 atomics are used to improve handling of mutable shared state. We have improved on it in C++14 and have more crazy things planned for C++17. I will also look at how C++ atomics are a natural precursor to SG5's Transactional Memory which was approved in Lenexa for publication.
—
Michael Wong is the CEO of OpenMP. He is the IBM and Canadian representative to the C++ Standard and OpenMP Committee. He is also a Director of ISOCPP.org and a VP, Vice-Chair of Programming Languages for Canada’s Standard Council. He has so many titles, it’s a wonder he can get anything done.
He chairs the WG21 SG5 Transactional Memory and SG14 Games Development/Low Latency, and is the co-author of a number C++11/OpenMP/Transactional Memory features including generalized attributes, user-defined literals, inheriting constructors, weakly ordered memory models, and explicit conversion operators. Having been the past C++ team lead to IBM’s XL C++ compiler means he has been messing around with designing C++ compilers for twenty years. His current research interest, i.e. what he would like to do if he had time is in the area of parallel programming, transactional memory, C++ benchmark performance, object model, generic programming and template metaprogramming. He holds a B.Sc from University of Toronto, and a Masters in Mathematics from University of Waterloo.
He has been asked to speak at ACCU, C++Now, Meeting C++, ADC++, CASCON, Bloomberg, CERN, and many Universities, research centers and companies.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Видео CppCon 2015: Michael Wong “C++11/14/17 atomics and memory model..." канала CppCon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”CppCon 2015: Richard Powell “Intro to the C++ Object Model"Back to Basics: Concurrency - Arthur O'Dwyer - CppCon 2020CppCon 2015: Scott Schurr “constexpr: Introduction”CppCon 2019: Kate Gregory “Naming is Hard: Let's Do Better”Rust: Memory, Ownership, Borrowing - CS196 SP20CppCon 2015: Paul E. McKenney “C++ Atomics..."Arvid Norberg: The C++ memory model: an intuitionCppCon 2018: Jason Turner “Applied Best Practices”CppCon 2016: Stephan T. Lavavej “tuple<>: What's New and How it Works"CppCon 2015: Kate Gregory “Stop Teaching C"CppCon 2019: Miro Knejp “Non-conforming C++: the Secrets the Committee Is Hiding From You”CppCon 2014: Herb Sutter "Lock-Free Programming (or, Juggling Razor Blades), Part II"CppCon 2016: Hans Boehm “Using weakly ordered C++ atomics correctly"CppCon 2018: Nir Friedman “Understanding Optimizers: Helping the Compiler Help You”Memory ModelCppCon 2018: Fedor Pikus “Design for Performance”CppCon 2017: Fedor Pikus “Read, Copy, Update, then what? RCU for non-kernel programmers”Structured Concurrency: Writing Safer Concurrent Code with Coroutines... - Lewis Baker - CppCon 2019CppCon 2019: Matt Godbolt “Compiler Explorer: Behind The Scenes”