# A brief history of computers

Recently I've been learning about the history of computers. I find it to be incredibly interesting. I'd like to write a post about it to summarize and comment on what I've learned.

I'm a little hesitant though. I'm no expert on this stuff. I'm largely learning about it all for the first time. So then, take all of this with a grain of salt.[^fnnmpm5aqm7] It's more of a conversation starter than a finished product. If you want something authoritative, I'd recommend the [Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/index.html).

Logic
=====

Let's start with logic. Computers are largely based on boolean logic. Y'know, 1s and 0s. AND, OR, NOT.

George Boole did a bunch of important work here in the mid 1800s, but let's try backing up even further. Was there anything important that came before Boolean logic?

Yeah, there was. It goes all the way back to Aristotle in ~350 BCE. Aristotle did a bunch of groundbreaking work in the field of logic.

Furthermore, after "breaking the ground", there weren't any significant developments until the mid 1800s. Wow! That's a long time. An unusually long time. In other fields like mathematics, natural sciences, literature and engineering, there were significant advances. I wonder why things in the field of logic were so quiet.

Anyway, let's talk about what exactly Aristotle did. In short, he looked at arguments *in the abstract*. It's one thing to say that:

    All dogs have feet
    Filo is a dog
    Therefore, Filo has feet

It's another thing to say that:

    All P have Q
    R is a P
    Therefore, R has Q

The former is *concrete*. It's talking about dogs, feet and Filo. The latter is *abstract*. It's talking about P's, Q's and R's. Do you see the difference?

Before Aristotle, people never[^670ohjfvvuc] thought about this stuff in terms of P's and Q's. They just thought about dogs and feet. Thinking about P's and Q's totally opened things up. Pretty cool. Abstraction is powerful. I think this is very much worth noting as an important milestone in the history of computers.

Ok. So once Aristotle opened the flood gates with categorical logic, over time, people kinda piggybacked off of it and extended his work. For example, the Stoics did a bunch of work with propositional logic.

Propositional logic is different from categorical logic. Categorical logic is about what categories things belong to. For example, earlier we basically said that dogs belong to the category of "things with feet" and that Filo belongs to the category of "dogs". With those two statements, we deduced that Filo must also belong to the category of "things with feet". It makes a lot of sense when you think about it visually:

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/c57999325bc3b993c35e30d580fedceaede559951af156e1.png)

On the other hand, propositional logic is about things being true or false. For example, with this:

    It is raining
    I don't have an umbrella

we can deduce things like:

    "It is raining and I have an umbrella" is false
    "It is raining or I have an umbrella" is true

Propositional logic is about truth and uses operators like AND, OR, NOT, IF-THEN, and IF-AND-ONLY-IF. Categorical logic is about categories and uses operators like ALL, NO and SOME.

After propositional logic, subsequent work was done. For example, predicate logic kinda piggybacked off of propositional logic. But in general, nothing too crazy was going on. Let's jump ahead to the mid 1800s and George Boole.

Boole introduced stuff like this: 

    p is true
    q is false
    therefore
      (p and q) is false
      (p or q) is true
      (not (p and q)) is true
      ...

But wait a minute. I'm confused. Didn't we get that sort of thing from propositional logic all the way back in 300 BCE from the Stoics? In researching this question I'm seeing things saying that it did in fact already exist, it's just that Boole made it more "systematic and formalized". I don't understand though. In what way did he make it more systematic and formalized?

Oh well. Suffice it to say that boolean logic was a thing that we knew about. Let's move on.

Jacquard loom
=============

I was going to start talking about Charles Babbage, but I started wondering whether anything came before him. Turns out that something did: the Jacquard loom.[^hh6cjw29uj]

Let me provide some context. Weaving is a thing. Maybe that doesn't need to be said, but I at least had to look up what weaving is. Basically, if you want to produce fabric or cloth — ie. for clothing or bed sheets — you'd have to interlace yarn or thread. That's called weaving.

![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Warp_and_weft_2.jpg/220px-Warp_and_weft_2.jpg)

Up until the Industrial Revolution in the mid 1700s, weaving was done by hand. It was a very labor intensive process. Which means that the resulting products were somewhat expensive. The Invisible Hand doesn't like that, and so in the Industrial Revolution, people created weaving machines.

But they were kinda static. What if things were dynamic? What if you were able to program the machine to produce fabrics with different colors and patterns?

Enter: the Jacquard loom. The Jacquard loom was a weaving machine that let you do this. You'd provide it with punch cards and the punch cards would determine what colors and patterns the fabric would have.

