4 ms·
Conditional Jump: Another Control Flow Construct to Rule Them All
by blasdel 17y ago
Conditional Jump: Another Control Flow Construct to Rule Them All
- fab13n 17y agoNot another, pretty much the same. If you add to "goto" the required stuff to play nice with closures, you get a continuation.
- blasdel 17y 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 17y 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.