2 ms·
Not another, pretty much the same. If you add to "goto" the required stuff to play nice with closures, you get a continuation.
by fab13n 16y ago
Not another, pretty much the same. If you add to "goto" the required stuff to play nice with closures, you get a continuation.
- blasdel 16y agoWas that Functional Completeness not obvious in my joke? Except that in this case, they're not quite as equivalent as NAND / NOR are — continuations assume a lot more "required stuff" (as you put it) than just a basic memory space, a means to test values, and the ability to set the program counter.
- eru 16y agoThat is if you approach the requirements from the implementation point of view. In theory continuations aren't really that much more complex than Gotos.