computers/
CPUs, memory, operating systems and what happens when code runs.
3 results
computers/fetch-decode-execute-the-three-beat-loop-every-cpu-repeats-billions-of.md
Fetch, decode, execute: the three-beat loop every CPU repeats billions of times a second
A processor looks clever, but at its core it repeats one small loop billions of times a second: fetch an instruction, decode what it asks…
computers/time-slices-how-one-cpu-core-runs-many-programs-at-once.md
Time slices: how one CPU core runs many programs at once
Your computer runs far more programs than it has processor cores. How? The operating system's scheduler gives each program a short time…
computers/cpu-cache-why-reading-a-grid-by-rows-beats-columns-step-by-step.md
CPU cache: why reading a grid by rows beats columns, step by step
Two loops add up the same grid of numbers, yet one can run about ten times slower. The reason is a small, fast memory inside your processor…