Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Continuations Made Simple and Illustrated (uni-saarland.de)
29 points by vorador on Feb 21, 2010 | hide | past | favorite | 5 comments



This is a great article. Continuations are rarely understood, which is unfortunate, given their power.

I wrote an article for my compilers class that gives examples of how to use continuations (in Scheme):

http://matt.might.net/articles/programming-with-continuation...

It covers basic stuff like exceptions and back-tracking search, and more advanced topics like threads, generators and coroutines.


I wrote an article awhile back on continuations in Sleep:

http://today.java.net/pub/a/today/2008/07/24/fun-with-contin...

I don't find a need for them in AtD (my current project), but when I was doing distributed systems work they were very valuable to me.


On the other hand, see here for continuations made complicated: http://okmij.org/ftp/Computation/Continuations.html


I'd say this is more continuations in practical applications than purely complicated.


Note to the reader: Illustrated does not mean pictorially.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: