Volume 1 — Computer Science Foundations¶
How machines actually work
Before a single line of Python, you need a working mental model of what a computer is doing. This volume builds it from the transistor up: binary, memory, storage, processes, networks and the cost model that explains why some code is fast and some is not.
Partly available
Some lessons in this volume are written; the remainder are outlined below and not yet authored.
What you will be able to do¶
- Explain what happens between pressing Enter and seeing output
- Reason about memory vs disk and why that dominates performance
- Read Big-O notation and apply it to your own code
- Debug an encoding error instead of guessing at it
Chapters¶
- Bits, bytes and how anything is represented
- Memory, storage and the speed hierarchy
- Processes, threads and the operating system
- How a program becomes a running thing
- Networks, the internet and HTTP from first principles
- Complexity and the cost model of code
- Text, encodings and Unicode
- Numbers: integers, floats and why 0.1 + 0.2 surprises you
Lessons available now¶
These lessons come from the Version 1 course and are complete.
Why Python, and How It Runs
- Why Python Eats the World (and Your Career)
- Setting Up: Python 3.13, uv & the Modern Toolchain
- How Python Actually Runs: Interpreter, Bytecode & the REPL