r/programming • • Sep 26 '26

Optimizing a Lock-Free Ring Buffer

https://david.alvarezrosa.com/posts/optimizing-a-lock-free-ring-buffer/
510 Upvotes

89 comments sorted by

View all comments

Show parent comment

0

u/EchoNomad31 Sep 28 '26

Yeah, that masking is the worst part. Mine looked fixed for a while… the release/acquire version is what actually held.