⬢github Go · 113 ★ +73 since we first saw it · pushed 1 d ago · MIT
theconsensuslabs/noalloc
Tooling and libraries to enforce zero heap allocations in Golang
noalloc is a Go tool that enforces zero heap allocations: mark a function with a //noalloc:root comment and the CLI statically checks its whole call tree, reporting every line that allocates so you can fix or exempt it. It also ships a 'bounded' library of fixed-capacity, non-allocating containers and a JSON encoder/decoder to make writing allocation-free code easier.
Why now: It was recently discussed on Hacker News, and notably the repo is largely AI-written yet claims production use.
Who it is for: Go developers building latency-sensitive, allocation-free services who want allocation guarantees that hold as code evolves.
Stars over our 124 snapshots: 40 to 113, since 1 d ago.
Where people talked about it
API: https://socialmediatrends-api.osmike.com/v1/repos/theconsensuslabs/noalloc