Continuations: What Have They Ever Done for Us? (Experience Report)

Marc Kaufmann, Bogdan Popa

    Research output: Contribution to Book/Report typesConference contributionpeer-review

    Abstract (may include machine translation)

    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.

    Original languageEnglish
    Title of host publicationFUNARCH 2024: Proceedings of the 2nd ACM SIGPLAN International Workshop on Functional Software Architecture
    Subtitle of host publicationICFP 2024
    EditorsMichael Sperber, Perdita Stevens
    PublisherAssociation for Computing Machinery, Inc (ACM)
    Pages25-30
    Number of pages6
    ISBN (Electronic)9798400711015
    ISBN (Print)979-8-4007-1101-5
    DOIs
    StatePublished - 28 Aug 2024
    Event2nd ACM SIGPLAN International Workshop on Functional Software Architecture, FUNARCH 2024, co-located with ICFP 2024 - Milan, Italy
    Duration: 6 Sep 2024 → …

    Publication series

    NameFUNARCH 2024 - Proceedings of the 2nd ACM SIGPLAN International Workshop on Functional Software Architecture, Co-located with: ICFP 2024

    Conference

    Conference2nd ACM SIGPLAN International Workshop on Functional Software Architecture, FUNARCH 2024, co-located with ICFP 2024
    Country/TerritoryItaly
    CityMilan
    Period6/09/24 → …

    Keywords

    • Continuations
    • Racket/Scheme
    • State management
    • Web

    Fingerprint

    Dive into the research topics of 'Continuations: What Have They Ever Done for Us? (Experience Report)'. Together they form a unique fingerprint.

    Cite this