Escape analysis is one of the most important Go concepts, and it is often misunderstood.
When you write Go code, you create variables. As a programmer, you usually don’t think about where those variables live in memory. You just write code and expect it to work.
But the compiler must decide something very important for every variable:
Sh...
gokun-notes.hashnode.dev6 min read