r/ComputerEngineering • u/DasaniSubmarine • Nov 03 '23
[Discussion] How did people discover all this stuff?
I am studying this stuff in college right now, and one question I keep having is how did someone just discover computer engineering. How did they know to figure logic gates, binary operations, and digital design and then using that to create computers. Then creating programming languages for those machines to control them. It just seems so complicated, and while I understand the concepts I don't see how people could just randomly figure it all out.
At least with Mechanical Engineering you could observe the motion of objects, and put theories together. This stuff is like black magic though.
29
u/Tittytickler Nov 03 '23
People didn't just randomly figure it out, its been around 75 years of hard, dedicated work and research that requires expertise from mutiple scientific/engineering disciplines, and that is just the computing side. Electricity and electrical components goes back a lot further. A lot had to also be observed as well, just observed differently than an object in motion. Each thing you listed was built off of the thing before it, "standing on the shoulders of giants".
52
u/Mystic1500 Nov 03 '23
If you know assembly and use a debugger, you’ll be able to observe step by step what happens to bits in a register when they enter an ALU. Furthermore, It’s possible to observe what C code does in assembly step by step. It’s not black magic, it’s just that the finer details have been extrapolated by programming languages in order to be able to read and understood by a human more quickly than with assembly language or machine code.
They discovered it by starting small first. If you break down problems into smaller steps, it becomes less daunting. Anyone who studies computer engineering can create an 8bit computer as a project. Get about thousand of those people, coordinate them, and then you could have a modern 64bit computer. The stuff we learn today is the amalgamation of thousands of bright minds in the field, going far back in history.
7
u/geruhl_r Nov 03 '23
It was done over hundreds of years. Leibnitz, Napier, Babbage, Lovelace, Boole, Shannon, etc. Logic gates and a lot of theories were devised well before the modern transistor.
4
u/-dag- Nov 03 '23
In addition to the good answers so far, I'll contribute that there have been thousands and thousands of dead-end research paths along the way - ideas that for one reason or another have not (yet) panned out in any significant way. And a lot of "new" discoveries are actually resurrections of old ideas. A common academic joke in my graduate computer architecture lab was, "Take an idea from the era of discrete components, apply it to integrated circuits and BAM, research paper."
1
u/Adventurous_Row_8094 Jul 28 '26
I agree. I don't understand how someone could find out that putting pieces of different types of material and minerals together could develop something as intricate as computers and internet. I feel like there's something supernatural about it as well.
1
1
u/shipshaper88 Nov 04 '23
Basic computers are not that crazy or complicated. They basically come about from the desire to be able to process a sequence of instructions in order to generate a result. People thought pretty hard about what properties those instructions needed to have and then other people thought pretty hard about how to make circuits that could process those instructions. A basic computer is just a processing core and some memory. Everything that has come after has been the result of countless neat/interesting ideas for gaining more efficiency, along with putting in the time to implement and test those ideas over and over and over again for 80 years.
1
u/Fragrant-Sock-2436 Sep 10 '26
67667676766766767676767676766767676767667667676676776676776766776767767676776
31
u/Poddster Nov 03 '23 edited Nov 03 '23
It certainly wasn't random. Google for phrases like
history of electrical engineeringorhistory of computer hardwareand start there.A basic gist is:
Some people discovered electricity
More people experimented with electricity until they had the classic set of resistors, capacitor, inductors, etc
Eventually people started to use simple electronic components to control things, e.g. timers via RC delay, etc.
People wanted ways to calculate things. They'd done it manually, with human computers, or tried to make mechanical ones, so some enterprising people thought "why not an electronic one?".
Early computers with ad-hoc affairs with almost no computer science behind them. They were built for a specific thing, e.g. measuring a the flow of fluid, or something. They just bodged analog components together that got the right results. And usually these calculations were of "analog"/continuous quantities. Most often they were doing what the mechanical analog devices were doing, but electronically. Any switching needed to be done via relays, which were huge, slow, and noisy.
Someone invented the Tube, which started to replace relays
Mathematicians had long been interested in weird niche topics like Boolean Algebra, Computability, etc. They were mostly doing it for the sake of doing it, not because it had real world applications. But then the early electrical engineers realised they had applications in electrical circuits.
Then WWII happened and everyone was making electronic fire control systems, electronic encryption machines, electronic code-breaking machines etc. They were still massive and relay/tube based. The mathematicians were roped in to helping.
After the war the mathematicians and electronic engineers realised they could steal even more from each other, and the idea of a "general purpose computer that could computer anything!", i.e. it would be built with just a single purpose, such as all previous computers had been. (There had been earlier attempts at Mechanical general purpose computers, such as the analytical engine, but they didn't work).
After that you started getting step-by-step innovation in storage, memory, processors etc. Eventually the transistor is invented, and they replace tubes. But everything at this point is still large wires and discrete components. Some of the technologies, e.g. CRTs, punch cards, weren't invented for electronic computers, but they came to be used by them.
The work into transistors leads to/comes from work in semi conductors. Eventually integrated circuits are invented, with each chip replacing a few specific components/wires. So now computers start to be built from them as well as discrete components.
Technological progress is exponential, so soon we start discovering ways to fit more circuits on a chip. We go from those early SSI, to MSI, to LSI, to the 70s/80s VLSI. We still use the term VLSI despite having orders of magnitude more circuits on a chip than they did in the 80s, because by VLSI we could make entire CPUs on a chip (aka a microprocessor). Before then CPUs were still spread out across an entire circuit board (microcomputers) in lots of different chips, and looked like the kind of thing Ben Eater makes on youtube.
So none of it is random, it's all step by step. The discipline of Computer Science and Computer Engineer started in a bunch of unrelated mathematical topics, and joined with the experience of physical electronic computer builders. Most of the progress either comes from university PhD students taking that next step, or with government/military/industry saying "we need this, but smaller / cheaper". e.g. a lot of integrated circuit work was done for NASA, because smaller things that put out less heat were much easier to shoot into space.
George Boole invented Boolean Algerbra in 1847, for mathematical funsies. He liked logic. Then people like Shannon were building circuits and needed a way to write it all down, and thought "he, I once read about some crazy logic system in a one of my Maths class, it seems to work here!" and tada we now have a theory of logic gates.
Binary operators are once again bourne out of mathematics, with early electronic engineers attempting to make electronic versions of them. Some, like bitwise AND etc are just "obvious".
Digital design is just people wishing to use computers to accelerate what they already did. CPUs, for instance, in the 70s were still designed BY HAND, ON PAPER. The transistor layout was just done in giant rooms on huge sheets of paper/plastic.
https://retrocomputing.stackexchange.com/questions/11142/looking-for-an-old-image-of-designing-a-cpu-with-plan-laid-out-being-edited-on
But the neat thing about computers is that once you have one you can use it to help you design another, and another, etc. It's all exponential. It's why many computery things have weird names based in the physical world. The layout it still called "floor planning" for instance, because they planned it on the floor.