# Lockless Ringbuffer Built with Go Generics

> A single publisher, multi subscriber lockless ring buffer build with the new generics in Go 1.18beta.

Page: https://nowfound.app/launch/lockless-ringbuffer-built-with-go-generics

- Launched: 2022-01-20
- Launch-day votes: 44, 22 comments; #849 of 2,630 launches that month (top 32%)
- Website: [github.com](https://github.com/GavinClarke0/LocklessGenericRingBuffer), online when checked 2026-09-17
- Category: [Life & fun](https://nowfound.app/c/life-and-consumer.md)
- Pricing: Free. Free and open source (checked 2026-11-23 on its site)
- Forecast: 92% chance its website is still online in November 2031 (99% in November 2027, 96% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2022: 85%. [Method](https://nowfound.app/forecast.md)
- Originality: 61/100 (familiar idea). More original than 61% of products launched in 2022. On its launch day the archive already held 2 similar products; 1 product like it has launched since.

## In plain words

Lockless Ringbuffer is a Go library that implements a ring buffer data structure supporting one publisher and multiple subscribers without requiring locks. Built using Go 1.18's new generics feature, it enables efficient, lock-free data passing between concurrent goroutines. The library is designed for developers building high-performance concurrent applications in Go who need a thread-safe buffer mechanism without traditional locking overhead.

_Written by AI from its launch page and website, 2026-09-06._

## What it does, from its own words

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. - GavinClarke0/lockless-generic-ring-buffer

## Does a similar job

- [A pure C89 implementation of Go channels, with](https://nowfound.app/launch/a-pure-c89-implementation-of-go-channels-with-blocking-selec): A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects. - GitHub - rochus-keller/CspChan: A pure C (-std=c89) implementation of Go channels, including blocking… (2023-12-13, 271 votes, free, forecast: 97% online in 2031, github.com)
- [go-nbd](https://nowfound.app/launch/go-nbd-a-pure-go-nbd-server-and-client): go-nbd is a pure Go library for building NBD (Network Block Device) servers and clients. (2023-03-29, 113 votes, free, forecast: 94% online in 2031, github.com)
- [A LRU cache using go generics](https://nowfound.app/launch/a-lru-cache-using-go-generics): LRU cache using go generics. (2022-01-12, 57 votes, free, forecast: 96% online in 2031, github.com)
- [A minimal and idiomatic WebSocket library for Go](https://nowfound.app/launch/a-minimal-and-idiomatic-websocket-library-for-go): Minimal and idiomatic WebSocket library for Go. (2019-04-27, 99 votes, free, forecast: 90% online in 2031, github.com)
- [Chan](https://nowfound.app/launch/chan-pure-c-implementation-of-go-channels): Pure C implementation of Go channels. (2014-08-29, 150 votes, free, forecast: 91% online in 2031, github.com)
- [Embedded Ring Buffer C++98](https://nowfound.app/launch/embedded-ring-buffer-c-98): A ring buffer designed to work with embedded devices, does not use heap allocations. (2021-06-06, 26 votes, free, forecast: 91% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/lockless-ringbuffer-built-with-go-generics.md

## For the maker of Lockless Ringbuffer Built with Go Generics

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/lockless-ringbuffer-built-with-go-generics
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/lockless-ringbuffer-built-with-go-generics"><img src="https://nowfound.app/badge/lockless-ringbuffer-built-with-go-generics.svg" alt="Lockless Ringbuffer Built with Go Generics on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=30014108)
