From Sand to Processor: The Secret History of the Electronic Computer

 

 
 

The Birth of the Electronic Computer

From vacuum tube to transistor, from sand to processor, from machine code to the C language

TIMELINE
1801Jacquard loom” the idea of programming with punched cards
1837Babbage — Analytical Engine” Ada Lovelace wrote the first algorithm
1890Hollerith punched card system” the origin of IBM
1936Alan Turing — Turing Machine” the theoretical foundation
1943Colossus” first programmable electronic computer (vacuum tube)
1945ENIAC” first general-purpose electronic computer, 30 tons
1945Von Neumann architecture” storing programs in memory
1947Transistor invented” Bell Labs, Bardeen, Brattain, Shockley
1954TRADIC” first transistorized computer
1958Integrated circuit (IC)” Jack Kilby (TI) and Robert Noyce (Fairchild)
1963ASCII standard” numbers assigned to letters
1968DRAM invented” Robert Dennard, IBM
1971Intel 4004” first microprocessor
1972C programming language” Dennis Ritchie, Bell Labs
CONTENTS
  1. Electricity: The Foundation of Everything
  2. From Babbage to Turing: The Theoretical Foundation
  3. The Vacuum Tube Era (1943“1954)
  4. The Transistor: The Real Revolution
  5. Silicon, Sand, and Chip Manufacturing
  6. Binary System and Machine Code
  7. ASCII: How Letters Became Numbers
  8. The Evolution of Memory Technology
  9. The Processor: CPU and GPU
  10. Keyboard, Mouse, and Monitor
  11. Assembly and the C Language
  12. The Compiler: Translating Human to Machine
  13. The Full Chain: The Journey of the Letter A
01

Electricity: The Foundation of Everything

At its core, the electronic computer rests on an extremely simple question: is there electricity, or not? It knows nothing else. It does not know letters, numbers, or colors.

Think of a light bulb. It is either on or off. Two states. We gave these the names 1 and 0. These names are labels invented entirely by humans — for the computer, there is really only electricity present or absent.

CORE CONCEPT
All the complexity inside a computer ” images, videos, music, text ” ultimately reduces to these two states. Electricity present = 1. Electricity absent = 0. This is called the binary system.

With a single bulb you can express only two things. But 8 bulbs side by side yield 256 different combinations. 16 bulbs give 65,536. With billions of bulbs, everything becomes possible.

02

From Babbage to Turing: The Theoretical Foundation

Long before electronic computers existed, the idea of mechanical computation was already alive. The earliest steps were entirely mechanical.

Charles Babbage and Ada Lovelace (1837)

British mathematician Charles Babbage designed a mechanical calculating machine called the Analytical Engine. It was never completed, but the concept was revolutionary: a general-purpose, programmable machine. Mathematician Ada Lovelace wrote algorithms for it, earning her recognition as the world's first programmer.

Herman Hollerith (1890)

Hollerith developed a punched card system for the U.S. census. Holes punched into cardstock represented data. His company eventually became IBM.

Alan Turing (1936)

British mathematician Alan Turing defined a theoretical model called the Turing Machine. Not a physical device, but a mathematical concept ” yet it was the first precise definition of what "computation" means. It remains the cornerstone of modern computer science.

During World War II, Turing worked at Bletchley Park to break the Nazi Enigma cipher machine. His work changed the course of the war. After the war, Turing was subjected to chemical castration by the British government for being gay, and died in 1954. A tragic end.” Historical note
03

The Vacuum Tube Era (1943–1954)

The first electronic computers used vacuum tubes rather than transistors. Vacuum tubes worked on the same principle ” pass electricity or don't ” but they were enormous, hot, and fragile.

Colossus (1943)

Built by British intelligence, Colossus is regarded as the first programmable electronic computer. It was used to break Nazi codes, contained 1,500 vacuum tubes, and its existence was kept secret for decades.

ENIAC (1945)

ENIAC ” 1945
Weight     : 30 tons
Floor space: 167 square metres
Vacuum tubes: 17,468
Power      : 150 kilowatts
Speed      : 5,000 additions per second

Von Neumann Architecture (1945)

John von Neumann proposed a revolutionary idea: store the program in memory alongside the data. Programs could be changed without rewiring hardware. Every computer built today still follows this architecture.

