An Adventure in Race Conditions - Felix Petriconi [ACCU 2019]
ACCU Conference
0:00 / 0:00
An Adventure in Race Conditions - Felix Petriconi [ACCU 2019]
1 038 просмотров · 7 лет назад
ACCU Conference
20,7 тыс. подписчиков
1 038 просмотров · 7 лет назад
#Cpp #ACCUConf #programming
Please note that there were some microphone issues at the start of the presentation
Chip speeds are not increasing, but the number of cores is, so the path to better performance is concurrency. But writing concurrent code is hard.
In this introduction to asynchronous programming, I’ll give you an outlook on high-level abstractions that will help you avoid the most common traps associated with locks and atomics.
I’ll use a series of code examples from our production to illustrate just how subtle race conditions can be. I’ll also share strategies that find these problems and better, avoid them in the first place and show that using high-level abstractions don’t result in performance loss.
The talk will cover the following topics:
Basic principles of code sharing in concurrent code
Mutability, mutex and locks
Atomics
Condition variables
Race conditions
Futures
-------------------------
Felix Petriconi is working as a professional programmer since 1993 after he had finished his study of electrical engineering. He started his career as a teacher for intellectually gifted children, freelance programmer among others in telecommunication and automotive projects. Since 2003 he is employed as programmer and development manager at the MeVis Medical Solutions AG in Bremen, Germany. He is part of a team that develops and maintains radiological medical devices. His focus is on C++ development, training of C++11/14/17, and application performance tuning. He is a regular speaker at the C++ user group in Bremen, a blog editor of https://isocpp.org, a contributor to the https://stlab.cc concurrency library and a member of the ACCU’s conference committee.
-------------------------
-------------------------
Future Conferences:
ACCU 2019 Autumn Conference, Belfast (UK):
2019-11-11 and 2019-11-12.
ACCU 2020 Spring Conference, Bristol (UK), Marriott City Centre:
2020-03-24 to 2020-03-28.
-------------------------
ACCU Website: www.accu.org
ACCU Conference Website: conference.accu.org
ACCU Twitter: @ACCUConf
ACCU YouTube: / accuconf
Filmed and Edited by Digital Medium Ltd - events.digital-medium.co.uk
Contact: events@digital-medium.co.uk