History of Computers

8 min✏️ Quiz at the end

Ideas Before Machines

Long before electricity powered a single circuit, people dreamed of machines that could calculate. In the 1800s, Charles Babbage designed the Analytical Engine — an entirely mechanical device, built from gears and levers, intended to be programmable: capable of following different instructions to solve different problems. It was never fully built in his lifetime, but the design contained the seed of everything to come — a machine executing a sequence of steps.

Working alongside Babbage's ideas, Ada Lovelace wrote detailed notes describing how the Analytical Engine could compute a sequence of numbers — widely considered the first published algorithm written for a machine, decades before any such machine existed to run it. Lovelace also saw further than most of her contemporaries: she wrote that such a machine might one day manipulate more than numbers — music, images, symbols of any kind — anticipating, remarkably, the representation of text, images, and sound as binary that underpins every device today.

The Electronic Era Begins

The 20th century turned mechanical dreams into electronic reality. Early computers like ENIAC (finished in 1945) were staggering by modern standards: room-sized, built from thousands of fragile vacuum tubes, consuming enormous power, generating serious heat — and still far less capable than a pocket calculator. They were built for urgent, narrow purposes: calculating artillery trajectories, breaking wartime codes. Alan Turing's work on code-breaking and on the theoretical foundations of computation (what can, and cannot, ever be computed) shaped the field profoundly — the very idea of a general-purpose machine, running any algorithm you give it, traces back to his theoretical work.

Shrinking, Decade by Decade

Two inventions drove the next seventy years of transformation:

  • The transistor (1947) — a tiny, reliable, low-power electronic switch replacing bulky, hot, unreliable vacuum tubes. This is the logic gate building block computing still runs on today, just refined almost beyond recognition.
  • The microprocessor (early 1970s) — an entire CPU shrunk onto a single small chip. Before this, "a CPU" meant cabinets of circuitry; after it, a computer could fit on a desk.

The trend was so consistent that it earned a name: Moore's Law, the observation that the number of transistors squeezable onto a chip roughly doubled every couple of years for decades — an explosion of capability that no other technology in history has matched for so long (the pace has slowed in recent years as physical, atomic-scale limits close in).

From Offices to Bedrooms to Pockets

The 1970s–80s brought the personal computer — machines affordable and usable by individuals and small businesses, not just governments and universities. The 1990s networked them together at scale via the internet and the web. The 2000s–2010s put comparable computing power in your pocket: a modern smartphone vastly outperforms the room-sized machines of the 1940s, running on a battery, connecting wirelessly, carrying cameras, sensors, and touchscreens that early engineers could barely have imagined.

What Never Changed

Here is the reassuring thread through all of it: the ideas in this course are not new inventions of the smartphone era — they are the ideas Babbage, Lovelace, and Turing's generation worked with too. Binary, logic gates, the fetch-decode-execute cycle, algorithms expressed as precise sequences — all present from the very beginning. What changed across two centuries is scale: billions of transistors where there was one gear, nanoseconds where there were minutes, a pocket where there was a room. Understanding today's computer means understanding these same enduring ideas — just packed impossibly small and impossibly fast.

Try It Yourself

Make a timeline of five moments from this lesson (Analytical Engine, Lovelace's algorithm, ENIAC, the transistor, the microprocessor, the personal computer, the smartphone) and estimate, for each, roughly how it compares to a modern phone in size, speed, and who could access it. What single invention do you think mattered most — and why?

Worked Example — Putting Moore's Law Numbers Into Perspective

Moore's Law is easy to state and genuinely hard to feel in your bones without working through the actual numbers. Roughly doubling every two years, starting from a chip with about 2,000 transistors in the early 1970s:

YearTransistors (roughly)
19712,000
1981~64,000
1991~2 million
2001~64 million
2011~2 billion
2021~60+ billion

Fifty years, roughly twenty-five doublings, and the result is not "fifty times more" — doubling twenty-five times multiplies by over 30 million. This is exactly the same exponential growth pattern behind binary place values doubling column by column, just running for decades instead of a few digits. It is also why computing progressed so much faster than almost any other technology in history: a car engine or a building material doubling in capability every two years for fifty years is unthinkable, but a transistor count genuinely did.

Key Words

  • Analytical Engine — Babbage's 19th-century mechanical, programmable computer design
  • Vacuum tube / transistor — the bulky, unreliable early switch / the tiny, reliable switch that replaced it
  • Microprocessor — an entire CPU built onto a single chip
  • Moore's Law — the decades-long observed trend of rapidly increasing transistor density
  • Personal computer — a computer affordable and usable by individuals, not just institutions