Saved in:
Bibliographic Details
Main Authors: Kaufmann, Marc, Popa, Bogdan
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.17001
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929479250608128
author Kaufmann, Marc
Popa, Bogdan
author_facet Kaufmann, Marc
Popa, Bogdan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_17001
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Continuations: What Have They Ever Done for Us? (Experience Report)
Kaufmann, Marc
Popa, Bogdan
Software Engineering
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.
title Continuations: What Have They Ever Done for Us? (Experience Report)
topic Software Engineering
url https://arxiv.org/abs/2408.17001