CppCon 2017: Fedor Pikus “Read, Copy, Update, then what? RCU for non-kernel programmers”
http://CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017 — RCU (Read, Copy, Update) is often the highest-performing way to implement concurrent data structures. The differences in performance between an RCU implementation and the next best alternative can be striking. And yet, RCU algorithms have received little attention outside of the world of kernel programming. Largely, this is because the most common drawback of RCU solution is complicated, and often wasteful, memory management. Kernel code has some advantages here, whereas a generic solution is much harder to design. There are, however, cases when RCU is simple to use, offers very high performance, and the memory issues are easy to manage. In fact, you may already be using the RCU approach in your program without realizing it! Wouldn't that be cool? But careful now: you may be already using the RCU approach in your program in a subtly wrong way. I'm talking about the kind of way that makes your program pass every test you can throw at it and then crash in front of your most important customer (but only when they run their most critical job, not when you try to reproduce the problem). In the more general case, we have to confront the problems of RCU memory management, but the reward of much higher performance can make it well worth the effort. This talk will give you understanding of how RCU works, what makes it so efficient, and what are the conditions and restrictions for a valid application of an RCU algorithm. We focus on using RCU outside of kernel space, so we will have to deal with the problems of memory management... and yes, there will be garbage collection. — Fedor Pikus: Mentor Graphics - Siemens business, Chief Scientist Fedor G Pikus is a Chief Engineering Scientist in the Design to Silicon division of Mentor Graphics Corp. His earlier positions included a Senior Software Engineer at Google and a Chief Software Architect for Calibre PERC, LVS, DFM at Mentor Graphics. He joined Mentor Graphics in 1998 when he made a switch from academic research in computational physics to software industry. His responsibilities as a Chief Scientist include planning long-term technical direction of Calibre products, directing and training the engineers who work on these products, design and architecture of the software, and research in new design and software technologies. Fedor has over 25 patents and over 90 papers and conference presentations on physics, EDA, software design, and C++ language. — Videos Filmed & Edited by Bash Films: http://www.BashFilms.com Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf --- Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

CppCon 2017: John Regehr “Undefined Behavior in 2017 (part 1 of 2)”

CppCon 2017: Matt Godbolt “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”

CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”

CppCon 2018: Fedor Pikus “Design for Performance”

CppCon 2017: John Lakos “Local ('Arena') Memory Allocators (part 1 of 2)”

Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)

The Mind Behind Linux | Linus Torvalds | TED

Decoding Those Inscrutable RCU CPU Stall Warnings

CppCon 2015: Andrei Alexandrescu “Declarative Control Flow"

Branchless Programming in C++ - Fedor Pikus - CppCon 2021

CppCon 2017: Bjarne Stroustrup “Learning and Teaching Modern C++”

CppCon 2017: James McNellis “Everything You Ever Wanted to Know about DLLs”

The Uncomfortable Truth About AI “Reasoning” | World Science Festival

IRQs: the Hard, the Soft, the Threaded and the Preemptible

CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”

The Only Unbreakable Law

12 what is RCU 2013 Paul McKenny at IISc

Thread Synchronisation in Real-Time Audio Processing With RCU (Read-Copy-Update) - Timur Doumler ADC

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

