You already know
The single most important idea in the whole subject is that a computer is a stack of abstractions. A programmer writing Python never thinks about electrons in silicon; a physicist doping a transistor never thinks about your web browser. Each layer hides the mess below it and offers a clean interface to the layer above. Architecture lives at the seam in the middle of that stack — the exact boundary where software stops and hardware begins.
Here is the whole tower. Step down through it: at the top is the app you care about, at the bottom are electrons obeying quantum mechanics, and every rung is a promise to the rung above that it need not look any lower. The two shaded rungs — the Instruction Set Architecture (ISA) and the microarchitecture — are what "computer architecture" actually means.
The Instruction Set Architecture is the visible interface of the processor: the set of instructions it understands, the registers a program can name, how memory is addressed, and what each instruction is guaranteed to do. It is a specification — a contract. On one side, compiler writers promise to emit only these instructions; on the other, hardware designers promise that any chip bearing the name will execute them correctly.
Because it is only a contract, the same ISA can be honoured by wildly different machines. Every
Freezing the ISA while letting the microarchitecture evolve is the trick that built the entire computing industry. Software written against the contract keeps working, so a company can pour billions into a faster chip and every existing program instantly benefits — no rewrite required. The stable interface is precisely what lets the two sides of the seam innovate independently. Almost everything in the rest of this course — pipelining, out-of-order execution, caches, multicore — is a microarchitectural trick to run the same old instructions faster.
In the 2000s Intel bet on a brand-new ISA, Itanium (IA-64), that was cleaner and more
parallel on paper than the ageing, baroque
Casually people say "the architecture of this CPU" to mean its internal design — but in this field the
words are precise. Architecture (the ISA) is the contract you could read in a manual and
program against; microarchitecture is the confidential engineering of one chip that
fulfils it. "Skylake", "Zen 4" and "Apple M-series" are microarchitectures;
We start by learning to measure a machine honestly — because architecture is an engineering
discipline, and you cannot improve what you cannot quantify. The very next lessons build the