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,167 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 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…