JAMES LONG

Tag: continuations

Exploring Continuations: Resumable Exceptions

June 8, 2016
Today we're going to implement resumable exceptions. Common Lisp is known for this feature. Few other languages implement them, but I found an implementation for OCaml by (unsurprisingly) Kiselyov.

Implementing a Stepping Debugger in JavaScript

May 26, 2016
In my previous post I introduced Unwinder, a project which implements continuations (and stepping debuggers) in JavaScript. In this article I explain how the compiler is implemented.

What’s in a Continuation

May 17, 2016
Many people have heard the word “continuation” because it has something to do with node’s callback hell. I don’t think most people understand what continuations really are, though. They aren’t just a callback function used by async functions.