---
title: Ada Lovelace: The First Computer Programmer? | Large Programs
description: In the 1840s Ada Lovelace described how a machine could follow instructions and even speculated about music.
canonical: https://www.largeprograms.com/ada-lovelace-and-the-first-program/
---

[Home](/) / [History of AI](/category/history-of-ai/)

History of AI

# Ada Lovelace: The First Computer Programmer?

In the 1840s Ada Lovelace described how a machine could follow instructions and even speculated about music.

26 November 2026 · 1 min read

![Illustration for the article Ada Lovelace: The First Computer Programmer?](/img/hero/art-ada-lovelace-and-the-first-program.svg)
*Illustration made for this site.*

**Ada Lovelace** (1815 to 1852) wrote seven explanatory notes to go with her translation of an article by Luigi Menabrea about Charles Babbage's proposed Analytical Engine, published in 1843. One of them, Note G, describes a method for using the machine to calculate Bernoulli numbers. It is often called the first published computer program, though Wikipedia points out that Babbage's own earlier notes also contain programs for the engine.

## A bold idea

In Note A she wrote that the engine might act upon things other than numbers, if their basic relations could be expressed in the machine's terms. Her example was music: in principle it might compose elaborate pieces of music. The text of the notes is reproduced from Project Gutenberg on the second source page below.

## Not intelligent, she said

In Note G she warned against exaggerated ideas of what the machine could do: "The Analytical Engine has no pretensions whatever to originate any thing. It can do whatever we know how to order it to perform." People still debate that idea in the age of AI, because nobody orders a language model to write one particular sentence.

## Sources

- [https://en.wikipedia.org/wiki/Ada_Lovelace](https://en.wikipedia.org/wiki/Ada_Lovelace)
- [https://abhinavsaxena.in/library/lovelace-note-g/](https://abhinavsaxena.in/library/lovelace-note-g/)

[Read this page as Markdown (.md)](/ada-lovelace-and-the-first-program.md)

## Keep reading

[![](/img/hero/art-ai-winters-explained.svg)](/ai-winters-explained/)

History of AI

### [What Were the AI Winters?](/ai-winters-explained/)

AI had periods of hype followed by disappointment and lower funding. Learn why they happened.

[![](/img/hero/art-alan-turing-and-the-imitation-game.svg)](/alan-turing-and-the-imitation-game/)

History of AI

### [Alan Turing and the Imitation Game](/alan-turing-and-the-imitation-game/)

In 1950 Alan Turing asked, "Can machines think?" and suggested a test. Here is the story for young readers.

[![](/img/hero/art-alexnet-and-the-deep-learning-boom.svg)](/alexnet-and-the-deep-learning-boom/)

History of AI

### [AlexNet and the Start of the Deep Learning Boom](/alexnet-and-the-deep-learning-boom/)

In 2012 a neural network won an image contest by a wide margin and changed AI research.
