That was the vision for Analytical Engine devised by British inventor Charles Babbage in 1837. He is credited with the machine invention.
It was possible his mate Ada Lovelace who best could understand potential that computers would do in the future. She was the daughter of Romantic poet Lord Byron Lovelace was gifted Mathematician and intellectual who have the skills to be able to translate a Italian article about Analytical Engine and supplement it with his own notes on the machine possible capabilities. Where the lady managed to explain clearly the Babbage had been able to do where the Algorithm is explained and normally thought as the first ever computer program. https://fooos.com/
Lovelance sadly past away early into the friendship with Mr Babbage and the Analytical was never ever build except for the pages of the Thrilling Adventures