Functional Programming in Sublinear Space

  • Dal Lago U
  • Schöpp U
N/ACitations
Citations of this article
13Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

We consider the problem of functional programming with data in external memory, in particular as it appears in sublinear space computation. Writing programs with sublinear space usage often requires one to use special implementation techniques for otherwise easy tasks, e.g. one cannot compose functions directly for lack of space for the intermediate result, but must instead compute and recompute small parts of the intermediate result on demand. In this paper, we study how the implementation of such techniques can be supported by functional programming languages. Our approach is based on modeling computation by interaction using the Int construction of Joyal, Street & Verity. We derive functional programming constructs from the structure obtained by applying the Int construction to a term model of a given functional language. The thus derived functional language is formulated by means of a type system inspired by Baillot & Terui’s Dual Light Affine Logic. We assess its expressiveness by showing that it captures logspace.

Cite

CITATION STYLE

APA

Dal Lago, U., & Schöpp, U. (2010). Functional Programming in Sublinear Space (pp. 205–225). https://doi.org/10.1007/978-3-642-11957-6_12

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free