News for hackers. Stuff that matters.
Re:Backward Compatibility, Go 1.21, and Go 2 by bheadmaster on Monday August 14, 2023 @02:17PM (#37124528)
I see no reason why would de-allocating a stack require action from the garbage collector - afterall, once a goroutine grows its stack and copies the contents of the old stack to the new stack, there aren't any reachable objects left on the old stack, so it can be deallocated without any GC intervention.

But I don't know enough about Go internals to be 100% sure.

There are no comments on this comment yet.