3 ms·
> You have two computers with the same program running on the same exact same inputs—so totally deterministic. You pause one of them at an arbitrary point in it
by pjc50 8y ago
> You have two computers with the same program running on the same exact same inputs—so totally deterministic. You pause one of them at an arbitrary point in its execution. What data would you need to send to the other computer to be able to stop it exactly as far along as the first one was?
What Dijkstra is really getting at here is that there is an "approximate computer" in the programmer's head whenever they are reasoning about the program, and that minimising the amount of information that needs to be transferred into the programmer's head (and keeping it local, rather than scattered about the program!) helps hugely.
- skybrian 8y agoI think he might also have been thinking about how to prove a program correct? To do that in imperative code, it might be useful to have some concept of a program location that's rigorous enough to represent mathematically.