THE PROBLEM WITH VACUUM TUBES
Vacuum tubes heated up like light bulbs and burned out frequently. On ENIAC, a tube had to be replaced roughly every two days. The larger the computer, the more often it failed. The transistor solved this problem.
04

The Transistor: The Real Revolution

In 1947, three physicists at Bell Laboratories ” John Bardeen, Walter Brattain, and William Shockley ” invented the transistor. They received the Nobel Prize in Physics for this discovery in 1956.

A transistor is a tiny electrically controlled switch. When a small control signal arrives, it opens; when it stops, it closes. It performed the same job as a vacuum tube but was small, cool, and nearly indestructible.

THE FIRST TRANSISTORIZED COMPUTER
The first transistorized computer, TRADIC, was built at Bell Labs in 1954. MIT's TX-0 followed in 1955. Giants like ENIAC were still running on vacuum tubes.

The Integrated Circuit: The Secret of Miniaturization (1958)

Jack Kilby (Texas Instruments) and Robert Noyce (Fairchild Semiconductor) integrated all transistors and their connections onto a single piece of silicon. This was the birth of the integrated circuit (IC). Kilby received the Nobel Prize for this invention in 2000.

TECHNOLOGYERASIZEPROBLEM
Vacuum tube1943“1954Bulb-sizedHeat, fragility
Transistor1954“1958CentimetresManual wiring
Integrated circuit1958“1970MillimetresManufacturing difficulty
Microprocessor1971“presentNanometresHeat management
05

Silicon, Sand, and Chip Manufacturing

Transistors are made from a material called silicon, found inside ordinary beach sand. The sand is melted, purified, and cut into discs ” these are called wafers.

DOPING

Phosphorus or Arsenic added ’ Extra electrons ’ Conducts electricity (N-type)

Boron added ’ Electron deficit ’ Different conductivity (P-type)

N-type and P-type side by side ’ A controllable switch = Transistor

Photolithography: Drawing with Light

1. Take a silicon wafer (a disc of melted sand)
2. Coat it with a light-sensitive chemical
3. Project the circuit pattern onto it with light
4. Chemical dissolves where light hits → path opened
5. Fill with metal → conductive trace formed
6. Billions of transistors and connections complete
Size evolution:
1960 ’ 100 micrometres
1980 ’ 3 micrometres
2000 ’ 130 nanometres
2015 ’ 14 nanometres
2024 ’ 2 nanometres (ˆ 10 atoms side by side)

A human hair  ˆ 80,000 nanometres
A transistor  ˆ 2 nanometres
Difference    : 40,000×
06

Binary System and Machine Code

Since computers only understand electricity present or absent, how do they perform calculations? Humans devised the binary (base-2) system.

DecimalBinary
0        ’ 0
1        ’ 1
2        ’ 10
4        ’ 100
8        ’ 1000
6501000001
Transistor:  1    2    3    4    5    6    7    8
Value:      128   64   32   16    8    4    2    1

State:       0    1    0    0    0    0    0    1

Open ones: 64 + 1 = 65

The computer does not "know" 65. It only senses which transistors are open. The number 65 is the name humans gave to that particular state.

07

ASCII: How Letters Became Numbers

ENCODINGYEARORIGINNOTE
5-bit teleprinter code1949EDSAC32 characters
EBCDIC1964IBMIBM systems
ASCII1963US standard7-bit, 128 characters
A = 65     a = 97
B = 66     b = 98
0 = 48     ! = 33
space = 32

How Is the Letter A Drawn on Screen?

○ ● ● ● ○
● ○ ○ ○ ●
● ● ● ● ●
● ○ ○ ○ ●
● ○ ○ ○ ●

● = pixel lit    ○ = pixel dark
08

The Evolution of Memory Technology

TECHNOLOGYERAHOW IT WORKED
Mercury delay line1945“1955Electrical pulses travelling through a mercury column in a loop
Williams tube1947“1955Static electric charges stored on a cathode ray tube
Magnetic core memory1955“1975Tiny ring magnets: magnetized/demagnetized = 1/0
Transistor DRAM1968“presentEach bit = 1 transistor + 1 capacitor

ROM (Read-Only Memory): Written during manufacturing. Contents survive even when power is cut.

RAM (Random Access Memory): Based on DRAM invented in 1968 by Robert Dennard at IBM. When the computer is powered off, capacitors discharge and all data is lost.

Think of RAM as a desk surface. The larger the desk, the more you can keep in front of you. A small desk means constantly walking to the filing cabinet ” that slows everything down.— Analogy
09

