Ada Lovelace: the first programmer, a century early

Byron's daughter, Babbage's Analytical Engine, Note G, and how she saw music and symbols in a machine that was never built.

Article · 0 clicks · Sep 4, 2026

Ada Lovelace: the first programmer, a century early

Byron's daughter, Babbage's Analytical Engine, Note G, and how she saw music and symbols in a machine that was never built.

The first computer programmer died in 1852, a century before the first computer was built. She was a countess, a gambler, the daughter of the most scandalous poet in Europe, and a mathematician who saw — more clearly than the machine's own inventor — what computers would eventually become. Her name was Ada Lovelace, and the story of how she wrote a program for a machine that did not exist is one of the strangest in the history of technology.

Who was she?

Ada was born in 1815, the only legitimate child of Lord Byron — celebrity poet, serial scandal, the man a lover famously called mad, bad, and dangerous to know. Her mother separated from him weeks after Ada's birth and, terrified the girl would inherit her father's unstable poetic temperament, prescribed an antidote: mathematics, drilled daily by tutors. It half worked. Ada became a gifted mathematician who described her own approach as poetical science, which turned out to be exactly the combination the moment required.

At seventeen, at a London party, she met Charles Babbage — a brilliant, cranky inventor who had designed a mechanical calculating machine called the Difference Engine and was sketching something far grander: the Analytical Engine, a general-purpose computer made of brass gears and punched cards, with a mill (a processor) and a store (memory). The British government, which had funded his earlier work handsomely and received no finished machine, declined to pay for this one. Most of society saw an expensive curiosity. Ada saw the point.

What did she actually do?

In 1843, she translated an Italian engineer's paper about the Analytical Engine and appended her own notes — which ran nearly three times longer than the paper itself and contain the intellectual firsts she is remembered for.

In the final section, Note G, she laid out a complete step-by-step procedure for the engine to compute a sequence called the Bernoulli numbers: operations, variables, a repeating cycle of steps — what programmers today would recognize as a loop — written out in a table that is, by fair reckoning, the first published computer program. Babbage had sketched fragments before, but nothing so complete, rigorous, or public.

More remarkable was what surrounded the table. Babbage thought of his engine as a number machine. Ada understood that numbers could stand for anything — letters, music, symbols — and wrote that the engine might compose elaborate pieces of music of any degree of complexity, if the rules of harmony could be expressed for it. That is the modern idea of the computer, stated in 1843. She also drew a line that AI researchers still argue about: the engine, she wrote, can do whatever we know how to order it to perform — it originates nothing. Alan Turing, a century later, took her seriously enough to name the argument Lady Lovelace's Objection and write a rebuttal.

Why did the story end badly?

Because the machine was never built — Victorian engineering could not affordably produce parts to the precision Babbage demanded, and his talent for alienating funders did the rest. Ada's later life turned dark: chronic illness, opium prescribed for pain, and a disastrous entanglement in horse-race gambling that left her secretly pawning the family diamonds. She died of uterine cancer in 1852 at thirty-six — the same age as her father — and was buried, at her request, beside the poet she never knew.

Her notes gathered dust for a century. When electronic computers finally arrived in the 1940s, the pioneers rediscovered her work with a shock of recognition: someone had been here before, alone, a hundred years early.

What is her real legacy?

Not just being first — being right. The programming language the US Department of Defense built in 1980 is named Ada. The second Tuesday of every October is Ada Lovelace Day, honoring women in science. Skeptics have periodically tried to shrink her contribution to Babbage's shadow; the historical record of her letters and drafts keeps restoring it.

But the sharpest way to see her is this: given only a description of unbuilt hardware, she deduced software, and beyond software, the idea that a machine for manipulating symbols could touch music, language, and thought. Every person who has ever asked whether a machine can be creative is standing in an argument Ada Lovelace started — before the light bulb, before the telephone, in the margins of a translation, in ink.

Back to Learn