# A LRU cache using go generics

> LRU cache using go generics.

Page: https://nowfound.app/launch/a-lru-cache-using-go-generics

- Launched: 2022-01-12
- Launch-day votes: 57, 11 comments; #835 of 2,630 launches that month (top 32%)
- Website: [github.com](https://github.com/dboslee/lru), 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: 96% chance its website is still online in November 2031 (99% in November 2027, 98% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2022: 85%. [Method](https://nowfound.app/forecast.md)
- Originality: 69/100 (familiar idea). More original than 69% 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

A LRU cache implementation written in Go that uses the language's generics feature to support any data type. The project demonstrates how to build an efficient least-recently-used cache structure, automatically removing the oldest accessed items when capacity is reached. It is suitable for Go developers looking to understand or implement caching patterns in their applications.

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

## What it does, from its own words

LRU cache using go generics. Contribute to dboslee/lru development by creating an account on GitHub.

## Does a similar job

- [go-storage](https://nowfound.app/launch/go-storage): An application-oriented unified storage layer for Golang. (2021-04-23, 86 votes, free, forecast: 86% online in 2031, github.com)
- [Golang](https://nowfound.app/launch/golang-level-7-load-balancer-and-cache): HTTP load balancer and cache. (2019-11-19, 18 votes, free, forecast: 91% online in 2031, github.com)
- [A Database Written in Golang](https://nowfound.app/launch/a-database-written-in-golang): Recently created a minimal persistent relational database in Go. Main focus was on implementing & understanding working the of database, storage management & transaction handling. Use of B+ Tree for… (2025-02-26, 277 votes, free, forecast: 95% online in 2031, github.com)
- [33% Memory Reduction by Reordering Struct Fields](https://nowfound.app/launch/33-memory-reduction-by-reordering-struct-fields): Learn Go (Golang) by writing real code in this interactive course. Practice structs, interfaces, errors, concurrency, and idiomatic backend patterns. (2020-08-13, 19 votes, free tier, from $24/mo, forecast: 91% online in 2031, qvault.io)
- [Pocache, preemptive optimistic caching for Go](https://nowfound.app/launch/pocache-preemptive-optimistic-caching-for-go): Pocache is a Go package that implements preemptive optimistic caching. (2024-10-11, 97 votes, free, forecast: 93% 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)

All alternatives: https://nowfound.app/alternatives/a-lru-cache-using-go-generics.md

## For the maker of A LRU cache using go generics

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/a-lru-cache-using-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/a-lru-cache-using-go-generics"><img src="https://nowfound.app/badge/a-lru-cache-using-go-generics.svg" alt="A LRU cache using go generics on NowFound" height="32"></a>`

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