Single producer and multi-reader lockless ring buffer in go using generics from the go 1.18.x release. It is significantly faster than channels with the added type safety of generics compared to ring buffers using interfaces.
Why do you think that https://github.com/alistanis/cache is a good alternative to lockless-generic-ring-buffer