AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Do You Need to Know About Stack and Heap in Go Programming?
E so go is trying to be a language where you can not have to think about any of these details if you don't want to. It also gives you some of the predictability, i would say, that you would expect from a language that is doing sane stuff. Using a stack and a heap kind of thing, you can, for the most part, predict when something is going to live on the stack versus something that's going to lives on the heap. That can really help you when working on problems that require performance.