Week 01 · Phase 1 — The Silicon Foundation
CPU, RAM, and Storage — the kitchen analogy that unlocks every computer ever built.
Photo · Johnathan Macedo / Unsplash
Right now, in your pocket, there's a kitchen.
A chef is reading a recipe — fast, focused, doing one thing at a time. There's a counter where the ingredients in active use are laid out. Behind the chef, a pantry holds everything else: every dish ever cooked, every recipe ever filed, every ingredient that hasn't been brought out yet.
This kitchen has been there since 1945. We've changed the menu — accounting, then word processing, then video games, the web, social media, and now AI. The kitchen itself has barely changed. Once you can see it, you can never unsee it. And once you can see it, every confusing thing about computers becomes obvious.
Three things, working together. Everything else in this course — every line of C, every algorithm, every AI model — is built on top of these three.
The Chef
Reads instructions. Runs them. Nothing else. Never tires, does one thing obsessively well, and does it at stupid speeds.
The Counter
Holds what's cooking right now. Gone the moment you reboot. Tiny. Insanely fast.
The Pantry
Holds every file, every app, every photo, every recipe — forever, even with the power off. Huge. Way slower.
The chef can't cook directly from the pantry. Too many trips, too slow. So the chef brings ingredients to the counter first, works from there, and only goes back to the pantry when needed. That's it. That one detail — fast-but-small next to the worker, slow-but-huge in the back — is the root of basically everything interesting software does.
Look at how long each layer takes to reach. The numbers below are rough — machines vary, but the relative gaps stay pretty consistent across all of computing history.
(Bars are clamped at the RAM scale — past that, drawing them to scale would burst the page.)
Every performance problem you'll ever debug comes back to this chart. Big-O analysis, cache optimization, database indexes, "why is this slow?" — all of it is downstream from those latency gaps.
Photo · Pierre Jarry / Unsplash
RAM is the counter — small, expensive, and right next to the chef. Everything you're actively cooking is here.
What actually happens, second by second, when you tap the Safari icon? The whole sequence is a kitchen running an order:
Safari.app from the SSD into RAM. This is the slow part of any program launch — pantry latency.Every program ever written — whether it's a Python notebook, a Chrome tab, an AI model crunching inference, a video game, a web server — is running in this same kitchen. The programs get more complex. The kitchen stays basically the same.
Photo · Jacob McGowin / Unsplash
Storage is the pantry — vast, persistent, slow to walk to. Everything not currently being cooked lives here.
Open Chrome. Open thirty tabs. Watch your machine slow to a crawl.
Your counter is overflowing. When RAM fills up, the OS spills the least-recently-used stuff back to storage — into a region of the SSD called swap. Next time the chef needs it, that's a 100,000 ns trip instead of 100 ns. Your machine isn't "tired" or "slow" — it's just making constant runs to the pantry.
This is why adding more RAM feels like a miracle fix. You're not making the chef faster. You're making the counter bigger so the chef stops making pantry runs.
Look at your own kitchen, right now:
Each row is a separate chef on a separate ticket. Some are thrashing CPU (chopping fast). Some are choking on memory (counter overloaded). Some are stuck doing I/O (endless pantry runs). Every performance question ever collapses to one thing: which one is the problem?
You now have the kitchen. Next week we walk one floor deeper, into the chef's brain — and discover that "reading an instruction" is, secretly, just flipping switches with light.
Week 02 is The Language of Light — electricity, transistors, and binary. Why the entire 80-year history of computing rests on a single, almost embarrassingly simple idea.
All photos are free under the Unsplash license. Chef · Johnathan Macedo · Counter · Pierre Jarry · Pantry · Jacob McGowin. Trinity card illustrations are inline SVG.
Answer: B. RAM is volatile. It only holds data while powered. Storage survives reboots; the CPU is the worker, not a store.
Answer: C. Registers ~0.3 ns vs RAM ~100 ns — roughly two-and-a-half orders of magnitude. Cache exists to hide that gap.
Answer: B. ~100,000 ns vs ~100 ns. Pulling every byte from disk would be like fetching every grain of salt from the warehouse.