r/ComputerEngineering • • Sep 26 '22

[Discussion] [Question] What cpu did the first computer have?

Note: I don't know much if any in the engineering field, I came here asking a question out of curiosity.

I was searching google for some information regarding the first computer ever and first cpu ever, and found according to google that the first commercial cpu was invented by intel (intel 4004) in the 1970s, while the first computer built was by Charles Babbage in 1822. So what cpu did the computer built by Charles Babbage have? And was it any different fundamentally from the cpus we have today? Did it work differently?

Thank you in advance.

Actually while I'm at it let me ask, did the first computer have any fundamental differences in the way it works than our computers today?

Again thank you in advance.

2 Upvotes

8 comments sorted by

8

u/bobj33 Digital Logic Sep 26 '22

Your question is way too broad to answer quickly. No one decided one day "I'm going to build a computer!" People created devices to solve a dedicated task not a general purpose computer. Babbage's Difference Engine was to solve polynomials. It wasn't general purpose. Then there was his Analytical Engine but It was Ada Lovelace who realized the potential of it.

These were mechanical devices. You can go through the history of vacuum tubes, dedicated World War II codebreaking machines, Alan Turing, his concepts on computing, the creation of the transistor at Bell Labs, and then modern silicon based semiconductors. You've got to go way back before you even really understand the significance of the Intel 4004

If you have a chance to visit the Computer History Museum in Silicon Valley I strongly suggest it. Otherwise start with wikipedia.

https://en.wikipedia.org/wiki/History_of_computing

https://en.wikipedia.org/wiki/History_of_computing_hardware

https://www.livescience.com/20718-computer-history.html

3

u/Honest-af_account Sep 26 '22

I understand what you're saying. Thank you do much for your help!

I'll research the topics you've given me.

4

u/bobj33 Digital Logic Sep 26 '22

Technology is a combination and evolution of previous technology. Someone invented the wheel. A one wheeled wheelbarrow is useful in your yard. Then a 2 wheeled cart pull by a horse. Then a 4 wheel wagon. Then you get the steam engine. Hook it up to the wagon and you don't need a horse.

If you are interested in the history of technology then the Connections book and TV series by James Burke shows how inventions here are reused and transform another industry over there.

https://www.youtube.com/playlist?list=PLf02uWXhaGRng_YzH-Ser_VEV4lGSLX_1

6

u/PlayboySkeleton Sep 26 '22

The first computers were definitely different than today in that they were completely mechanical. Think of something like a really fancy mechanical cash register in the old days that could calculate change and hold up cards of numbers without any electricity at all. Now Babbage's computer didn't look like a cash register, but was mechanical nonetheless.

Eventually we discovered electricity and we started to use electricity to do computation for us, not in the form of digital computation like today, but in the form of analog computation. This is were you provide an electrical voltage or current of a specific value, and as the electricity flows through resistors and amplifiers, the voltage or current is modified according to what math you wanted to perform (that's how operational amplifiers got their name). When measuring the voltage at the other end, you would get the result of the intended arithmetic.

Eventually vacuum tube transistors came around and digital logic started to take off.

But vaccum tubes are big, bulky, and power hungry. You have probably seen them in "retro" guitar amplifiers, or "retro" clocks. So they weren't the best in the form of scaling things down.

Eventually they figured out how to build small scale transistor like mosfets on silicon substrates using photo lithography. They packaged these things in something called a "chip". People would then bread board them together or solder them by hand into complex digital circuits. You can still see hobby computers today made in a similar way.

The next step was to keep mininzing. Shrinking, and packing more transistors onto one die. that is how modern processors are made.

1

u/Honest-af_account Sep 26 '22

Ohhhhhh! Quite the nice summary of the evolution of computers and the cpu.

Thank you for the very helpful reply! I'll use it to understand how to navigate in googling this subject better.

3

u/gHx4 Sep 26 '22

Great question. Early computers were stack-based machines designed usually for mathematics. They didn't really have a "central" processing unit.

However, most early computing and automation devices kept a degree of separation between the memory, I/O, and processing units. On the Analytical Engine, 'the Mill' was the processing unit which operated on 'the Store'.

One of the primary differences from modern computers is that it was mechanical rather than electronic -- data and instructions were signalled using physical hardware and its connections. A lot of concepts from clockmaking and mechanical engineering were used. These were also accessible means of production at the time.

So, if he'd ever finished a well documented version, it would have been possible to commercialize and mass produce the machine.

1

u/Honest-af_account Sep 26 '22

I see. Thank you do much for your reply. It was very helpful and quite informative!

I will research more on the mill and the store.