Closures and continuations
3rd April 2003
Thanks to Dan Sugalski (designer of Parrot, the next generation Perl VM) I finally understand what continuations and closures actually are. He explains them as part of a comparison between the forthcoming Parrot and two popular virtual machines already in existence:
- (Perl|python|Ruby) on (.NET|JVM) leads in to the explanation.
- The reason for Parrot, part 2 explains closures.
- Continuations and VMs explains continuations.
- Continuations and VMs, part 2 rounds things off by explaining why the JVM and the CLR are unsuitable environments for supporting these language features.
More recent articles
- Reverse engineering some updates to Claude - 31st July 2025
- Trying out Qwen3 Coder Flash using LM Studio and Open WebUI and LLM - 31st July 2025
- My 2.5 year old laptop can write Space Invaders in JavaScript now, using GLM-4.5 Air and MLX - 29th July 2025