Go Time: Golang, Software Engineering cover image

A deep dive into Go's stack

Go Time: Golang, Software Engineering

00:00

How to Shrink a Stack in a Go Routine

When the garbage collector shrinks the stack, does that happen when like after like a Go routine is kind of done being used or does it like happen at like a pause to go routine. At what point does that happen? Because you said we grow stacks when we hit like a function call. That's like a clean space to do it. So certainly if you are paused, so if your Go routine is not actually running, it could be run a bowl, but not allocated to a thread and actually running. In those cases, I believe that if it's at a clean stop, it can shrink the stack.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app