How computers work · 5 min
Storing programs in memory
Learn about the von Neumann architecture.
What the sources describe
Early electronic computers such as ENIAC, completed in 1945 in the United States, were programmed by plugging cables and setting switches. Changing a program could take days. The first programmers, including Kathleen McNulty, Betty Jennings and Frances Bilas, did this painstaking work.
Engineers working on ENIAC's successor, EDVAC, including J. Presper Eckert and John Mauchly, discussed storing programs in the computer's memory alongside data. In 1945, mathematician John von Neumann wrote a report describing this design. It was circulated with only his name, upsetting Eckert and Mauchly.
The approach, now called the von Neumann architecture, puts instructions and data in the same memory. The computer fetches an instruction, carries it out, then fetches the next. Programs could be loaded and changed quickly, and could even treat other programs as data.
The first stored program ran on the Manchester Baby in England on 21 June 1948. Most computers today still follow this basic design. One limitation, the von Neumann bottleneck, is that the processor must wait for data to move between memory and itself.
Connecting the ideas
In 1945, John von Neumann described a design where programs are stored in memory alongside data; the first stored program ran on the Manchester Baby in 1948, and most computers still use this approach.
The big idea
Treating instructions as data made computers truly flexible.
Use it in real life
Write a simple recipe as numbered steps on cards, and keep your ingredients list on similar cards. Follow the recipe by reading one step at a time, like a computer fetching instructions. Then change one step card, and note how easy it is to change the program without rebuilding anything.
Try it
Made-up example: What is the main idea of the von Neumann architecture?
A good answer: storing program instructions in the same memory as data.
Quick quiz
1. How were early computers like ENIAC programmed?
2. Why were Eckert and Mauchly upset?
3. What is the von Neumann bottleneck?
Finished reading?
Make this the next Doom video?
Vote for the lessons you'd most like to see turned into a short animated story.
How was this lesson?
No ratings yet — be the first.
Sign in to rateSources
Overview sources only. These references are not a completed primary-source fact-check.
Limitations
Credit debated.
Voice: Debby — Soft and soothing (tap to change)
Debby narration · part 1 of 15
