Who’s exploring?

DISCOVER · ARTICLE

Ada Lovelace Wrote the First Computer Program — Before Computers

In the 1840s, Ada Lovelace described how a machine that did not yet exist could follow instructions — and imagined it making music.

A green computer motherboard close-up

A mathematician in a poet's family

Ada Lovelace was born in 1815, the daughter of the poet Lord Byron, whom she never really knew. Her mother encouraged mathematics instead of poetry, and Ada turned out to be gifted at it, studying with some of the leading mathematicians of the day.

She became fascinated by the work of Charles Babbage, who designed a mechanical computer called the Analytical Engine. It was never fully built, but on paper it had the essential parts of a modern computer: memory, a processor, and instructions on punched cards.

Notes that became a program

In 1843, Lovelace translated an article about the Analytical Engine from French and added her own extensive notes — labelled A to G — which ended up far longer than the article itself. In those notes she set out a step-by-step method for the machine to calculate a sequence of numbers called Bernoulli numbers.

That method is widely regarded as the first computer program: instructions written for a machine, published decades before any electronic computer existed. She wrote it for hardware that had never run a single calculation.

Seeing further than the machine's inventor

Lovelace also saw possibilities Babbage had not emphasised. She wrote that if the relationships between musical notes could be expressed in numbers, the engine might one day compose music — an early glimpse of computers as creative tools, not just calculators.

She died young, in 1852, and her notes were largely overlooked for a century. Today a programming language, Ada, carries her name, and her story is a reminder that imagination is a technical skill.

Keep reading? Spark picked your next article.

The Apollo computer's program was woven in wireMore about Computing

More in Computing

— forget which articles you’ve read on this device.

Sources, credits & transparency

Development reference photograph · Unsplash. Reference use; provenance and final image approval pending; see public/images/manifest.json.

Created with AI assistance as part of a bulk seed pack approved by the SparkKindly site owner on 15 November 2026. No independent specialist review is claimed.

Report a mistake on this page