The entire CPU is simply one and off switches. But billions of them.
If you look at it simply, all you are doing is putting electricity into a block of silicon and plastic and you get out electricity, so it is basically just routing electricity around, so it’s basically a resistive heater.
A light bulb could be a CPU too if you think about it. It can output something based on input. The input is you flipping a switch to either on or off and the output is light or no light. You can also bake cookies with the heat of a light bulb. Because it does both. It “calculates” some logic state for you (is the switch on?) but it also follows the laws of physics and produces resistive heat and light.
Now rewire your light switch so that when the switch is in the on position, the light turns off. Now you have a different sort of logic. Light is one when switch is off. Now add another switch in series with that … the light is on if both switches are on, but is off otherwise, you now have an “And gate”. Put two switches in parrallel to the light bulb. Now you haven “OR gate”. Cool! Now take 100 million of these and you have a computer. It will compute stuff, but also generate heat.
Latest Answers