I built a Ruby gem that handles memoization with a ttl
I built a Ruby gem for memoization with TTL + LRU cache. It’s thread-safe, and has been helpful in my own apps. Would love to get some feedback: https://github.com/mishalzaman/memo_ttl
I built a Ruby gem that handles memoization with a ttl launched on April 22, 2025 with 48 votes, #617 of 7,818 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 1 year on.
In plain words
Memo TTL is a Ruby gem that caches method results with time-based expiration and automatic eviction of least-used entries. Built for Ruby developers, it combines memoization with TTL (time-to-live) and LRU cache capabilities in a thread-safe package. The tool is designed to help optimize performance in applications by reducing redundant computations while ensuring cached data doesn't persist indefinitely.
written from the facts on this page · September 2026
From the sources
MemoTTL is a thread-safe memoization utility for Ruby that supports TTL (Time-To-Live) and LRU (Least Recently Used) eviction. It's designed for scenarios where memoized values should expire after a period and memory usage must be constrained. - mishalzaman/memo_ttl
Does a similar job
all alternatives →
A hash array-mapped trie implementation in C2023 · github.com · ▲171Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and/or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…
A LRU cache using go generics2022 · github.com · ▲57LRU cache using go generics. Contribute to dboslee/lru development by creating an account on GitHub.
LLM Rescuer – Fixing the billion dollar mistake in RubyOct 2025 · github.com · ▲96> "In a world without nil safety, one gem dares to ask: 'What if we just guessed?'"
Simple in-memory key/value store written in Elixir using Shards2016 · github.com · ▲80Simple in-memory Key/Value Store written in Elixir using `cabol/ex_shards` - cabol/kvx
- FBFile-based cache for slow Python functions2024 · docs.sweep.dev · ▲73
Goru, an experimental, Go-inspired concurrency library for Ruby2023 · github.com · ▲6Hey folks, wanted to show this off and get feedback. Still early/experimental but there are quite a few concepts I'm excited about here. This project came about while writing a program in Go and loving its approach to concurrency. Being a long-time Rubyist I immediately started to think about what similar concepts might look like in Ruby. I set out with two main design constraints: 1. Lightweight: I didn't want routines to be backed by fibers or threads. Having been involved some in the async project (https://github.com/socketry/async), I had some experience using…
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, April 2025
the whole month →
Hi everyone, I built PyXL — a hardware processor that executes a custom assembly generated from Python programs, without using a traditional interpreter or virtual machine. It compiles Python -> CPython Bytecode -> Instruction set designed for direct hardware execution. I’m sharing an early benchmark: a GPIO test where PyXL achieves a 480ns round-trip toggle — compared to 14-25 micro seconds on a MicroPython Pyboard - even though PyXL runs at a lower clock (100MHz vs. 168MHz). The design is stack-based, fully pipelined, and preserves Python's dynamic typing without static type restrictions.…
Dev tools · 2025 · runpyxl.com

The Unsure Calculator is an online tool that lets you calculate with numbers you’re not sure about.
Life & fun · 2025 · filiph.github.io

https://the-pocket.github.io/Tutorial-Codebase-Knowledge/
AI · 2025 · github.com


