logoalt Hacker News

cyberax01/21/20250 repliesview on HN

A more correct term is "goroutine-local" storage, which Go _already_ has. It's used for pprof labels, they are even inherited when a new Goroutine is started.