1
0
mirror of https://github.com/dhil/phd-dissertation synced 2026-03-12 18:48:25 +00:00

Begin paragraph on CPS

This commit is contained in:
2020-12-02 00:03:51 +00:00
parent aaf6e3d9f0
commit 326b1f1a50

View File

@@ -2339,7 +2339,14 @@ slight variation of segmented stacks optimised for one-shot
continuations, which has been adapted by Multicore
OCaml~\cite{DolanEHMSW17}.
\dhil{TODO: CPS and abstract machines}
\dhil{TODO: abstract machines}
Continuation passing style (CPS) is a particular idiomatic notation
for programs, where every aspect of control flow is made explicit,
which makes it a good fit for implementing control abstractions.
%
Using trampolines CPS is even a viable strategy in environments that
lack proper tail calls such as JavaScript~\cite{GanzFW99}.
% \paragraph{Continuation marks}