📈 GH Trending Explorer Updated 2026-11-07 08:24 UTC 🎲 Surprise me

← all repos

theconsensuslabs / noalloc

git clone https://github.com/theconsensuslabs/noalloc.git

Go tooling that checks functions marked //noalloc:root, and everything they call, for heap allocations, plus fixed-size data structures.

Why you might care

Keeps zero-allocation Go code from regressing as it changes: the CLI reports every allocating line in a root's call tree and exits nonzero when it finds one. Includes bounded collections and a JSON encoder/decoder that avoid allocation. Requires Go 1.27 or later; the README calls it experimental and used in production at The Consensus.

Categories

Alternatives

go-escape-analysisgcflags -m
+3
stars, 24h · #9,820
+25
stars, 7 days · #10,188
+141
stars, 30 days · #7,209
141
★ total · +22% this week
3
forks · 1 open issues

Star history (as recorded here)

2026-10-29 · 36 ★ 2026-11-07 · 141 ★
LanguageGo
LicenseMIT
Created2026-10-26 (11d ago)
Last push2d ago
Watchers1
OwnerOrganization

Links

README

Loading README…

Blurb generated by claude-haiku-5-5 8d ago. Star deltas marked ~ are extrapolated from partial history.