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!
Table of 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.