assembly - What's the difference between a Continuation (as in Smalltalk) and an interrupt (as in an Assembler)? -
I am struggling to understand the concept of continuity (as in Shiatad with Smalltalk). A snippet from Wikipedia says:
"... look at the first-class releases, which is to save a programming language at any point in the execution position and to return to that point. Capability gives the program a point at a later point ... "
Is not there an other way of expressing an embedding programmer when programming an interrupt? Or I completely disappear!
A continuation can be viewed as a snapshot copy of the process of running. Capturing a continuation means that the current process has been copied and kept on one side. After this, the code continues to run normally. Evaluating continuity means that the current process has been abolished and one copied has been restarted, which was captured. Generally it can be started several times again.
An interval is more like a choreotyine, where there are two separate execution threads (application code, the interface handler), which is to suppress each other.
Comments
Post a Comment