How Computers Work
41 lessons and 169 connections between them, based on the cross-references in each lesson. Point at a lesson to see its own links. For reading order, seethe How Computers Work track page.
TrackAllFrom ScratchSystem DesignDSAAIMind BlownDevOpsFinanceNetworkingHow Computers WorkSecurityPsychologyDatabase InternalsPhilosophyGame TheoryHow Things WorkData SystemsPersonal DevelopmentPortfolio Projects
- Everything Is a Number (bits & bytes)5 lessons link here
- Numbers for Real (signed ints, overflow, floating point)4 lessons link here
- Logic From Switches (transistors → gates → adder → memory)2 lessons link here
- The CPU (fetch-decode-execute, the ISA, assembly)15 lessons link here
- The Memory Hierarchy (cache, locality, the memory wall)16 lessons link here
- How Code Becomes Execution (compilers, stack & heap)7 lessons link here
- Processes, Threads & the Kernel20 lessons link here
- Concurrency & the Hardware13 lessons link here
- I/O, Interrupts & the Bus15 lessons link here
- Capstone: Keypress → Pixel3 lessons link here
- The drawer that says it saved4 lessons link here
- The address book every process carries7 lessons link here
- Whose turn, and who decides5 lessons link here
- The names a program needs to find3 lessons link here
- Waiting without spinning7 lessons link here
- Build a stack machine5 lessons link here
- The program that starts programs9 lessons link here
- Build malloc, then a garbage collector3 lessons link here
- Four ways to get stuck: deadlock4 lessons link here
- Everything is a file descriptor5 lessons link here
- The five calls that open a door0 lessons link here
- Build a thread pool1 lesson links here
- One key, many hands1 lesson links here
- The tap on the shoulder5 lessons link here
- A computer inside a computer: virtualization1 lesson links here
- From power button to PID 1: how a machine boots2 lessons link here
- Doing many things at once inside one core: out-of-order, SIMD and speculation3 lessons link here
- Who sees your write first: memory ordering0 lessons link here
- Which shelf the data lands on: cache associativity and writes0 lessons link here
- From text to machine code: compilers, interpreters and the JIT1 lesson links here
- The filing cabinet: how a file system is built1 lesson links here
- When memory runs out: OOM, swap and NUMA0 lessons link here
- Who is allowed: users, root and capabilities0 lessons link here
- Birth and death of a process: zombies, orphans and PID 10 lessons link here
- Watching a live machine: perf, strace and flame graphs0 lessons link here
- Spinning rust and flash: HDD and SSD internals0 lessons link here
- Every letter in the world: Unicode and UTF-80 lessons link here
- One program, three chips: x86, ARM, RISC-V and the ABI0 lessons link here
- Talking to the hardware: device drivers1 lesson links here
- Thousands of tiny cores: how a GPU works0 lessons link here
- Why chips went wide: clocks, heat and the end of free speed1 lesson links here