December 14th, 2012, 3:34 pm
QuoteOriginally posted by: Traden4AlphaQuoteOriginally posted by: CuchulainnSay you're in the kitchen in front of the refrigerator, thinking about a sandwich. You take a continuation right there and stick it in your pocket. Then you get some turkey and bread out of the refrigerator and make yourself a sandwich, which is now sitting on the counter. You invoke the continuation in your pocket, and you find yourself standing in front of the refrigerator again, thinking about a sandwich. But fortunately, there's a sandwich on the counter, and all the materials used to make it are gone. So you eat it.Bread-safe computing, what?Next time I want my bread buttered on both sides and no turkey (poor animals), give me a chicken any day. Since everything is stateless there are no race conditions. So, with these generic constructs I can add continuation semantics into sequential programs using C++. So, you could have a graph whose nodes are updated with turkey and mayonaise.
Last edited by
Cuchulainn on December 14th, 2012, 11:00 pm, edited 1 time in total.