Safe-for-Space Threads in Standard ML

  • Authors:
  • Edoardo Biagioni;Ken Cline;Peter Lee;Chris Okasaki;Chris Stone

  • Affiliations:
  • School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213;School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213;School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213;School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213;School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213

  • Venue:
  • Higher-Order and Symbolic Computation
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

Threads can easily be implemented using first-class continuations, but the straightforward approaches for doing so lead to space leaks,especially in a language with exceptions like Standard ML. We showhow these space leaks arise and give a new implementation for threadsthat is safe for space.