RCU and std::protocol
Details
This month we welcome Jonathan Coe and Denis Yaroshevskiy, talking about `std::protocol` and implementing C++ RCU.
Thanks to Meta for hosting us again. They'll also be providing food and drinks, with pizza arriving before we start - so get there early!
As usual we'll need your full name for the door list, so we'll be asking for this on registration (as this may be different to your username). This data will only be used for the door list and not published anywhere.
If you'd like to speak at a future event please get in touch at cppldn.uk/speak.
Here's the approximate schedule:
18:20 Doors open
18:30 Pizza!
19:00 "Intro and news" - Phil Nash
19:10 "A word from our host" - Meta
19:15 "Polymorphism and wide pointers for C++" - Jonathan Coe
Abstract TBD, but this will be about a new proposal for a type-erasure library using reflection.
19:45 break
20:00 "How to implement C++26 RCU" - Denis Yaroshevskiy
C++26 introduces two new low level concurrency primitives: rcu and hazard pointers. Both can serve as fast, practical alternatives to locking - if you know how to use them.
In this talk we take a deep dive into the first one.
We start by looking at the simplest motivational example: a rarely updated config that is read by many threads.
Then we go through rcu implementations, progressively adding more and more interesting features and requirements.
While building rcu, we talk about the very low level concurrency primitives, including newer ones, such as asymmetric fences.
We'll also briefly cover the hazard pointers API so you leave with a complete picture of both C++26 primitives.
21:00 Conclusion
--
About the speakers
Jonathan is ... bio TBD
Denis works as a performance engineer at Meta.
He is a semi-active C++ community member, a few talks, one paper (failed), some C++ standard library patches, some foundational libraries contributions. One of the maintainers for eve simd library.