The Processor: CPU and GPU

The Birth of the Microprocessor (1971)

In 1971, Intel squeezed an entire processor onto a single chip: the Intel 4004. The first microprocessor. It contained 2,300 transistors. Today's processors contain billions.

CPU (Central Processing Unit)

Contains a small number (8“32) of powerful cores. Each core is a complete arithmetic unit: circuits capable of addition, subtraction, and comparison. Ideal for complex, sequential tasks.

GPU (Graphics Processing Unit)

Contains thousands of small cores. Each does simple work, but all of them operate simultaneously. Designed to calculate the colour of millions of pixels at the same time.

CPU: 8“32 powerful cores
     Complex sequential tasks ’ program management, OS

GPU: 5,000“16,000 simple cores
     Same operation repeated millions of times ’ graphics, AI
10

Keyboard, Mouse, and Monitor

Keyboard

Inside a keyboard is a grid (matrix) of horizontal and vertical wires. When a key is pressed, the upper and lower layers touch, closing the circuit and letting electricity flow. The keyboard chip identifies which row and column intersected, looks up the combination in a ROM table, converts it to a number, and sends it to the processor.

Mouse

Beneath the mouse is a small optical sensor. It captures the surface image hundreds of times per second. By comparing two consecutive frames it calculates the direction and speed of movement. The processor uses this to determine the cursor's new position.

Monitor

A monitor contains millions of pixels, each made of three sub-pixels: red, green, and blue (RGB). The amount of electricity delivered to each controls its brightness.

EARLY ERA: BLACK-AND-WHITE CRT SCREENS
The first monitors used CRT (cathode ray tube) technology. An electron gun fired a beam at the phosphor coating on the screen. Where electrons struck, the screen glowed; where they did not, it stayed dark. Same logic: electricity present = bright, electricity absent = black.
11

Assembly and the C Language

Early programmers wrote machine code directly — raw strings of 0s and 1s. Every processor family had its own instruction set.

Assembly: The First Abstraction Layer

10110000MOV   (move a value)
00000001ADD   (add)
11101011JMP   (jump elsewhere)

The C Language (1972)

At Bell Labs, Dennis Ritchie realised a language close to English words could be written and a separate program could translate it into machine code. He developed the C programming language in 1972 to write the Unix operating system.

printf("Hello, World\n");

 The compiler translates this into machine code:
10110000 01101101 11100011 ...
"C is quirky, flawed, and an enormous success."” Dennis Ritchie
12

The Compiler: Translating Human to Machine

A compiler is a program that translates code written in a high-level language like C into machine code. Like a dictionary: when it sees "printf," it writes out the corresponding transistor instructions.

THE CHICKEN-AND-EGG PARADOX
Who wrote the first compiler? In machine code, by hand. Ritchie and his team wrote, once, the machine code equivalent of every C command. After that, everything else was built on top of that compiler. At the very beginning there was a person memorising machine code and writing it out. That one effort paid off for every program that followed.
Python / JavaScript    human readable
        “
C / C++                system level
        “
Assembly               close to machine
        “
Machine code           0s and 1s
        “
Transistors            electricity present / absent
13

The Full Chain: The Journey of the Letter A

What actually happens when you press the A key on your keyboard?

You pressed the A key

The relevant row and column intersected in the keyboard matrix

The circuit closed, electricity flowed

Keyboard chip checked ROM → "this means 65"

Signal 65 was sent to the processor

Processor read the software in RAM

"If 65 arrives, light up the A pixel template"

GPU calculated the relevant pixels

Specific pixels lit up on the screen

Your brain interpreted that pixel pattern as the letter A

At every step, only electrical signals moved back and forth. The letter A was formed inside your brain.

A computer is a stupid machine. What makes it appear intelligent is the rules humans have laid down. Numbers are an agreement. Letters are an agreement. Software is an agreement. At the bottom there is always only electricity present and absent. Everything else — from Babbage to Turing, from Kilby to Ritchie — is layer upon layer of human agreement.” The Essence of Computer Science

From vacuum tube to transistor, from sand to processor, from machine code to C

Ada Lovelace · Alan Turing · John von Neumann · Bardeen · Brattain · Shockley · Jack Kilby · Robert Noyce · Dennis Ritchie · Brian Kernighan

If you liked this article, you might also like my other work:


Comments