Hacker News new | ask | show | jobs
by sillysaurus3 2863 days ago
Not quite true. You can serialize a closure. Emacs lisp does so in a pretty interesting way: a closure is just `(closure ((a . 1) (b . 2)) (lambda (x) (+ x a b)))`.

The point is, if you can serialize closures, I think you can serialize continuations.

1 comments

And how does this work if it involves an open file handle, or some other non serializable state?