The FORTRAN Automatic Coding System
Write the mathematics, not the machine's addresses — and let a program compile it into code as fast as a human's.
Before 1957, telling a computer what to do meant writing in its raw numeric language, address by address, by hand. FORTRAN let you write the maths instead — and had the machine do the rest.
The big idea
A computer only understands long lists of tiny numbered orders — load this number, add that one, store the result here. Writing those lists by hand was slow, mind-numbing, and error-prone. FORTRAN introduced two things together: a high-level language, in which you write something close to ordinary algebra, and a compiler, a program that reads your formula and writes out all the machine's tiny orders for you.
So instead of dozens of cryptic instructions, you could write one line — Y = A*X**2 + B*X + C — and the compiler would translate it, automatically, into fast machine code. The radical part was that nobody believed a machine could do this translation well enough. FORTRAN's compiler proved it could: the code it produced ran almost as fast as code a human expert wrote by hand.
How it came about
The project began at IBM in 1954, led by a young researcher named John Backus, for IBM's powerful new 704 computer. At the time, simply preparing a problem for a computer — writing and debugging the program — cost more than the computing itself. Backus's pitch was to slash that cost with automatic coding.
He met deep scepticism. Expert programmers took pride in hand-crafting tight machine code and doubted any automatic system could match them. So Backus's team made efficiency their obsession: the compiler would not just translate, it would optimise, working hard to use the machine's scarce fast registers wisely. It took about three years and an enormous programming effort. When the compiler was delivered in 1957, it worked — and the doubters were won over.
Why it mattered
FORTRAN opened programming to the people who actually had problems to solve — scientists and engineers — instead of confining it to a priesthood of machine-code specialists. It made software dramatically cheaper and faster to write, and in doing so helped create the software industry itself. The very words we use — compiler, high-level language — entered ordinary use through it.
A way to picture it
Think of sheet music. A composer writes a melody in clean, readable notation — a few lines on a page. A skilled performer then turns each note into the exact, rapid finger movements that actually make the sound. FORTRAN is the performer: you write the readable notation, and the compiler renders it, note for note, into the thousands of precise little movements the machine must make — and renders it nearly as well as the finest hand could.
Where it sits
FORTRAN was not the very first attempt at automatic programming — Grace Hopper had built early compilers, and others had tried algebraic systems — but it was the first to be both efficient and widely adopted, which is what made it stick. After it came a flood of languages: ALGOL, COBOL, BASIC, C, and eventually Python. The reaction against its tangled GO TO style led Edsger Dijkstra and others to structured programming, a thread you can follow elsewhere in this Library.
DO 5 I = 1, 10
IF (X) 10, 20, 30