![https://upload.wikimedia.org/wikipedia/commons/0/09/Jacquard.loom.cards.jpg](https://upload.wikimedia.org/wikipedia/commons/0/09/Jacquard.loom.cards.jpg)

Close-up of a [Jacquard loom](https://en.wikipedia.org/wiki/Jacquard_loom)'s chain, constructed using 8 × 26 hole punched cards

If you think about it, the people who operated these machines were probably the first programmers. After all, they were providing encoded instructions to a machine in order to get the machine to do something they want. Something useful. 

Pretty cool, right? Charles Babbage sure thought so.

Difference Engine
=================

Charles Babbage — [considered](https://en.wikipedia.org/wiki/Charles_Babbage#) by some to be the "father of the computer" — was inspired by the Jacquard loom. 

But let's back up and get some [context](https://en.wikipedia.org/wiki/Charles_Babbage#Background_on_mathematical_tables) first. The year was 1812, and [mathematical tables](https://en.wikipedia.org/wiki/Mathematical_table) were a thing.

What are mathematical tables, you ask? Imagine that you need to do some [trigonometry](https://genius.com/163612). What's `sin(79)`?

Well, today you'd just look it up online. 15 years ago you'd probably grab your TI-84 calculator. But in the year 1812, you'd have to consult a mathematical table. Something like this:

![](https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/Abramowitz%26Stegun.page97.agr.jpg/220px-Abramowitz%26Stegun.page97.agr.jpg)

They'd use [computers](https://en.wikipedia.org/wiki/Computer_(occupation)) to compute all the values and write them down in books. Just not the type of computers you're probably thinking of. No, they'd use *human* computers.

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/d92fdd559db895dde8294e9d0350c529134d8aae9f5a28d3.png)

Yup, that's right. Back then, real human beings would sit in a room doing a bunch of math to come up with all of these values.[^w4th04rh1w8]

Babbage didn't like this though. It was too error prone. Too labor intensive. He wanted to make it less error prone and less labor intensive.

His first step towards this was to make the computations simpler. That way you can employ some relatively unskilled people to do addition and subtraction for you. Traditionally you'd need to employ skilled people to do more complex math. From his [own account](https://en.wikipedia.org/wiki/Charles_Babbage#Background_on_mathematical_tables):

> In 1812 he was sitting in his rooms in the Analytical Society looking at a table of logarithms, which he knew to be full of mistakes, when the idea occurred to him of computing all tabular functions by machinery. The French government had produced several tables by a new method. Three or four of their mathematicians decided how to compute the tables, half a dozen more broke down the operations into simple stages, and the work itself, which was restricted to addition and subtraction, was done by eighty computers who knew only these two arithmetical processes. Here, for the first time, mass production was applied to arithmetic, and Babbage was seized by the idea that the labours of the unskilled computers \[people\] could be taken over completely by machinery which would be quicker and more reliable.

Babbage [came up with](https://youtu.be/YwqltwvPnkw?t=1016) an organizational structure that became standard for other computing groups:

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/eb2f5ed7621c8590dcb9ee35210154cf2a869a3ca63bd666.png)

First the scientist would come up with the thing they wanted to compute. Then there was a planner who would come up with a way to break the computation down into a bunch of simple parts. Finally, the planner would tell various (human) computers to work on these simple tasks. Similar to how a senior software engineer today will break a project down into various tasks and assign those tasks to some junior engineers.

Ten years later, Babbage started working on the Difference Engine. A machine that can do the necessary computations to construct mathematical tables for polynomial functions. It was the era of the Industrial Revolution, after all. Why pay for human labor when you can instead build machines?

By the way, the name "Difference Engine" comes from the fact that it [used](https://en.wikipedia.org/wiki/Difference_engine#Method_of_differences) Newton's method of finite differences. With this method, the machine didn't have to do any multiplication or division, which I assume made the mechanical stuff easier.

Unfortunately, Babbage never completed the Difference Engine. He had a bunch of cool blueprints and designs, but he was never able to actually finish building it. Partly due to issues with funding.

However, using Babbage's designs, people in the 1990s constructed the Difference Engine. It is on display today at the Science Museum in London.

Analytical Engine
=================

It wasn't just a lack of funds though that pulled Babbage away from the Difference Engine. No. He was also seduced by visions of the Analytical Engine.

The Difference Engine was just too narrowly scoped. It was used for polynomial functions. But what about other things that need to be computed? In particular, mathematical tables for things like trigonometry and logarithms. Wouldn't it be cool if there was a machine that was able to compute all of that stuff?

And that was the motivation behind the Analytical Engine. The desire for a general purpose computing device. There was a big demand for mathematical tables at the time, so if you had a device that was capable of computing anything you want it to compute... on demand... well, that'd be pretty game changing.

But Babbage was playing the wrong game. To be fair, he wasn't alone. Everyone else's focus was also on using these sorts of machines to do math. However, Babbage was fortunate enough to recognize the genius of and collaborate with a talented young woman in her early 20s named Ada Lovelace, and Lovelace saw this machine as something that was *way* more than a mere calculator.

![Ada King, Countess of Lovelace. Watercolour portrait circa 1840](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Ada_Lovelace_portrait.jpg/220px-Ada_Lovelace_portrait.jpg)

She saw it as something to be used for generating music. Art. Translating languages. Science. Poetry. She even envisioned it as something that can perform automated reasoning and deduction.

Music? Art? Language?

...

...

What???? How the hell...

...

...

...

I know, I know. This is what everyone else thought at the time too. It's the intuitive thing to think. The machine does stuff with *numbers*. How can something that operates on *numbers* be used for *music and art*? Well, let me introduce you to what I'm starting to suspect is *the* key idea in computer science: encoding.

Let's start with language. I think that's an easy one to understand.

Suppose that `00000` represents the letter "a", `00001` represents the letter "b", `00010` represents the letter "c", `00011` represents the letter "d", so on and so forth. Well, that implies that the word "apple" can be represented as `00000 00111 00111 00110 00101`.

    a: 00000
    p: 00111
    p: 00111
    l: 00110
    e: 00101

It also implies that the word "manzana" can be represented as `01000 00000 01001 01111 00000 01001 00000`.

    m: 01000
    a: 00000
    n: 01001
    z: 01111
    a: 00000
    n: 01001
    a: 00000

Ok. Well, with that, suppose you wanted to have the computer translate English words into Spanish for you. How would you program it to do that?

Easy. You'd write instructions that basically say something along the lines of:

> Whenever you see `00000 00111 00111 00110 00101` ("apple"), replace it with `01000 00000 01001 01111 00000 01001 00000` ("manzana").

Do you see? By using this 5-bit encoding system, the computer is now able to do stuff with *language*, not just with numbers.

I'm telling you, encoding is a crucial idea.

Now what if we wanted the computer to make music for us? How would we get it to do that? Well... we'd have to take advantage of encoding again.

How do we encode *music?* I dunno. Let's play around and try to figure it out.

Suppose there are seven notes: A through G. We'll use three bits to encode them.

    A: 000
    B: 001
    C: 010
    D: 011
    E: 100
    F: 101
    G: 110

Suppose that notes can be either flat, sharp or normal. We'll use two bits to encode this.

    Flat: 00
    Sharp: 01
    Normal: 10

Suppose there are, I dunno, ten possible octaves. We'll have to use four bits to encode the octave.

    1: 0000
    2: 0001
    3: 0010
    4: 0011
    5: 0100
    6: 0101
    7: 0110
    8: 0111
    9: 1000
    10: 1001

With that, a C-sharp in the third octave would be encoded as `010 01 0010`.

*   `010` = C
*   `01` = Sharp
*   `0010` = Third octave
*   `010 01 0010` = C-sharp in the third octave

Ok. Now how would we have the computer compose a song? Well, just move those 1s and 0s around! Something like "start with a C-sharp in the third octave, then keep going up two octaves, down one, and cycle back to the lowest octave if you get too high". Boom: it's a computer generated song.

Unfortunately, nothing ever came of the Analytical Engine. The team had trouble building it. Funding was scarce. People didn't see the vision. It wouldn't have been fast enough to do useful things anyway. Etc, etc. Babbage had the designs, but they just weren't able to get it done.

Oh, it's also worth noting that the proposed architecture of the Analytical Engine really mirrored the architecture of modern day computers. Inspired by the Jacquard loom, the instructions were stored in memory so that you could program it. It had something analogous to a CPU. Control flow. I/O. Etc.

Tabulating machines
===================

Ada Lovelace wrote a lot about the significance of general purpose computers. That they could be used for things like art and music and would transform many industries. Unfortunately, that work was never circulated or recognized during her lifetime. People weren't into these general purpose computers. They just wanted their mathematical tables.

Well, I'm actually not even so sure of that. I mean, mathematical tables were really important. There was a large demand for them. Lots of people worked hard at producing many volumes of them. But it wasn't until the 1940s and the advent of the electronic computer that they actually built a machine that was used to construct mathematical tables.

I'm confused though. Babbage came up with the blueprints for his Difference Engine in the 1820s. I know he never succeeded at actually building it, but he never really had a fair chance if you ask me. If he had a team of thousands of people working for him, that'd be one thing, but he only ever had the budget for a few other engineers and craftsmen to help him. It was much more akin to a guy in his garage with a few buddies than an organization with a real R&D budget. It seems to me like if he had, I don't know, dozens, maybe hundreds of people working for him, they would have been able to actually build the Difference Engine.

And from what ChatGPT tells me, it's likely that this would have been an investment with a positive ROI. It'd make the construction of mathematical tables significantly faster and more reliable, and there was a big demand for such tables. It makes sense to me that it'd be a worthwhile investment. After all, they were already employing similar numbers of people to construct the tables by hand.

Anyway, it turns out that not much was really going on. Babbage worked on his stuff and failed. A few others were also working on similar projects but overall the amount of work being done on such machines was pretty limited.

Until the very end of the century, that is. In the late 1880s, a man named Herman Hollerith invented the Hollerith Machine. I think it's best understood by talking about it's first project: the 1890 US Census.

To produce a US Census, representatives have to go door-to-door and get citizens to fill out paperwork. Stuff like how many people are in the household, how old they are, male vs female, occupation, etc.

So far so good, right? Ok. Now imagine that you wanted to use this data to answer some questions. What percentage of households make over $1,000/year? What is the average salary of a baker? Which state has the lowest average annual salary? Which county?

It'd be pretty damn tedious to answer these sorts of questions, right? You'd have to go through all of the paperwork. Like for the average salary of a baker, maybe you'd first go through all the papers and put the papers containing people who are employed as a baker in one pile, and then go through that pile and compute the average salary. That'd definitely be a pain.

Well, Hollerith had a solution to this. You still have to go door-to-door and fill out all of the paperwork. But then you employ people to take that paperwork and fill out a punch card for each citizen. The punch card would encode stuff like salary and occupation.

![undefined](https://upload.wikimedia.org/wikipedia/commons/e/ea/Hollerith_Punched_Card.jpg)

Then you can feed these punch cards into the Hollerith Machine and get answers to your questions. How many doctors are there in our county? How much do they make? Etc. As you might imagine, this was a pretty big breakthrough.

People started to pay attention. Businesses were like, "Hey, we could use this to construct reports." Scientists were like, "Hey, we could use this to process our data."

Noticing this, in 1896, Hollerith formed the Tabulating Machine Company.

Then in 1911, four large firms, including the Tabulating Machine Company, merged to form the Computing-Tabulating-Recording Company.

In 1924 the Computing-Tabulating-Recording Company changed it's name to International Business Machines Corporation, which you probably have heard referred to today as IBM.

![IBM logo.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/5/51/IBM_logo.svg/180px-IBM_logo.svg.png)

In the 1950s, with the invention of the electronic computer, tabulating machines started to take a back seat. In the 1960s some organizations still used them but they weren't common. By the 1970s and 1980s, they were basically dead.

Turing
======

This whole journey started with me wanting to understand what the big ideas are in computer science and how they developed over time. If you look into this sort of question, you'll usually find that people start with Babbage, or perhaps Boole, but soon after that they move on to Turing. They really emphasize his work as being super important and foundational.

However, I'm not sure how justified that really is. At least from the perspective of someone who isn't a theoretical computer science researcher and is just trying to see what the big picture looks like.

But I'm getting ahead of myself here. Let's take a step back and go through this more slowly.

Turing did a lot of his work in the 1930s. But again, let's continue to back up. Before talking about that work, I think that it's important to understand a few things about the context in which he did his work. I like the way [this StackExchange answer](https://cs.stackexchange.com/a/91775/30105) puts it:

> ...remember that Turing was working *before* computers existed. As such, he wasn't trying to codify what electronic computers do but, rather, computation in general. My parents have a dictionary from the 1930s that defines computer as "someone who computes" and this is basically where Turing was coming from: for him, at that time, computation was about slide rules, log tables, pencils and pieces of paper. In that mind-set, rewriting symbols on a paper tape doesn't seem like a bad abstraction.

Piggybacking off of that, I'd like to emphasize that Turing's fields of interest were mathematics and logic. That was the lens through which he peered. He wasn't looking through a computer-oriented lens.

To elaborate, in the early 20th century, there was a guy named David Hilbert who was unhappy with the state of mathematics. Mathematicians would always seem to run into these weird paradoxes and seemingly unavoidable contradictions. So then, in response to these issues, Hilbert's thought process went something like this:

> Guys, I really want to take a step back here. Us mathematicians, we've got our axioms. We've got our rules of inference. With these axioms and rules of inference, we should be able to prove all possible mathematical truths. There shouldn't be any contradictions or ambiguity or uncertainty.
> 
> I'm not sure if we actually have this foundation though. Maybe we're missing certain axioms. Maybe the rules of inference we're using are unjustified. I say we should pursue a rock-solid foundation.
> 
> Once we have the foundation, *then* we can continue our other work. But it seems a little premature to be pursuing this other work when we're not sure about the actual axioms and rules of inference that our other work is based off of. When you build on top of a shaky foundation, you risk everything coming crashing down.

![A jenga structure I made. It was pretty easy. - 9GAG](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fimages-cdn.9gag.com%2Fphoto%2FayDqMbX_700b.jpg&f=1&nofb=1&ipt=48cb0510c0903813554bcaa92b7a6131bd0774caff484a05c531983d8b45c6a6&ipo=images)

So, yeah. Hilbert kinda went around [complaining out loud](https://plato.stanford.edu/entries/hilbert-program/) about all of this.

And it worked. People like Kurt Godel, Alan Turing and John von Neumann not only listened, but were inspired and took action.

Godel worked with Hilbert, joining his pursuit. Unfortunately, along this pursuit, Godel discovered something a little unsettling. He discovered that they were doomed to fail.

I'm not joking. I'm not exaggerating. They were doomed to fail.

It's not what Godel was hoping for. Godel was hoping to add some support to that shaky Jenga piece at the bottom so that they could continue building their beautiful tower taller and taller, consisting of structures ever more elegant. Instead, he ended up proving that it was literally impossible.

Talk about the [second virtue](https://www.lesswrong.com/posts/7ZqGiPHTpiDMwqMN2/twelve-virtues-of-rationality).

This really shook things up for mathematicians. It was a huge — and perhaps existentially threatening — discovery.

And that's when Turing walked up to Hilbert and was like:

> **Turing:** Hey buddy. You ok?
> 
> **Hilbert:** Yeah, I guess.
> 
> **Turing:** You are? Good. Because I'm about to pour some salt in that wound.

He continued:[^p7yc34fwgw]

> **Turing:** Just in case you were secretly hanging on to any threads of hope, I figured I'd really make sure that they're all burnt to a crisp.
> 
> I was thinking about it some more and I emerged even more confident in how fucked we truly are.
> 
> So you know how Godel showed that there are *statements* in formal systems that can never be proven or disproven within those systems? I just realized that, on top of this, there will always be *problems* that cannot be solved.
> 
> **Hilbert:** I appreciate your concern, but [Alonzo](https://en.wikipedia.org/wiki/Alonzo_Church) was actually over here about a month ago telling me the same thing.
> 
> **Turing:** Oh. Ok. Yeah, he and I have chatted about it periodically.
> 
> **Hilbert:** I like your way of expressing it though. This Turing Machine is simple and easy to understand. Very elegant. Alonzo's lambda calculus was also cool, but I like this better.

So yeah. Turing Machines. Let's talk about them. It's basically like this:

*   Imagine a roll of tape.
*   That's divided into segments.
*   It's infinitely long.
*   Each segment either has a 1 or a 0.
*   There's a head that goes over the roll of tape.
*   The head looks at one segment at a time.
*   It reads whether the segment has a 1 or a 0.
*   And it can update the segment. From a 1 to a 0, or from a 0 to a 1.
*   You can write down instructions for the head to follow. For example, if the current state of the tape is this, move to the left. If it's that, move to the right. If it's this, write 1 on the current segment. If it's that, write 0 on the current segment. 

That's pretty much it.

Seems kinda weird, right? Well, consider this: Turing showed that there is no computation that this machine can't perform, that another machine can perform. It might take the Turing machine longer to perform the computation. It might be more difficult to write the instructions for it. But in terms of actually getting the job done, there'll never be another machine more capable than the Turing machine.[^utf2ac7mqy]

And oh by the way, that's how he poured that salt in Hilbert's wound. First he showed this stuff about the Turing machine being as capable as any. Then he showed that there are problems the Turing machine can't solve. So then, if 1) this machine is as capable as any and 2) there are problems it can't solve, well, we can deduce 3) there are [problems](https://brilliant.org/wiki/halting-problem/) that no machine can solve. QED.

Ok, now we know a bunch of stuff about Turing and his Turing machines. Let's zoom back out.

I get the sense that at this point, most people are ready to just keep chugging forward. Maybe after getting a little starry-eyed. That gives me some serious [Guessing The Teacher's Password](https://www.lesswrong.com/posts/NMoLJuDJEms7Ku9XS/guessing-the-teacher-s-password) vibes though, with the password being "Turing's work was very cool and important". Let's ask ourselves why we should care about any of this.[^897chqzplao]

*   **It makes you a better programmer?** Nah. Doubtful. StackExchange [says so](https://cs.stackexchange.com/questions/9341/practical-importance-of-turing-machines), and so do various programmer friends of mine.
*   **You do fancy programming?** Maybe.  [This StackExchange answer](https://cs.stackexchange.com/a/32853/30105) is intriguing. It talks about how various real life problems are actually just halting problems in disguise.  
      
    For example, if you have a parser for your programming language, change it, and want to make sure it still parses all the programs it used to. Without knowing about Turing stuff, you may end up spending months and months working on a problem like this.  
      
    On the other hand, if you do know about Turing stuff, you may recognize it as a halting problem in disguise, thus realizing that it isn't solvable. I suppose this can be useful. I'm not what areas it is plausible to run in to stuff like this though.
*   **You do theoretical computer science research and need to read and write proofs?** Yeah, this seems like a pretty good reason. Most existing proofs are written with Turing's model, so if you want to read research paper's, you'll need to understand it.  
      
    I get [the](https://cs.stackexchange.com/questions/91773/why-is-the-turing-machine-a-popular-model-of-computation) [sense](https://cs.stackexchange.com/questions/9341/practical-importance-of-turing-machines) that there's a decent amount of "vendor lock in" going on though. Since everyone else is using Turing's model for their proofs, you kinda have to as well. But if you take a God's eye view and had the power to get the community to all shift at once to a different model, it sounds to me like there are probably better ones than Turing's.
*   **It's cool?** Yes! I'd say so. The idea that all code/instructions can basically be boiled down to such simple operations is awesome.
*   **It gives us a formal definition of an algorithm?** I dunno. I guess. This mostly piggybacks off of the last two bullet points. See [this StackExchange answer](https://cs.stackexchange.com/a/66754/30105).
*   **It contributed to the development of the general purpose computer?** This is something that I'm not clear on. I see stuff saying that it was a major contribution, but it doesn't make sense to me.
    *   I don't see why computability is particularly relevant. If people didn't know as much about computability, would it really have slowed down the development of the general purpose computer all that much? I could see how computability would be helpful with things like programming language design, but that's not really what we're talking about here.
    *   The concept of a stored program is definitely important, but that concept dates at least as far back as the Jaquard loom.
    *   The concept of a general rather than specific purpose machine is definitely important, but that too dates back a while. At least to Babbage and Lovelace.

Anyway, after Turing was finished with all of this, he proceeded to defeat Hitler, create the entire field of artificial intelligence, and help build the first general purpose computers.

Ok fine, I'm embellishing. Turing himself didn't actually defeat Hitler, but he did do super important codebreaking work throughout the war. People often credit him with reducing the duration of the war by two years, saving millions of lives. Without Turing, who knows, maybe our world today would look like [The Man in the High Castle](https://www.imdb.com/title/tt1740299/).

He also didn't actually create the field of artificial intelligence himself, but he is often said to be a founding father. If you credit him with being a person who [takes ideas seriously](https://www.lesswrong.com/tag/taking-ideas-seriously), this shouldn't be surprising.

Think about it: he realized that any computation that can be performed can be performed by a Turing machine. So if you view human thought and reasoning as a computation rather than something mystical, well, it should be something that a Turing machine is capable of. And if a Turing machine is capable of it, it's not such a stretch to think that we can build machines ourselves that are capable of it as well.[^37vhfkfqjvw]

Math machines
=============

It's hard for me to wrap my head around the fact that early, pre-general purpose computers (~1890-1950s) weren't computers in the way that we think about computers today. I prefer to think about them as "math machines".

Earlier we talked about the Hollerith Machine and how it helped with the 1890 US Census. That machine was really only capable of doing simple things like tallying and sorting. It couldn't really do math.

But subsequent machines were able to do math. From what I'm seeing, it sounds like a lot of it was military use. A ton of codebreaking efforts during World War II. Also a bunch of projectile calculations for artillery fire.

Let's dive into these projectile calculations. Without computers, people previously had to do these calculations by hand.[^mkynjbuxpn] You might think that it'd be a simple function of the launch angle like this:

![Simple Missile Ballistics](https://external-content.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.mpoweruk.com%2Fimages%2Ftrajectories.gif&f=1&nofb=1&ipt=6f121f94fa6b04cabcc75605b44934b12302132e31c89d606e74863466df9203&ipo=images)

But there are tons of other variables. What about elevation differences? Wind? Humidity? Shell weight? Powder charge? It's actually quite complicated.

And you don't want soldiers to have to do (much) math on the battlefield in the heat of the moment. So what they pursued were something called firing tables. Basically, the firing tables let you quickly look up the output given the various inputs. And it was the task of people at home to construct these firing tables.

To do this, they'd break the projectile's journey into small segments. 0.1 seconds long, let's say.

*   So given the starting point, they'd calculate where the projectile will be 0.1 seconds from `t=0`, incorporating all of the things you conveniently ignored in your physics classes. Things like drag.
*   Then once they get the result for where they expect the projectile to be at `t=0.1`, they'd move on to the calculation for `t=0.2`, using `t=0.1` as the input.
*   Then `t=0.3`, then `t=0.4`, so on and so forth.

Still, I had the thought: is it really that hard? It's just plugging numbers into a known formula, right? If so, that's just arithmetic. Adding and subtracting. Multiplying and dividing. Exponents. Stuff like that. Maybe some logarithms and trig. But even so, it isn't obvious to me that it's too hard, nor that building a huge mechanical machine would be easier.

Well, the math looks something like this:

    s = s0 + v0cos(a)t + (F(v,ψ)/m - gsin(θ) - CDpAv2/2m)*t2 / 2
    
    Where:
    
    s = horizontal range
    s0 = initial horizontal position
    v0 = initial velocity
    a = angle of elevation
    t = time
    F = propelling force function
    ψ = angle of fire
    m = mass
    g = gravity
    θ = angle of elevation
    
    CD = drag coefficient
    p = air density
    A = projectile cross sectional area

So yeah, it ultimately does just boil down to a bunch of arithmetic. But it's a *whole bunch* of arithmetic. And each calculation needs to be double checked to ensure accuracy. But even that doesn't ensure accuracy. Human beings get tired and make mistakes. On the other hand, math machines don't get tired, rarely make mistakes, are faster, and are cheaper. The pros of using math machines outweighed the cons. By a long shot (no pun intended).

Then in the 1940s, there was a breakthrough.[^1kzgq805da5] The vacuum tube took computers from being mechanical to being electric. In doing so, they made computers cheaper, quieter, more reliable, more energy efficient, about 10-100x smaller, and about 100x faster. They enabled computations to be done in seconds rather than hours or days. It was big.

![https://upload.wikimedia.org/wikipedia/commons/c/cb/GB-ENG_-_Bletchley_-_Computers_-_Buckinghamshire_-_Milton_Keynes_-_Bletchly_-_Bletchley_Park_%284890148011%29.jpg](https://upload.wikimedia.org/wikipedia/commons/c/cb/GB-ENG_-_Bletchley_-_Computers_-_Buckinghamshire_-_Milton_Keynes_-_Bletchly_-_Bletchley_Park_%284890148011%29.jpg)

Vacuum tubes seen on end in a recreation of the World War II-era Colossus computer at Bletchley Park, England ([Wikipedia]( https://en.wikipedia.org/wiki/Vacuum_tube#/media/File:GB-ENG_-_Bletchley_-_Computers_-_Buckinghamshire_-_Milton_Keynes_-_Bletchly_-_Bletchley_Park_(4890148011).jpg))

General-purpose
===============

Things continued to move fast. I wonder what it was like back then. It must have been exciting.

In 1945, the ENIAC was introduced. I actually really like [Wikipedia's overview](https://en.wikipedia.org/wiki/ENIAC):

> **ENIAC** ([/ˈɛniæk/](https://en.wikipedia.org/wiki/Help:IPA/English); **Electronic Numerical Integrator and Computer**)[^\[1\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-1)[^\[2\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-ENIACstory-2) was the first [programmable](https://en.wikipedia.org/wiki/Computer_programming), [electronic](https://en.wikipedia.org/wiki/Electronics), general-purpose [digital computer](https://en.wikipedia.org/wiki/Digital_computer), completed in 1945.[^\[3\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-3)[^\[4\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-:0-4) There were other computers that had combinations of these features, but the ENIAC had all of them in one computer. It was [Turing-complete](https://en.wikipedia.org/wiki/Turing-complete) and able to solve "a large class of numerical problems" through reprogramming.[^\[5\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-5)[^\[6\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-6)
> 
> Although ENIAC was designed and primarily used to calculate [artillery](https://en.wikipedia.org/wiki/Artillery) [firing tables](https://en.wikipedia.org/wiki/External_ballistics) for the [United States Army](https://en.wikipedia.org/wiki/United_States_Army)'s [Ballistic Research Laboratory](https://en.wikipedia.org/wiki/Ballistic_Research_Laboratory) (which later became a part of the [Army Research Laboratory](https://en.wikipedia.org/wiki/United_States_Army_Research_Laboratory)),[^\[7\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-7)[^\[8\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-FOOTNOTEGoldstine1972214-8) its first program was a study of the feasibility of the [thermonuclear weapon](https://en.wikipedia.org/wiki/Thermonuclear_weapon).[^\[9\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-9)[^\[10\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-10)
> 
> ENIAC was completed in 1945 and first put to work for practical purposes on December 10, 1945.[^\[11\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-trial-11)
> 
> ENIAC was formally dedicated at the [University of Pennsylvania](https://en.wikipedia.org/wiki/University_of_Pennsylvania) on February 15, 1946, having cost $487,000 (equivalent to $6,190,000 in 2021), and called a "Giant Brain" by the press.^\[^[*^citation needed^*](https://en.wikipedia.org/wiki/Wikipedia:Citation_needed)^\]^ It had a speed on the order of one thousand times faster than that of [electro-mechanical](https://en.wikipedia.org/wiki/Electro-mechanical) machines; this computational power, coupled with general-purpose programmability, excited scientists and industrialists alike. The combination of speed and programmability allowed for thousands more calculations for problems.[^\[12\]^](https://en.wikipedia.org/wiki/ENIAC#cite_note-12)
> 
> ENIAC was formally accepted by the U.S. Army Ordnance Corps in July 1946. It was transferred to [Aberdeen Proving Ground](https://en.wikipedia.org/wiki/Aberdeen_Proving_Ground) in [Aberdeen, Maryland](https://en.wikipedia.org/wiki/Aberdeen,_Maryland) in 1947, where it was in continuous operation until 1955.

![undefined](https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/ENIAC_Penn1.jpg/1920px-ENIAC_Penn1.jpg)

Two pieces of ENIAC currently on display in the Moore School of Engineering and Applied Science, in room 100 of the Moore building. Photo courtesy of the curator, released under GNU license along with 3 other images in an email to me. Copyright 2005 Paul W Shaffer, University of Pennsylvania. On the left is a function table (for reading in a table of data). There are four panels, the left-most one controls the interface to the function table. The third one is an accumulator - memory for storing a 10-digit number, which can be added into. ([Wikipedia](https://en.wikipedia.org/wiki/ENIAC#/media/File:ENIAC_Penn1.jpg))

Let's talk more about each piece:

1.  Electronic: As mentioned in the discussion of vacuum tubes, being electronic rather than mechanical had all sorts of large advantages.
2.  Programmable: We originally saw the benefits of programmability with the Jaquard loom. In the 1930s and 40s, computers that weren't programmable had to be physically rewired if you wanted to perform a computation.[^59l2q9akkc4] Software wasn't actually a thing!
3.  General-purpose: From what I could tell, this isn't something that is precisely defined, but it is trying to point at being capable of doing a wide variety of tasks. Think about it like this: the Hollerith Machine mostly was just capable of counting and sorting and so is at once end of the spectrum. On the other hand, the ENIAC is literally Turing-complete and can perform any computation. You don't have to be 100% Turing-complete to be considered general-purpose, but you should be somewhat close.

Anyway, all of this goodness lead to things really picking up pace. I'm allowed to quote [Claude](https://claude.ai/), right?

> ENIAC (the Electronic Numerical Integrator and Computer) was a pioneering early electronic general-purpose digital computer that heavily influenced later systems:
> 
> *   After ENIAC's unveiling in 1946, there was an explosion of computer projects inspired by its electronic, programmable architecture.
> *   Early "clone" computers like EDVAC and BINAC improved on ENIAC but shared its basic design principles.
> *   Commercial computers like UNIVAC I brought the technology to businesses for data processing tasks like payroll, inventory, and accounting.
> *   Scientific computers were adopted by research institutions for calculations like weather modeling, aerodynamics, and particle physics.
> *   Government and military usage was also widespread for everything from cryptography to logistics.
> *   Programming became an essential new profession dedicated to utilizing these systems productively.
> 
> So ENIAC demonstrated the possibilities of electronic computing and established an influential reference architecture. This spurred rapid adoption of computers across science, government, business and academia in the 1950s-60s. Tasks that were previously manual or mechanical were transformed by the new computational capabilities. It was a pivotal transition from basic calculation into broader information processing applications.

Transistors
===========

After vacuum tubes, the [next big innovation](https://en.wikipedia.org/wiki/Transistor_computer) was to use transistors. They were used throughout the 1950s and 1960s. Compared to vacuum tubes, transistors were:

*   ~1000x faster. This enabled MHz clock speeds instead of kHz.
*   ~10x smaller. Transistors were measured in millimeters[^kq24pdxsznj] whereas vacuum tubes were centimeters long.
*   ~50x cheaper. Initially. Over time they quickly got even cheaper.
*   ~100x more reliable. Vacuum tubes had mean time between failures (MTBF) measured in thousands of hours due to filament issues whereas transistors lasted for hundreds of thousands of hours and generated less heat.
*   Better in various others ways as well.

Yeah. They were a game changer.

Well, from what I could tell, they kinda just lead to more of the same. Evolutionary, not revolutionary. Later on the invention of integrated circuits allowed computers to be cheap and small enough for personal use. That was revolutionary. But still, it's cool that early transistors allowed for fancier computations and made computers more accessible for some smaller organizations.

Von Neumann
===========

![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/JohnvonNeumann-LosAlamos.gif/220px-JohnvonNeumann-LosAlamos.gif)

John von Neumann was a man who did a lot of important things throughout the 1930s, 40s and 50s.

*   He invented game theory. No big deal.
*   He was a major contributor to the Manhattan Project.
*   He developed the concept of cellular automata. Y'know, like [Jon Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life). This influenced fields like biology, nanotechnology, and chaos theory, but more relevant to our purposes here, it influenced the development of parallel computing. Think about it: each cell in Conway's Game of Life is like a processor computing it's own thing. There's many processors doing stuff at once, and sometimes they collide and interact.
*   Like Godel and Turing, von Neumann was inspired by Hilbert's program and did work to establish a solid foundation for mathematics and formal systems. In particular, he did pioneering work in the formalization of set theory.
*   One of my favorites: he *proved* that, given some extremely, extremely reasonable assumptions[^rg0tbwcetu], you should [Shut Up and Multiply](https://www.lesswrong.com/tag/shut-up-and-multiply). Well, he didn't phrase it that way. He said "maximize [expected utility](https://www.lesswrong.com/tag/expected-utility)".
*   He invented the merge sort algorithm. My favorite sorting algorithm. `#leetcode`
*   He [came up](https://en.wikipedia.org/wiki/John_von_Neumann#Technological_singularity_hypothesis) with the idea of the singularity.
*   He did a bunch of other logic, math and physics things that I don't understand.

However, the thing he did that is most relevant to this post on the history of computers is coming up with the [von Neumann architecture](https://en.wikipedia.org/wiki/Von_Neumann_architecture) of computers in 1945. Let's dig into that.

The architecture works something like this:[^dw8fwb9zugp]

![](https://39669.cdn.cke-cs.com/rQvD3VnunXZu34m86e5f/images/4958058ca07fd819612c9fbe6691207e6dd1ed7ea0ffb39f.png)

You might be thinking that this looks a little mundane and obvious. Like, of course this is how computer architecture works. Duh.

Well, that's because John von Neumann came up with it. Nowadays pretty much all computers use this architecture, but at the time it wasn't like this. For example, the focus was on standalone computational units like adders and multipliers. Von Neumann encapsulated all of that stuff in the CPU. Nice, right?

Here's another example. Probably a more important one. At the time, program instructions and data usually weren't stored in the same memory space. In von Neumann's architecture, they are. I'm not sure if von Neumann was 100% the first person to come up with the idea, but his architecture really popularized it, and before von Neumann, early stored program computers stored the data and instructions in different spaces.[^4mmsjx26xe]

Ok, so what's the big deal? Why is it so helpful to have the data and instructions share the same memory? Well, for starters, it's simpler, cheaper, and it made execution [faster](https://en.wikipedia.org/wiki/Locality_of_reference) because stuff is all closer together. It was also convenient to access stuff in a single address space rather than having separate schemes.

But the biggest thing is probably that it made assemblers and compilers possible. Well, I'm not sure if that's strictly true. Maybe you could still have them without a shared memory architecture. But the shared memory architecture made them a whole lot easier.[^ej8gyg8yrws]

What are assemblers and compilers, you ask? Let me tell you.

Programming languages
=====================

On early computers, what did programming look like? Well, on (most) computers that preceded the ENIAC, there was no concept of a stored program, so "programmers" would have to physically set up circuits and switches.

Things were a little easier on stored program computers. For those, you could enter the program in as a series of 1s and 0s, by turning on the right vacuum tubes, for instance. The vacuum tubes you turn on were the machine code and determined what operations were carried out.

But of course, humans don't think in 1s and 0s. So early programmers had to first map out what they want to do with flow charts and stuff, and then figure out how to convert those flow charts into the corresponding 1s and 0s.

What if they didn't have to do that last part? What if they could just write out some informal instructions and have those informal instructions translated into 1s and 0s (machine code) for them? That sounds like it'd really improve programmer productivity, right?

Enter: assemblers. Assemblers were able to do this. They are programs just like any other computer program that takes inputs and yields outputs. You feed it in some text that looks like this:

    LOAD R1, #10   ; Load register 1 with 10
    LOAD R2, #6    ; Load register 2 with 6
    ADD R3, R1, R2 ; Add R1 and R2, store in R3 
    STORE R3, Result  ; Store sum in Result variable
    JUMP START     ; Jump back to start of program
    
    START:         ; Label for start of program  

And the assembler will output the corresponding 1s and 0s.

It's code that writes code.

Think of it like this. It's translating between two languages. Assembly is one language and looks like this: `LOAD R1, #10`. Machine code is another language and looks like this: `10010010110101010011110101000010101000100101`. Just like how English and Spanish are two different languages.

Assemblers are translators. Just like how a human might translate between English and Spanish at the UN, an assembler translates between assembly and machine code. The computer only speaks machine code, whereas human programmers aren't very fluent in machine code and would prefer to speak in assembly.

But hey, why stop there? This idea of translating from one language to another is pretty powerful. Assembly is ok, but still is a little cumbersome. What if we could create a language that is even more descriptive than assembly, write code in that language, and have it translated into assembly for us?

Enter: programming languages. They let you write code like this:

    C Calculate average of numbers in array
       REAL A(100)
       TOTAL = 0
    
       DO I = 1, 100  
          TOTAL = TOTAL + A(I)
       END DO
    
       AVG = TOTAL / 100

and run it through a compiler to get the corresponding assembly code of this:

    ; Reserve memory for array A
      RESERVE 400 ; 100 * 4 bytes per real  
    
    ; Initialize pointer and total
      MOVE BP, 0 ; Pointer to base of A
      MOVE BX, 0 ; Total
    
    LOOP:
      ADD BX, [BP] ; Add element to total
      ADD BP, 4 ; Increment pointer
      COMP BP, 400 ; Compare to end
      JLT LOOP ; Loop if not past end 
    
    ; Calculate average
    AVG:
      MOVE AX, BX ; Move total to AX
      DIV AX, 100 ; Divide total by 100
      STORE AVG ; Store result

So now we have two translation steps. It's analogous to you speaking English, having an initial translator translate that to French, and then having a second translator translate the French into Spanish.

In that example, the code is in Fortran. Fortran was developed in 1957 and was the first programming language that actually got some real adoption. Other languages were also developed around that time: Lisp in 1958, Algol in 1958, and COBOL in 1959.

Programming started to become accessible to a wider audience. Popular media hyped up these languages as allowing "communication with intelligent machines". Conferences like the ACM National Conference drew huge interest around new languages. It was an exciting time.

Networks
========

It wasn't just programming languages that made things exciting though. Programming languages allowed humans to talk to computers, but shortly after the development of the first programming languages in the late 1950s, in the early 1960s, networking allowed *computers* to talk to computers.

![Computers in the 1960s: What they looked like & how they were used ...](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fclickamericana.com%2Fwp-content%2Fuploads%2FComputers-in-1966-770x667.jpg&f=1&nofb=1&ipt=303de9e87598df4abc88e7c14a6f9cc0948444468fb8292314340ad4067f66ef&ipo=images)

Why was this useful?

*   Terminals. It allowed for many cheaper terminals to connect to one central mainframe computers.
*   Early email and messaging.
*   Exchanging data.
*   Remote login.
*   Some early distributed computing.

Stuff like that.

Integrated circuits
===================

Then in 1966, another huge jump was made: the integrated circuit.

Before 1966, transistors were a thing, but they weren't the transistors that we imagine today. Today we think of transistors as tiny little things on computer chips that are so small you can't even see them. But before 1966, transistors were much larger. Macroscopic. Millimeters long.

I don't really understand the scientific or engineering breakthroughs that allowed this to happen, but something called photolithography allowed them to actually manufacture the transistors directly on the computer chips. This allowed chips to contain millions or even billions of individual transistors. And the connections between components were done directly on the chip instead of using external wires.

![Free Images : technology, macro, gadget, electricity, electronics, mike, chip, motherboard ...](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse3.mm.bing.net%2Fth%3Fid%3DOIP.DFwpdIKi_BOS2v8OmYQT4wAAAA%26pid%3DApi&f=1&ipt=8cccefcf91218980fc9d47d7ce33058ca422ab1d400203b471a5ec881bc42e4b&ipo=images)

Here's a sense of how this functionally improved things:

*   Speed: 100x improvement. Tens of megahertz rather than kHz.
*   Memory: 1000x or more. Memory density went from kilobits per chip to megabits.
*   Cost: 500x reduction. The cost per transistor fell from around $50 in the 1950s to under $0.10 with integrated circuits.
*   Reliability: Failures rates 100x lower.
*   Power: 1000x reduction. Microwatts instead of watts.
*   Size: Integrated circuits allowed for computers small enough to fit on desktops. Ones we'd recognize today. Before that, computers were often the size of a room.

Internet
========

In the 1960s, [computer networks](https://medium.com/@adamzerner/overview-of-computer-networking-70848bd62710) were mostly used for military, research, academia, and some large enterprises. However, in the 70s, that started to change.

But let's start with ARPANET in 1969. ARPA stands for Advanced Research Projects Agency, which is a part of the Department of Defense. Basically, there were a bunch of universities doing research for the military. Research with computers. It'd be nice if those computers could talk to one another. And so they created ARPANET. A network of ARPA-funded research groups.

But then things expanded beyond military applications. Over time, it kinda just became a way for university departments to collaborate with one another. Sharing computing resources. Datasets. Email. Email was the "killer app" of the time.

![Entry 4 - Leonard Kleinrock: The ARPANET](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2F3.bp.blogspot.com%2F-TNgktleXezU%2FWgjG5JEsjXI%2FAAAAAAAAAAs%2FBIsC9LcAPsw9d5I0OhrMnfVLtRYE8AhbACLcBGAs%2Fs1600%2FArpanet_1970.png&f=1&nofb=1&ipt=f432bd981522dc0ebcd233166e6ab28d7ba099c45f4552da1a8d06c7fdb5d482&ipo=images)

It wasn't just ARPANET though. You think ARPA and universities were the only ones who wanted in on this? Nah. There were various other networks developed for research, government and commercial purposes.

Telenet was another popular one that began in 1975 and was actually sold commercially. Ie. you'd pay a monthly fee to use their so called "backbone network" to get connected to other computer networks.

![Broadband provider starts to show TV commercials based on viewing and ...](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse2.mm.bing.net%2Fth%3Fid%3DOIP.Ggyb7-gw5ihL8A6DMGvzEwHaHb%26pid%3DApi&f=1&ipt=2d001c3c01c4907a4c5425305705712196b5d535098ff1b22dbb4954c7463cc8&ipo=images)

Things were a little annoying though. Different networks had different protocols for communicating. It's as if ARPANET spoke Spanish and Telenet spoke French. They didn't really mix.

So, in the mid to late 1970s, people started trying to come up with a standard way for computers to talk to one another. "Let's just all speak the same language, guys." Unlike humans, computers actually were able to all agree on one language, and that language is called TCP/IP.

![](https://miro.medium.com/v2/resize:fit:1400/1*p5uiclzG8aP3igXzjmt0WQ.png)

And once they started speaking the same languages, "internetworking" became a thing. Networks communicating with one another. Networks becoming "interconnected". Eventually, this became the *internet* we know of today.

![](https://miro.medium.com/v2/resize:fit:1400/1*UW_L7S-p1jHNYB3MEUKzog.png)

Personal computers
==================

In the 1960s, there were minicomputers, and there were mainframes. You [can](https://en.wikipedia.org/wiki/Minicomputer#cite_note-inflation-US-4) distinguish between the two by saying that minicomputers cost $25k and under ($188k in 2022) whereas mainframes are more expensive.

Then with the invention of the integrated circuit, from maybe 1970-1975, microcomputers started to become a thing. Costs were only in the hundreds of dollars. Maybe low thousands. And they could fit on a desk.

However, computing power was really low. They were only used by electronics hobbyists. All you could do with them was some basic logic and arithmetic. Programming had to be done in machine code or very primitive assembly via switches. They were sold in DIY kits. You had to solder stuff together on your own. You had to provide your own monitor and keyboard.

![](https://upload.wikimedia.org/wikipedia/en/thumb/c/cb/Popular_Electronics_Cover_Jan_1975.jpg/220px-Popular_Electronics_Cover_Jan_1975.jpg)

January 1975 *Popular Electronics* with the Altair 8800 computer. Published on November 29, 1974.[^\[14\]^](https://en.wikipedia.org/wiki/Altair_8800#cite_note-PE-1975-01-PDF-14)

So yeah, this was definitely hobbyist territory. Businesses needed minicomputers or mainframes since those were the machines with the computing power and business software that they needed.

And that's when Steve Jobs changed everything. He said, "*Fuck* this DIY bull shit. Computers aren't for corporations. They're for people. You should be able to just buy one, put it on your desk, and use it. And you shouldn't have to read a 200+ page instruction manual to do so. It should just be intuitive."

This triggered a remarkable change in society at large.

Thieves returned stolen purses. Soldiers on battle fields looked each other in the eyes, and put down their weapons. Fathers cried and apologized to their sons. Politicians refused campaign contributions. Teachers stopped assigning homework. Business executives started doing psychedelics and attending yoga classes. IBM apologized for being greedy, pointy-haired bastards, and begged Jobs to be their CEO.

Jobs accepted. He used IBM's vast resources to commission the development of The Perfect Circle. This circle was drawn in sand and after an initial version with molecular-level accuracy was vetoed by Jobs, a subsequent version with atomic-level accuracy was finally completed. Then, having been on a diet of just quinoa and green tea for seven months, Jobs achieved a state of heightened meditation inside The Perfect Circle. In this state, he migrated to his True Form, entered Machine City, confronted Deus Ex Machina, and negotiated a deal to release all humans from The Matrix. Eternal salvation had been achieved.

Ok, ok. I'll stop.

It was actually Steve Wozniak who had a lot of the vision.

Woz, as he's often referred to, was a nerd who bought computer kits and built microcomputers. But, as I previously explained, doing so was really annoying. Soldering? Machine code? Yuk.

And as an early member of the Homebrew Computer Club, Woz saw these pain points first hand. People would come to club meetings, hang out, and discuss the various difficulties and frustrations they faced with these DIY kits.

So then, Woz sought to build something better. Something that got rid of these frustrations and, going even further, enabled everyday users to easily get started computing rather than just electronics enthusiasts. Jobs' contribution here was moreso the ambition. He wanted to make a dent in the universe and put these computers on the desks of people across the globe. An important and admirable contribution, if you ask me.

Anyway, in 1976, the Apple I was released as one of the very first pre-assembled computer motherboards. You still had to hook it up to stuff like a screen, keyboard and power supply, but at least you didn't have to arrange and solder all of the chips together yourself.

![Rare Apple-1 Computer Sold At Auction For $130,000 - The Gazette Review](https://external-content.duckduckgo.com/iu/?u=http%3A%2F%2Fgazettereview.com%2Fwp-content%2Fuploads%2F2017%2F05%2FApple-Computer.jpg&f=1&nofb=1&ipt=de2b59f11212649408a5428a49e159de2a5f4455190300d0ea481f83df2d07a5&ipo=images)

Soon after, in 1977, the Apple II was released. This was important because it was the first, true, personal computer. In the sense that it actually did come fully assembled. You didn't have to set up the keyboard, screen and sound. You basically just had to plug it in.

The Apple II wasn't the only one though. Along with the Apple II, the Commodore PET and TRS-80 were also really popular. Together, they formed the "1977 Trinity".

![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Trinity77.jpg/412px-Trinity77.jpg)

The three personal computers referred to by Byte Magazine as the "1977 Trinity" of home computing: The Commodore PET, the Apple II, and the TRS-80 Model I. ([Wikipedia](https://en.wikipedia.org/wiki/Personal_computer))

This really was quite revolutionary. Personal computing had arrived and was exploding. Now individuals and small businesses were able to join the party that previously just consisted of large organizations.

In 1982, "The Computer" was named *Person of the Year* by Time Magazine.

The roaring 80s
===============

Lots of crazy things were happening in the 80s:

*   Programming languages:
    *   Throughout the 60s and 70s the main programming languages in use were COBOL, Fortran, ALGOL, and BASIC. Gross.
    *   In the 80s, you had C as the dominant language for systems programming, Pascal in academia and general software development, and SQL for querying databases. In the mid 80s, C++ emerged, as did object-oriented programming.
    *   Still, COBOL, Fortran and BASIC also remained popular, as did assembly.
*   PCs continued to boom. After initially seeing them as small toys that weren't worth paying attention to, IBM entered the market with the 5150 PC in 1981.
*   Inspired by the Xerox Alto which was developed at Xerox PARC in 1973, we saw the GUI emerge. First with Apple's Macintosh in 1984 (remember the [commercial?](https://www.youtube.com/watch?v=VtvjbmoDx-I)) and then Microsoft's Windows operating system. Oh, and the mouse was also introduced.
*   Popular uses for personal computers included word processing, accounting, desktop publishing (newsletters, flyers), programming, education, computer-aided design for engineers and architects, and gaming.
*   Internet use expanded.
    *   TCP/IP was standardized and established.
    *   The NSCA created the first public dial-up internet access in the late 80s.
    *   Still, home consumer use was very rare. Typical internet users were university students, faculty, or nerds. This, however, made for some wonderful email lists and discussion boards on applications like Usenet and Bitnet.
*   Hardware continued to explode, following the trajectory predicted by Moore's Law. Microprocessors started to replace integrated circuits. With microprocessors, all of the components were on one chip. Prior to that, with integrated circuits (IC), CPUs were made up of many ICs connected to each other. ALU on one, control unit on another, registers on a third, etc. The progression to and advancement of microprocessors meant that, over the decade:
    *   Clock speeds increased from about 5 MHz to 25-33 MHz.
    *   RAM grew from kilobytes per chip to megabytes per chip.
    *   Storage went from floppy disks in the hundreds of kilobytes to hard disks in the tens of megabytes.
    *   Cost per transistor continued to drop, starting at about 1 cent to less than a hundredth of a cent.
    *   Power needs were reduced from a few watts to less than a watt.
    *   Reliability improved a lot with chip failure rates falling.
*   CD-ROMs became popular.
*   The first computer viruses were seen. Anti-virus software was created.
*   Laptops and mobile phones were introduced.
*   Database management systems (DBMS) became widespread.

Overall, I think the theme of the decade is that computers became mainstream.

World Wide Web
==============

If I recall correctly, this journey of me learning about the history of computers and writing this post began with a sense of insecurity: I've been a web developer for 10+ years and didn't know the difference between the internet and the World Wide Web, nor if there even is a difference in the first place. Seems like something I should know.

So, I researched it. I found out that the World Wide Web — aka "the Web" — is, in fact, a different thing. Tim Berners-Lee created the Web in the early 90s. Given that this is where I began my journey — and that I was born in 1992 and don't like the idea of "history" include time when I was alive — it seems fitting to make this the last section in the post.

Ok, so what is the difference between the Web and the internet? The web involves websites. Web browsers. HTML. HTTP. That sort of thing. It's the stuff you look at with Firefox, Google Chrome and Safari. So when you visit lesswrong.com, you're using the Web, but when you play WoW or use Apple Mail to send an email, you're using the internet without the web.

Let me elaborate. The Web *uses* the internet. It's like this.[^7m7gmw84r9u]

![Internet clipart internet access, Internet internet access Transparent ...](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwebstockreview.net%2Fimages%2Finternet-clipart-internet-access-1.jpg&f=1&nofb=1&ipt=4ed9509c89efa5ddeccac223466011c357867502b110817bbdf0445692ea0ac9&ipo=images)

Much like the Postal Service, the internet provides people with the service of delivering their packages from point A to point B.

With the postal services:

*   Packages = paper in envelopes
*   Points A and B = mailboxes

With the internet:

*   Packages = 1s and 0s
*   Points A and B = computers

Before the Web, people wrote messages to each other in languages like SMTP (email) and FTP (file transfer). With the Web, people wrote messages to each other, with the help of web *browsers*, in HTTP. But before diving into that too much, let's back up and look at the context in which the Web was developed.

Before the Web, accessing information online was difficult.

*   Early online systems like Telnet, FTP, and Usenet required using command lines and remembering multiple textual commands.
*   Setting up internet connectivity often involved editing technical configuration files manually.
*   You had to know IP addresses and paths.
*   Content appeared in basic ASCII text.

So then, nerds were the only ones technical and motivated enough to use the internet. But with the web, it was a whole lot easier.

*   You use your mouse to open up a graphical web browser.
*   You type the name of a website in and hit enter. No need for IP addresses.
*   Navigation can be done by clicking links rather than entering in yet another IP address.
*   Everything [was pretty](https://news.ycombinator.com/item?id=36739920). Text can be formatted and mixed with things like images and tables.

I can't think of an elegant way to end this post. Maybe that is a metaphor. Or maybe this is a metaphor.

[^fnnmpm5aqm7]: To elaborate, I'm a web developer with about 10 years of experience. I didn't study computer science in college but I have spent a year self-studying it + have periodically learned things on and off over the years. I don't have the best understanding of computer science-y things, but also don't have the worst.So it probably makes sense to take all of this with a small pinch of salt. A grain is too small. More skepticism is required than that. But I think you can put a decent amount of trust behind the content of this post too. I'd bet on there being a small amount of errors and only 1-4 things that aren't directionally correct.Non-Expert Explanation is a frame that I think is extremely appropriate to apply. 

[^670ohjfvvuc]: I'm confident that this is directionally correct, but not sure if it is literally correct. It looks like maybe there were kinda sorta some type of abstract argument stuff before Aristotle. If so, it wasn't popular and well ironed out. 

[^hh6cjw29uj]: There were of course also things that came before the Jacquard loom. In ancient and medieval times there were a few simple mechanical devices that performed some calculations. Later on in the 1600s, Blaise Pascal and Gottfried Wilhelm von Leibniz were two big names that also built mechanical calculators. 

[^w4th04rh1w8]: At first I was wondering why this was so much work. Just calculate eg. sin(79), sin(80), sin(81) etc., write it all down, and call it a day. Then you never have to do that work again. But then I realized: what about sin(79.1)? What about sin(79.74327432)? Engineers and physicists needed values with that sort of precision so there were actually lots and lots of computations that needed to be done. 

[^p7yc34fwgw]: While this picture is based upon a true story, some characters have been composited and a number of incidents fictionalized. 

[^utf2ac7mqy]: Well... there are theoretical machines that can compute things that a Turing machine cannot. How? By doing weird stuff with infinity. But don't go around giving hope back to Hilbert: given what we know about physics, these machines aren't actually possible to build. 

[^897chqzplao]: Take this with a few more grains of salt. I'm not as confident about it. 

[^37vhfkfqjvw]: Turing wasn't the only one who realized these sorts of things. As I mentioned earlier, Ada Lovelace had the same visions back in the mid 1800s. David Hilbert did too. As did Nikola Tesla in 1898 and Isaac Asimov in the early 1900s. 

[^mkynjbuxpn]: Or, perhaps I should say, before they had math machines, they had to use computers. Because "computer" used to refer to a human who performs mathematical calculations with pencil and paper. I still can't get over how weird that is. 

[^1kzgq805da5]: Actually, before then, there was a small period of time when computers mixed electrical and mechanical components. 

[^59l2q9akkc4]: I guess you could say that those computers that had to be rewired were, technically, still programmable. It's just that the programming = a ton of rewiring and was a huge pain in the ass. 

[^kq24pdxsznj]: I'm talking about early transistors here. Over time they get smaller and smaller and smaller. 

[^rg0tbwcetu]: If you're someone who prefers Alamaeda to Berkeley, Berkeley to Cupertino, and Cupertino to Alamaeda, then this doesn't apply to you. However, I would appreciate it if you would reach out to me. I have a few ideas for some mutually beneficial financial exchanges we could engage in. 

[^dw8fwb9zugp]: If you want the deets, check out this old post I wrote. 

[^4mmsjx26xe]: Look back at that old picture of the ENIAC earlier in this post. 

[^ej8gyg8yrws]: I don't really understand the reasons for this. Sorry. 

[^7m7gmw84r9u]: See this other old post of mine for more information.