Continuations by example: Exceptions, time-traveling search, threads, and more
1–10 of 19 posts
Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#2Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#3Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#4Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#5Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#6I always start Matt Might articles thinking "Okay, THIS is the one I'm going to understand all the way to the very end without unlearning what I just read, else I die," and alas, I have again died.
Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#7I always start Matt Might articles thinking "Okay, THIS is the one I'm going to understand all the way to the very end without unlearning what I just read, else I die," and alas, I have again died.
Me to. Level failed, but then i found this cheat code from apache and at lest i now understand basics. http://commons.apache.org/sandbox/commons-javaflow/
Full disclosure: I'm the one who built / owns the first project.
Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#8Earlier quoted context omitted.
Me to. Level failed, but then i found this cheat code from apache and at lest i now understand basics. http://commons.apache.org/sandbox/commons-javaflow/
AFAIK Javaflow's been inactive for over a decade. Newer implementations for the same concept include https://github.com/offbynull/coroutines and https://github.com/vsilaev/tascalate-javaflow/ . Full disclosure: I'm the one who built / owns the first project.
Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#9Earlier quoted context omitted.
Me to. Level failed, but then i found this cheat code from apache and at lest i now understand basics. http://commons.apache.org/sandbox/commons-javaflow/
AFAIK Javaflow's been inactive for over a decade. Newer implementations for the same concept include https://github.com/offbynull/coroutines and https://github.com/vsilaev/tascalate-javaflow/ . Full disclosure: I'm the one who built / owns the first project.
Re: Continuations by example: Exceptions, time-traveling search, threads, and more
#10I always start Matt Might articles thinking "Okay, THIS is the one I'm going to understand all the way to the very end without unlearning what I just read, else I die," and alas, I have again died.
(display
(call/cc (lambda (cc)
(display "I got here.\n")
(cc "This string was passed to the continuation.\n")
(display "But not here.\n"))))
Edit: Tried playing around with mit-scheme, but it doesn't work with the ctrl-v'ing the examples. Chezscheme does work.