Open to Work: Senior Backend & Distributed Systems Engineer (Go / Python) View LinkedIn →

Memory

Technical Journal // Memory
Aug '26

How Go Channels Actually Work

Go channels look simple, but they rely on heap-allocated ring buffers and runtime scheduler parks. Learn how the hchan structure, stack-to-stack copies, and lock ordering work to prevent leaks and panics.

Jan '26

Go Struct Field Alignment: How Memory Padding Wastes Your RAM

How CPU word alignment and struct field ordering silently inject memory padding in Go. Learn field reordering to cut heap memory allocations and cache misses.

Jan '26

Memory Mechanics In Go - Stack vs Heap

When thinking about performance, it's easy to focus on Big O notation. But in Go, the difference between the Stack and the Heap is often the difference between a service that scales and one that chokes on GC pauses. This post explores escape analysis, the "Pointer Myth", and why passing by value is often 40x faster than passing by pointer.