What Does "With Continuation" Mean? (2020)
forum.snap.berkeley.edu
What Does "With Continuation" Mean? (2020)
1–10 of 60 posts
Re: What Does "With Continuation" Mean? (2020)
#2Re: What Does "With Continuation" Mean? (2020)
#3Re: What Does "With Continuation" Mean? (2020)
#4Re: What Does "With Continuation" Mean? (2020)
#5Re: What Does "With Continuation" Mean? (2020)
#6Re: What Does "With Continuation" Mean? (2020)
#7Here's Oleg's great explanation of continuations in terms most programmers already understand: https://blog.moertel.com/posts/2008-05-05-olegs-great-way-of...
Re: What Does "With Continuation" Mean? (2020)
#8I'm just happy to see Professor Harvey still participating in the forums. He taught me SICP in Scheme 27 years ago and it is still some of the most important computer science I ever learned.
Re: What Does "With Continuation" Mean? (2020)
#9When I think back to my days of mucking around with call/cc my main emotion is relief that I’ve forgotten how it works. It’s a load off my mind
Re: What Does "With Continuation" Mean? (2020)
#10I took a Scheme programming class where we did tons of stuff with continuations. I got obsessed and wrote all kinds of weird code. I even started using continuation passing style in Python. It was a dark time. Looking back, none of that code makes any sense at all. When I think back to my days of mucking around with call/cc my main emotion is relief that I’ve forgotten how it works. It’s a load off my mind
For example, say you have a really hairy AI search algorithm, capturing a continuation happens to make backtracking easier.
Or you're implementing another language or DSL in Scheme, and you use first-class continuations to implement some control structure semantics exactly how you want them to be.
I think the closest I've used, in writing maybe a hundred modules, is an escape procedure (like a premature `return` statement in many other languages, which you generally avoid in idiomatic Scheme).