3 ms·
I think there are some misleading points in a hardware perspective at intro. > That is, gone are the days of serial communication. In that sense, all communica
by kbumsik 8y ago
I think there are some misleading points in a hardware perspective at intro.
> That is, gone are the days of serial communication. In that sense, all communications between the CPU and peripherals is therefore asynchronous at a hardware level.
At a hardware level, 99.99% of modern peripherals are based on serial communication (e.g. USB, PCIe, I2C...), and these serial comminications are of course fully asynchronous. They implement concurrent communication at a higher level.
> Think of the simple case, where the CPU would ask the peripheral to read something, and it would then go in an infinite loop,
Many peripherals are logic blocks that doesn’t infinite loop internally. Infinite loop is a kind of software techniques and they don’t need to implement looping to do their job.
- corysama 8y agoIn both of your arguments you are disagreeing because you are not talking the same thing that the author is talking about. You are talking about what the hardware does behind the scenes. He is talking about what is going on in the software on the surface. “serial communication” should maybe be rephrased as “serialized communication and execution” in the application process.