mirror of
https://github.com/dhil/phd-dissertation
synced 2026-03-13 11:08:25 +00:00
Begin paragraph on CPS
This commit is contained in:
@@ -2339,7 +2339,14 @@ slight variation of segmented stacks optimised for one-shot
|
|||||||
continuations, which has been adapted by Multicore
|
continuations, which has been adapted by Multicore
|
||||||
OCaml~\cite{DolanEHMSW17}.
|
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}
|
% \paragraph{Continuation marks}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user