Meta Title: The Oldest Programming Language, Explained
Meta Description: Who wrote the first programming language? Meet the early contenders, from Ada Lovelace’s notes to Plankalkül and Fortran, and see why the answer isn’t simple.
The Oldest Programming Language, Explained
Contents
I love a good origin story. Who made it first? Where did it come from? Those questions grab me every time. So when a friend asked me which programming language came first, I figured I’d have the answer in five seconds. It took me a whole weekend and three pots of coffee.
Here’s the funny part. There isn’t one clean answer. Ask three developers and you’ll get three different names. One says Fortran. One says Plankalkül. One brings up a countess from the 1800s and won’t budge.
I’ll walk you through each contender in plain language. We’ll look at what each one did, who made it, and why people still argue about it. By the end, you can pick your own winner.
Quick warning: I’m not a historian. I’m a software developer who fell down a rabbit hole. I started out in phone support, moved to servers, picked up SQL, and eventually landed in full-time coding. History was never my thing. But old tech keeps popping up in my daily work, so I got curious.
A Tricky Question With Lots of Answers
When I first learned to code, I never thought about history. I just wanted my SQL query to return rows. Old languages seemed like dusty books nobody needed to read.
Then I got curious. Every language has a parent, and most have a grandparent too. Follow that family tree far enough and you end up in strange places. Punched cards. Hand-wired switches. Notes for a machine nobody had built yet.
The trouble starts with the word “oldest.” It can mean a few things. Oldest idea? Oldest full design? Oldest one that actually ran? Oldest one people still use? Each rule crowns a different winner.
Think about asking for the oldest car. Do you mean the first sketch, the first engine, or the first one that rolled down a road? Same mess. To find the oldest programming language, you have to decide on the rules first.
Here are the five rules I’ll use:
- The first idea written down on paper
- The first full design with real rules
- The first one that ran on a real machine
- The first one lots of people used
- The oldest one still alive today
Keep these in mind. I’ll test each contender against them as we go.
Early Ideas Before Real Computers
Long before anyone typed a line of code, people were writing instructions for machines. Those machines weren’t computers, though. They were looms and gear-driven engines. The hunt for the oldest programming language starts right here. I find this part charming. Nobody was chasing fame. They wanted to save time, win a bet, or crack a puzzle. Two stories matter most. One involves cloth. The other involves a very sharp mathematician.
Looms and Punched Cards
In the early 1800s, a weaver built a loom that read holes in stiff cards. Each row of holes told the loom which threads to lift. Swap the cards and you change the pattern. You never had to rebuild the machine.
That’s a program. Not a language, but a program. The cards stored instructions in a form the machine could read. I think that’s wild. This loom ran stored instructions before electricity showed up in most homes.
Later inventors borrowed the idea. Punched cards fed census machines, and they fed early computers too. When I picture old data rooms, I see stacks of these cards and one dropped box that ruins someone’s whole week.
Does a loom card count as the oldest programming language? Most experts say no. There are no variables, no loops, and no real logic. It’s a recipe with one step per row.
Still, the loom gave us the medium. It didn’t give us the language. That part came from a countess.
Ada Lovelace and the First Published Program
Ada Lovelace worked with Charles Babbage on a design called the Analytical Engine. It was a general-purpose computer built from gears. Nobody finished building it in their lifetime. It lived on paper.
In 1843, Ada translated an article about the engine. Then she added her own notes. They ended up longer than the article itself. In one note, she laid out a step-by-step method for calculating a series of values called Bernoulli numbers.
Many people call that the first computer program ever published. It had steps, repeated loops, and a table showing how values moved through the machine. She also saw that the engine could do more than crunch numbers. She guessed it might someday handle music.
So is it the oldest programming language? Not quite. Her notes used a table, not a full language anyone could use to write all sorts of programs. But it’s the first real program on record. If you go with “first idea on paper,” she wins by a mile.
This part is my favorite. The first program was written for a machine that didn’t exist. That takes guts. It’s like writing a video game for a console nobody has made yet.
Plankalkül: The Top Contender
Now we jump ahead about a hundred years. Computers are real now, though they’re huge and loud. A lone engineer is quietly designing something far ahead of its time. Many historians point to his work as the oldest programming language ever planned out in full.
Meet Plankalkül. Say it out loud: PLAHNK-al-kool. The name means “plan calculus,” and it sounds like a spell from a wizard school. The real story is even better.
Who Built It
Konrad Zuse was a civil engineer. His job meant long, boring rounds of math by hand. He hated it. So he did what a lot of us do when work gets dull. He decided to build a machine to do it for him.
He started in a home workshop. By 1941, he had finished the Z3, which is often called the first working programmable computer. It read its instructions from punched film. But writing raw machine instructions was painful. Zuse wanted something better.
From 1942 to 1945, he designed Plankalkül. It had variables, loops, and if-then choices. It handled arrays and records, which hold groups of related data. It even let you build bigger data types out of smaller ones. Modern languages still do the same thing.
Zuse used it to write chess programs on paper. Yes, chess, before most people had ever seen a computer. The notation looked odd. Code spread across several lines, kind of like sheet music. Each line had its own job.
That date makes Plankalkül a strong pick for the oldest programming language by design.
Why Nobody Used It
The timing couldn’t have been worse. Zuse designed the language while a war raged around him. Supplies ran short. Travel was tough. Some of his work got lost or damaged. Sharing ideas with other researchers was nearly impossible.
There was another problem. Plankalkül had no compiler. A compiler is a tool that turns your code into the machine’s own instructions. Without one, the language stayed a plan. Zuse could write programs on paper, but he couldn’t just hit run.
His full description sat unpublished for years. It finally came out in 1972. By then, Fortran, Lisp, and COBOL had taken over the field. Other teams had built their own tools from scratch and never saw his work.
I feel a little sad about that. Picture a great recipe locked in a drawer for decades while everyone else cooks something different. That’s Plankalkül.
A great design nobody can run is a tough sell for the title. It wins on date. It loses on impact. Both facts are true at the same time.
Plankalkül Gets Its Moment
Here’s my favorite twist. In 2000, a university team finally built a compiler for it. They took Zuse’s old programs and ran them. They worked. The design held up after more than fifty years.
Think about that for a second. A plan from the 1940s ran on a modern machine. This wasn’t a toy version, either. It was his real ideas in his real notation. I wish I could have seen his face.
If you want the full technical details, the Plankalkül page on Wikipedia covers the syntax, the data types, and the long road to publication. It’s a fun read, even if you never touch the language.
So how does it score on my five rules? It wins on full design. It ties on first idea, since Ada came earlier on paper. It loses on first to run and first to be used. That’s a split decision, but a strong one.
Plenty of people now say Plankalkül is the oldest programming language that really deserves the name. I lean that way too, with a few caveats. We still have other tools to cover first.
Machine Code and Assembly: The Quiet Ancestors
I’m going to be a bit of a pest here. Before any fancy language, there was machine code. It’s the raw stream of ones and zeros a chip understands. Every program you’ve ever run ends up as machine code in the end.
Writing it by hand is miserable. Imagine typing a string like 10110000 01100001 just to drop one number into one spot. One typo and the whole program breaks. Early programmers did exactly this. They flipped switches and punched holes.
Then assembly language showed up in the late 1940s. Instead of strings of bits, you wrote short names. A tool called an assembler swapped those names for the right bit patterns. Writing MOV AL, 61h is much friendlier than the bits it stands for. Programmers were relieved.
Does this count as the oldest programming language? Some people say yes. Machine code is as old as computers themselves. If you count it, the answer is simple and a little dull. The first computer needed the first machine code.
Most people skip it, though. Each machine has its own code, so it isn’t one language. It’s many. A program written for one chip won’t run on another. A true programming language, in the usual sense, works across different machines.
Still, I want to give these quiet ancestors a nod. Every language in this post sits on top of them. They do the heavy lifting while we type nice, readable words.
Short Code, Autocode, and the A-0 System
Between raw machine code and Fortran, a few odd tools popped up. They aren’t famous, and most developers have never heard of them. But they matter. Each one tried to make code easier to write, and each one was a small step toward what we use now.
Short Code
John Mauchly proposed Short Code in 1949. A colleague, William Schmitt, got it running on a UNIVAC machine the next year. Many sources call it the first high-level language for an electronic computer. “High-level” means it reads more like math than like machine bits.
You wrote formulas using two-letter codes. The computer read each code and did the matching work. That’s called interpreting. It works, but it’s slow. Short Code ran far slower than hand-written machine code.
Programmers had to translate their math into codes by hand first. Then the machine translated those codes again while the program ran. Not great. Still, the point was proven. A computer could read something close to a formula.
If you count “first to run on an electronic machine,” Short Code is a fair candidate for the oldest programming language. It doesn’t get much love, though. Maybe the name is too plain.
Autocode
Alick Glennie wrote Autocode in 1952 for an early machine at a university. Many people call it the first compiled language. That word matters, so let me explain it.
An interpreter reads your code and acts on it one line at a time, every single run. A compiler reads all your code once and builds a finished program. After that, the machine runs the finished program fast. No more translating on the fly.
Glennie’s tool did exactly that. You wrote simple statements. The compiler turned them into machine code, and the result ran at full speed. That was a huge deal, since speed was everything on those slow, expensive machines.
Think of it as the difference between a live translator and a printed book. The book takes effort to make once, but then anyone can read it quickly. Autocode made the book.
On my “first to run” rule, Autocode makes a strong case. It was practical, fast, and it worked.
The A-0 System
Grace Hopper built the A-0 System around 1951 and 1952. It wasn’t a language in the way we use the word. It was a tool that linked pieces of code, called subroutines, stored on tape. You called each piece by number, and the tool stitched them into one program.
Hopper called it a compiler. Plenty of people at the time doubted a computer could write code for itself. She was told machines could only do arithmetic. She proved them wrong.
I love her attitude. She didn’t ask for permission. She built the thing and showed that it worked. That’s a good lesson for any developer, in any decade.
Her later work shaped COBOL, which we’ll meet soon. She also told the famous story of a real moth stuck in a relay, which helped give us the word “bug.” Her team logged that moth in 1947.
On the oldest programming language scoreboard, A-0 is more of a tool than a language. Still, it showed the field that machines could build programs. That idea changed everything.
Fortran: The Oldest Language Still Going Strong
Now we reach the big one. In 1957, a team at IBM led by John Backus released Fortran. The name comes from “Formula Translation.” The goal was simple. Let scientists write math the way they think about it, then get fast code out the other end.
Many experts at the time didn’t believe it would work. They figured hand-written assembly would always beat a compiler. Backus and his team proved them wrong. Their compiler produced code that ran nearly as fast as expert hand work. Programs that used to take weeks to write now took days.
That success is why Fortran spread like wildfire. Engineers, physicists, and weather forecasters picked it up. It was the first high-level language that lots of people actually used. If you choose “first widely used,” Fortran wins without a fight.
Here’s the kicker. It’s still alive. Fortran code runs weather models, physics simulations, and some of the fastest supercomputers around. New versions keep coming out. If you want the oldest programming language people still write today, Fortran is a top answer.
The Fortran page on Wikipedia lists each version, from the first release to the modern standards. It’s a neat way to watch one language grow over decades.
Early Fortran had quirks. Variable names could only be six characters long. Programs lived on punched cards, so one stray hole could wreck a run. I think of it as a classic car. A little rough, but still on the road.
Lisp and COBOL Join the Party
Fortran didn’t stay alone for long. Two more big names arrived within a couple of years. Both are still around, and both still pay people to work on them.
Lisp came first, in 1958. John McCarthy created it for research into artificial intelligence. It treats code as lists and leans hard on recursion, where a function calls itself. It also introduced garbage collection, which cleans up unused memory for you. Most modern languages do this now.
Lisp looks strange at first. Tons of parentheses. I stared at it once and felt my eyes cross. But the ideas inside it show up everywhere. Its family lives on in Scheme, Clojure, and even the editor many developers use every day.
COBOL followed in 1959. It was built for business, and it reads almost like English. Words like ADD, MOVE, and PERFORM fill the code. Grace Hopper’s earlier work helped shape its design. The goal was code that managers could read, too.
COBOL still moves money. Banks, payroll systems, and government offices run huge amounts of it. Nobody wants to rewrite it, because it works. So developers who know it stay in demand.
Both are strong “still alive” candidates. But Fortran beat them by a year or two. When it comes to the oldest programming language still in daily use, those years count.
So Which One Wins?
Time to settle it. Remember my five rules? Here’s how the contenders stack up:
- First idea on paper: Ada Lovelace’s notes from 1843.
- First full design: Plankalkül, from the 1940s.
- First to run on a real machine: Short Code, Autocode, or A-0, depending on how strict you are.
- First widely used: Fortran, in 1957.
- Oldest still alive: Fortran, by a nose over Lisp and COBOL.
See the problem? The winner changes with the rule. That’s why the debate never ends. Nobody is really wrong. They’re just using different rules.
My own pick depends on the question. For the oldest programming language by design, I go with Plankalkül. For the oldest one you can use today with a real community behind it, I go with Fortran. I wouldn’t argue with anyone who picks Ada’s notes, either. She got there first, and she did it for a machine that was never built.
If someone forces me to give one answer at a party, I say Plankalkül. Then I watch their face. It’s a great conversation starter. Just be ready to explain how to pronounce it.
You don’t have to agree with me. The fun is in picking your own rules. Which one matters most to you: the idea, the design, the first run, or the long life?
Why Old Languages Still Matter
You might wonder why any of this matters. Nobody builds a phone app in Plankalkül. Fair point. But I think the story teaches some real lessons.
First, the big ideas are old. Variables, loops, conditions, and subroutines all show up in the 1940s and 1950s. When you learn a new language today, you’re mostly learning new clothes for the same ideas. Knowing that takes some of the fear out of learning to code.
Second, old code is everywhere. My own work leans on SQL, which dates back to the 1970s. It’s older than several people on my team, and I still use it almost daily. Old tools stick around when they work well.
Third, there are jobs. Companies run Fortran and COBOL systems and need people who can read them. Fewer new developers learn these languages, so the ones who do stand out. If you like puzzles, that’s a fun niche.
Fourth, history keeps us humble. Zuse had no compiler, little help, and not much money, and he still designed a language that held up for decades. Lovelace wrote a program for a machine that never ran. When my code fails on a Tuesday, I think about them and feel a little better.
Studying the oldest programming language also makes you a sharper coder. You start to see why things were built the way they were. You spot patterns faster. And you stop assuming that new always means better.
Quirky Facts for Your Next Party
I picked up a few odd tidbits while researching. They work great for small talk, or for filling a quiet meeting. Use them wisely.
- Ada Lovelace guessed that machines could one day make music. She wrote that down in 1843.
- Konrad Zuse wrote chess programs in Plankalkül before any machine could run them.
- Plankalkül code was spread across several lines at once, a bit like sheet music.
- It took until 2000 for anyone to build a working compiler for it.
- Short Code had the machine translate formulas while the program ran, which made it very slow.
- Grace Hopper was told computers could only do arithmetic. She built a compiler anyway.
- Early Fortran limited variable names to six characters. Tough luck for anyone who loved long names.
- Lisp introduced garbage collection in 1958. Your favorite language probably uses it today.
- COBOL still runs a huge share of business transactions, long after many people predicted its end.
My favorite is the chess one. Picture a man writing chess code on paper when no machine could run it. That’s faith in an idea. It makes me want to go build something silly and ambitious this weekend.
Each of these facts points to the same truth. The first languages were built with very little. Machines were slow, memory was tiny, and teams were small. People used clever thinking to fill the gaps. That part of the story never gets old, and it’s a big reason the debate stays so lively.
Where to Go Next
If this post made you hungry for more, I have good news. I wrote a longer rundown of the early greats in my guide to the first ten programming languages. It covers the pioneers in order, along with the people behind them and what each one gave us.
You can also try a few things on your own. Here are some easy ideas:
- Read Ada Lovelace’s notes. They’re short, and they read better than you’d expect.
- Install a free Fortran compiler and print “hello” to the screen. It takes about ten minutes.
- Try a small Lisp dialect and write a function that calls itself.
- Look at a few lines of COBOL and notice how much it reads like plain English.
- Skim a page about Plankalkül and try to decode one line of that odd notation.
Pick one and give it an hour. You don’t need to master it. Just get a feel for how people wrote code when every bit counted. I did this with Fortran and learned more about loops in one evening than I had in a month of tutorials.
And if you ever settle the debate for yourself, tell a friend. Better yet, start an argument. That’s half the fun.
Old Code, New Respect
So here’s where I landed. The oldest programming language depends on your rules. Ada Lovelace wrote the first program on paper. Konrad Zuse made the first full design with Plankalkül. Short Code, Autocode, and A-0 got early machines doing real work. Fortran put it all in front of many users, and it’s still going strong.
Lisp and COBOL arrived soon after, and both are still in use. Each one taught us something new about talking to machines. And each one still shapes the code we write today.
I started this hunt thinking I’d find one name and call it a day. Instead, I found a crowd of clever people who each solved a piece of the puzzle. That’s better than any single answer.
Next time you write a loop or call a function, tip your hat. Someone dreamed up that idea long before you did, often with no machine to test it on. Old code deserves new respect.


