Search code examples
architectureoperating-systemsystem

How does code make an electrical machine work?


I've always wondered how computers use electricity with a sort of "language" to work with an OS and so on.

I've already searched on the Internet, but everything was hard to understand.


Solution

  • There is no simple way to to explain how a computer works from the high level of a "computer language" to the low level of "electrical signals." That is not to say that the concept is necessarily hard to understand. Fundamental computer systems are many simple constructs that build on one another. I highly recommend Introduction to Computing Systems: From Bits and Gates to C and Beyond (Patt & Patel), which I read in an introductory systems course in college.