Re:Discussion: Aren't loops the only interesting code?
by georgieporgie on Thursday June 30, 2011 @05:25AM
(#2713237)
In fact, I can argue that any time we wait on a computer program to do something useful, we are in fact waiting on a loop
Plenty of things are bound by I/O. You might have to wait for a disk to spin up, or a packet to get to the other side of the world and back. Indeed, the CPU will, at some level, ultimately be running in a loop, but it's not a loop in order to get anything done, it's just blocking.
Plenty of things are bound by I/O. You might have to wait for a disk to spin up, or a packet to get to the other side of the world and back. Indeed, the CPU will, at some level, ultimately be running in a loop, but it's not a loop in order to get anything done, it's just blocking.