Continuations without copying

  • Authors:
  • Scott L. Burson

  • Affiliations:
  • Blue Space Foundation, 709 Modesto Ave., Santa Cruz CA

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

Common implementations of first-class continuations for Scheme involve copying the continuation when it is captured, when it is invoked, or both. Standard ML of New Jersey, on the other hand, creates all continuation frames in the heap to begin with; this eliminates the copying required for capture and invocation, but also gives up the optimization of using the "stack pop" operation to deallocate frames that have not been captured. In this paper, we show how to eliminate both copying steps while retaining efficient stack-wise deallocation for uncaptured flames.