CrashCourse · @crashcourse
Early Programming: Crash Course Computer Science #10
Uploaded June 8, 2017 · Length 9:26
Summary
This video explains the history of programming, from Jacquard's loom and punch cards to stored-program computers and the von Neumann architecture.
- history of programming
- jacquard loom
- punch cards
- stored program computer
- von neumann architecture
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:02
Hi, I'm Carrie Anne and welcome to Crash Course Computer Science.
- 0:05
Over the last few episodes,
- 0:07
We've talked a lot about the mechanics of how computers work.
- 0:10
How they use complex circuits to save and retrieve values from memory,
- 0:13
and perform operations on those values,
- 0:15
like adding two numbers together.
- 0:17
We've even briefly talked about sequences of operations,
- 0:19
which is a computer program.
- 0:21
What we haven't talked about
- 0:22
is how a program gets into a computer.
- 0:24
You might remember in episode 7 and 8,
- 0:25
when we stepped through some simple example programs for the CPU that we had created.
- 0:30
For simplicity, we just waved our hands
- 0:33
and said that the program was already magically in memory.
- 0:35
But in reality, programs have to be loaded into a computer's memory.
- 0:38
It's not magic. It's computer science.
- 0:40
[Theme Music]
- 0:49
The need to programme machines existed way before the development of computers.
- 0:53
The most famous example of this was in textile manufacturing.
- 0:56
if you just wanted to weave a big red tablecloth,
- 0:58
you could simply feed red thread into a loom and let it run.
- 1:01
But what about if you wanted the cloth to have a pattern like stripes or plaid?
- 1:05
Workers would have to periodically reconfigure the loom as dictated by the pattern,
- 1:09
but this was labor intensive which made patterned fabrics expensive.
- 1:12
In response, Joseph Marie Jacquard developed a programmable textile loom,
- 1:16
which he first demonstrated in 1801.
- 1:18
The pattern for each row of the cloth was defined by a punched card.
- 1:21
The presence or absence of a hole in the card determined
- 1:24
if a specific threat was held high or low in the loom.
- 1:26
Such that the cross thread called the weft passed above or below the thread.
- 1:30
To vary the pattern across rows these punch cards were arranged in long chains,
- 1:34
forming a sequence of commands for the loom.
- 1:36
Sound familiar?
- 1:37
Many consider Jacquard's loom to be one of the earliest forms of programming.
- 1:40
Punched cards, turned out to be a cheap, reliable,
- 1:43
fairly human readable way to store data.
- 1:45
Nearly a century later,
- 1:46
punch cards were use to help tabulate the 1890 newest census
- 1:49
which we talked about in episode 1.
- 1:51
Each card held an individual person's data.
- 1:54
Things like race,
- 1:54
marital status,
- 1:55
number of children,
- 1:56
country of birth, and so on.
- 1:57
For each demographic question,
- 1:59
a census worker would punch out a hole of the appropriate position.


