gokun-notes.hashnode.devEscape 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...Jan 25·6 min read
gokun-notes.hashnode.devTypes In Go - Complete Guide By GokunFrom Beginner to Interview Ready Part 1: Foundation (Beginner Level) Understanding Types - What and Why? A type defines: What kind of data a variable can hold What operations you can perform on it How much memory it uses Think of types like con...Jan 24·29 min read
gokun-notes.hashnode.devStack and Heap in Go: The Complete GuideLet me explain how Go manages memory for your running program. This is one of the most important concepts to understand deeply. What Are Stack and Heap? First, understand this clearly: stack and heap are NOT in your executable file. They don't exist ...Jan 24·13 min read