Continuations: What Have They Ever Done for Us? (Experience Report)
<|reference_start|>Continuations: What Have They Ever Done for Us? (Experience Report): Surveys and experiments in economics involve stateful interactions: participants receive different messages based on earlier answers, choices, and performance, or trade across many rounds with other participants. In the design of Congame, a platform for running such economic studies, we decided to use delimited continuations to manage the common flow of participants through a study. Here we report on the positives of this approach, as well as some challenges of using continuations, such as persisting data across requests, working with dynamic variables, avoiding memory leaks, and the difficulty of debugging continuations.<|reference_end|>
@article{kaufmann2024continuations:,
    title={Continuations: What Have They Ever Done for Us? (Experience Report)},
    author={Marc Kaufmann, Bogdan Popa},
    journal={FUNARCH 2024: Proceedings of the 2nd ACM SIGPLAN International
  Workshop on Functional Software Architecture},
    year={2024},
    doi={10.1145/3677998.3678223},
    archivePrefix={arXiv},
    eprint={2408.17001},
    primaryClass={cs.SE}
}