High-performance minimalist queue implemented using a stripped-down lock-free ringbuffer, written in Go (golang.org)
Go
Latest commit abc139f Sep 5, 2016 @textnode committed on GitHub Update gringo.go
Added explanation for choosing masking over division.

README.md

gringo

A high-performance minimalist queue implemented using a stripped-down lock-free ringbuffer, written in Go (golang.org)

When operating with 2 or more goroutines, GOMAXPROCS >= number of goroutines and sufficient CPU cores to service the goroutines in parallel, this gives approximately 6 times the throughput of an equivalent pipeline built using channels.