Articles: how a computer works — from the transistor to the internet
In-depth articles for every level of the interactive 3D models: transistors and logic, the processor, memory and storage, the computer, servers and data centers, networks and software. Every topic can be opened in 3D and taken apart.
Overviews
- Map of scales: from the transistor to the Earth
This site is one continuous zoom: from a switch tens of nanometers across to a planet 12,742 km in diameter. Between them lie about 14 orders of magnitude, and at every step the new object is built from many copies of…
- The journey of a keypress: from finger to pixel
You pressed “A” in a text editor, and the letter appeared on the screen, seemingly instantly. In reality, in those 10–50 milliseconds a microcontroller in the keyboard, the USB bus, a controller in the chipset, a…
- The journey of a request: from the browser to a server on another continent and back
You typed the address of an American website and pressed Enter. Half a second later the page is already on the screen, and in that time the request has passed through the OS kernel, the network card, Wi-Fi, the router…
Logic: from transistor to arithmetic
- Transistor: a switch controlled by voltage
Everything a computer does comes down, at the very bottom, to tens of billions of tiny switches. A MOSFET field-effect transistor lets current flow between the source and the drain only when the right voltage is…
- Logic gate: from transistors to logic
A gate is a few transistors connected so that the output voltage depends on the input voltages according to a logical rule: AND, OR, NOT, exclusive OR. Everything else is built from gates: adders, registers, caches…
- Adder: how a processor adds numbers
Binary addition works like long addition on paper: add the digits from right to left and carry a one into the next digit. A full adder does this for one bit using five gates, and a chain of 64 such circuits adds 64-bit…
- Core blocks: what each part of a processor core does
A core runs a program instruction by instruction: read an instruction, figure out what it means, take numbers from registers, compute, write the result. Each of these actions is handled by its own block. There are…
Processor
- The processor core: an educational datapath and a modern core
A core is a machine that continuously fetches instructions from memory and executes them. This level shows two views: an educational single-cycle datapath of a 64-bit RISC-V, where every connection is visible and…
- Pipeline: several instructions at once
A pipeline splits the execution of an instruction into stages, like an assembly line. While one instruction writes its result, the next one accesses memory, a third computes in the ALU, a fourth is being decoded, and a…
- Cache: why the processor doesn’t wait for memory
Main memory responds in 70–100 nanoseconds — that is 300–500 processor clock cycles. A cache is a small, fast memory next to the core that keeps copies of recently needed data. Almost all accesses hit the cache, and…
- The processor die: what goes where on the silicon
A die is a sliver of silicon 1–2.5 cm² in area that holds tens of billions of transistors and kilometers of wiring. A die photo clearly shows the large blocks: cores, caches, the memory controller, graphics, I/O. The…
- The CPU package: from die to board
A die is too small and fragile to be mounted on a board directly. The package fans out its thousands of microscopic contacts to 1700–1850 large pads, holds the power capacitors, delivers hundreds of amperes to the die…
Computer
- Motherboard: how everything is connected
The motherboard is a multilayer printed circuit board in the ATX format (305 × 244 mm) that connects the processor, memory, graphics card, storage and peripherals and distributes power to them. The board itself…
- DDR5 memory: how a byte is stored
Main memory (RAM) holds the code and data of running programs while the computer is on. Each bit in it is a charge in a capacitor with an area of thousandths of a square micrometer, and this charge leaks away within…
- Storage: SSDs and hard drives
A storage drive keeps files when the power is off. In an SSD, data is stored as charges in billions of NAND flash memory cells; in a hard drive, as magnetized regions on a spinning platter. Hence their different…
- Graphics card: how an image appears
The processor tells the graphics card: “draw these triangles with these shaders and textures,” and the graphics card turns them into millions of colored pixels — 165 times a second. Each pixel is computed almost…
- System unit: what a computer is built from
The system unit is the case that houses the motherboard, the processor under its cooler, memory, the graphics card, storage drives and the power supply. The case has three jobs: hold the parts in the right position…
- Workstation: the whole computer
A computer is more than the system unit. The monitor shows the result, the keyboard and mouse pass on commands, the speakers play sound, and cables carry energy and data between them. This is where the boundary between…
Servers and data centers
- Server: a computer for the data center
A server is built from the same parts as a PC — processors, memory, drives, expansion cards — but it’s designed for something else: running for years without being switched off, surviving the failure of any replaceable…
- Data center: where websites live
A data center is a building where thousands of servers run around the clock. A server by itself is simple; the hard part is something else — continuously supplying megawatts of electricity, carrying away just as much…
Networks and the internet
- Local network: router, switch, Wi-Fi
A home network connects a desktop, a laptop, a phone, a printer and a network storage box to each other and to the internet. Inside it, devices talk using Ethernet frames addressed by MAC addresses, while the router is…
- City and region: how networks connect
The internet is a network of networks: tens of thousands of independent companies have agreed to forward packets for one another. A city is where this is easiest to see: a request from an apartment passes through the…
- Continent: backbones between cities
Between cities and countries, data travels over backbone fiber — cables along roads and railways, with amplifiers every 80–100 km. A single fiber carries dozens of laser “colors” at once, each at 100–800 Gbit/s. Light…
- Internet and Earth: cables and satellites
At the scale of the planet, the internet rests on submarine cables: more than 99 % of intercontinental traffic travels over fiber on the ocean floor. Land backbones connect the coasts with the interiors of continents…
Software
- UEFI firmware and boot loader: the first seconds after the power button
When you press the power button, the operating system is sitting on the drive, but there is nobody to start it: the processor is empty, the RAM is not configured, and no devices have been found. This job is done by the…
- The operating system: who shares out the processor, memory and devices
Hundreds of programs live on a computer at the same time, yet there are only 8–24 processor cores, 16–64 GB of RAM, and a single drive. The operating system divides this hardware among the programs so that each one…
- Languages and runtimes: how program text becomes processor instructions
A processor understands only one thing: a sequence of numeric instructions in its own architecture. Python, JavaScript, C, Java and Rust are ways of writing a program that are convenient for humans, and there is always…
- Inside the browser: from HTML bytes to pixels on the screen
A browser is one of the most complex programs on a computer: Chromium has tens of millions of lines of code, which puts it almost on the scale of an operating system. It launches dozens of processes, parses HTML and…
- Network and server: how data finds its way and comes back
When a browser requests a page, the data passes through the network card, cables, the routers of a dozen companies, and an undersea cable, and then through the kernel and the server program — all in a fraction of a…
- Databases and apps: how to find one row among billions
Behind every online store, bank, messenger, and game with save files there is a database. Its job seems simple — store records and find them — but the requirements are tough: an answer in fractions of a millisecond…
- Version control: how Git remembers every edit and brings a team’s work together
A program is almost never written in one sitting or by one person: code changes over years, dozens of people work on it, and any edit can break something. A version control system stores the project’s entire history…
- Neural networks: matrix multiplications that learned to answer
A neural network is not a program with rules like “if the text contains word X, answer Y.” It is a huge set of numbers, called weights, plus a simple computational scheme: multiply, add, pass through a nonlinear…