codeworse·7 bulan yang lalu·discussI guess, such buffer could be enriched by allowing to subscribe for updates(something like message channels)
codeworse·7 bulan yang lalu·discussAs far as I know, the last approach is the only way to implement efficient lock-free ring-buffer