r/cpp • u/david-alvarez-rosa • Mar 24 '26
Optimizing a Lock-Free Ring Buffer
https://david.alvarezrosa.com/posts/optimizing-a-lock-free-ring-buffer/
105
Upvotes
r/cpp • u/david-alvarez-rosa • Mar 24 '26
View all comments
Show parent comment
18
u/david-alvarez-rosa Mar 24 '26
The latest optimization comes from rigtorp.se, referenced accordingly
Everything else in the article is new. I put effort into it, trying to keep churn low and explain things as simply as I can, step by step
If it's not your thing, no worries. If you've got specific feedback, I'm happy to take a look. Either way, I'm just trying to help the C++ community :)