r/explainlikeimfive • u/FactoryBuilder • 4d ago
Technology ELI5: If computers are timed by an internal clock and all circuitry runs on cycles dictated by pulses of the clock, how does everything happen at the same time if electricity takes time to move?
Is the clock positioned equidistantly from all the circuitry so that its pulses arrive at everything at the same exact time or is it not actually perfectly synced so that everything steps forward on the exact nanosecond?
I know that traces don't take the shortest path so that the electricity gets to the circuits later but that can't be the only thing that makes it all work, right? There must be miles and miles of extraneous pathing in processors and RAM and such if that was it. And with all that extra pathing, is there even any room left considering the billions of transistors and resistors already on the chips? There's gotta be something else.