How Programs Actually Run MOC

Budding Map of Content

1 min read

Above the level of your code and below the level of the machine sits the runtime: the scheduler, the memory model, the collector, the boundary to the kernel. Most of the surprising behavior of a program under load - a stall, a race, a pause, a syscall storm - lives here, in machinery you did not write and usually do not see. These notes map that layer: how work reaches a core, how threads share memory without corrupting it, and what every trip out of your process costs.

Scheduling: getting work onto a core

Async: overlapping the waiting

Memory: sharing it safely

The kernel boundary

Where this map meets the performance one: scheduling, GC pauses, and syscall counts are three of the biggest reasons a system that looked fast in isolation slows down once real load arrives.