Tag: cppcoding

A Pattern Language for Expressing Concurrency in Cpp – Lucian Radu Teodorescu – CppCon 2022

  • Lobby
  • Tag Archives: cppcoding

https://cppcon.org/
---

A Pattern Language for Expressing Concurrency in Cpp - Lucian Radu Teodorescu - CppCon 2022
https://github.com/CppCon/CppCon2022

Concurrency is still largely an unsolved problem. It is said that concurrency appeared in the software world in 1965, when Dijkstra provided a solution to the mutual exclusion problem. It is worth mentioning that this happened before 1968, when we officially started to use the term “Software Engineering”. We embraced structured programming in late 1960s and early 1970s for general code, but never managed to apply structured concurrency on a large scale up to this date. We are still writing our concurrent code in a largely unstructured manner. This is mainly the reason for which concurrency is a large frustration within the C++ community.

In C++, we don’t have so far a model to do structured concurrency. However, this is about to change with senders/receivers proposal. The proposal has high chances to land in the C++26 standard. Meanwhile, there are libraries implementing the proposal, so that people can start using it already. But, between having the proposal available to use and using it efficiently, there is a big gap.

This talk aims at providing a framework for programmers to use the senders/receivers proposal for addressing concurrency. We will define a pattern language for concurrency problems. Moreover, we will propose a visual representation of these patterns, making it easier for programmers to picture and argue about the structure of the concurrency. Through all these, the talk will show that concurrency of a software system can be described and analyzed just like any other architectural concern.
---

Lucian Radu Teodorescu

Lucian Radu Teodorescu has a PhD in programming languages and is a Staff Engineer at Garmin. He likes challenges; and understanding the essence of things (if there is one) constitutes the biggest challenge of all.
---

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd https://events.digital-medium.co.uk

#cppcon #programming #concurrency

Filed under: UncategorizedTagged with: , , , ,