News for hackers. Stuff that matters.
Re:Major standard library changes in Go 1.20 by latch on Monday January 16, 2023 @10:45PM (#34408891)
Seems to fit the goroutine model well: initialize the arena at goroutine start, destroy it on goroutine end (I assume this happens automatically when it falls out of scope). Like Erlang's process-specific GC.

It would be nice for some debug/testing mechanism (akin to -race, or zig's detectLeaks) to proactively verify nothing has outlived the arena.

There are no comments on this comment yet.