Blogs / Personal blogs

Internals for Interns

internals-for-interns.com

A collection of blog posts explaining software internals in an approachable way

Popular posts
3
Total points
429
HN comments
112
Rank
#6,162 personal

Visit internals-for-interns.com → RSS feedOn Hacker News Feb 2026 – Mar 2026

Programming Languages 3Systems & Performance 2Software Engineering 1

1

Understanding the Go Compiler: The Linker

In the previous post , we watched the compiler transform optimized SSA into machine code bytes and package them into object files. Each .o file contains the compiled code for one package—complete with machine instructions, symbol definitions, and relocations marking addresses that need fixing. But your program isn’t…

2

Understanding the Go Runtime: The Scheduler

In the previous article we explored how Go’s memory allocator manages heap memory — grabbing large arenas from the OS, dividing them into spans and size classes, and using a three-level hierarchy (mcache, mcentral, mheap) to make most allocations lock-free. A key detail was that each P (processor) gets its own memory…