The history of computing began long before electronic circuits and modern processors.
Charles Babbage began developing his Difference Engine during the 1820s.
Instructions could be supplied through punched cards https://www.myminifactory.com/users/user7689751966