English

The (In)Efficiency of Interaction

Programming Languages 2020-10-27 v1 Logic in Computer Science

Abstract

Evaluating higher-order functional programs through abstract machines inspired by the geometry of the interaction is known to induce space\textit{space} efficiencies, the price being time\textit{time} performances often poorer than those obtainable with traditional, environment-based, abstract machines. Although families of lambda-terms for which the former is exponentially less efficient than the latter do exist, it is currently unknown how \emph{general} this phenomenon is, and how far the inefficiencies can go, in the worst case. We answer these questions formulating four different well-known abstract machines inside a common definitional framework, this way being able to give sharp results about the relative time efficiencies. We also prove that non-idempotent intersection type theories are able to precisely reflect the time performances of the interactive abstract machine, this way showing that its time-inefficiency ultimately descends from the presence of higher-order types.

Keywords

Cite

@article{arxiv.2010.12988,
  title  = {The (In)Efficiency of Interaction},
  author = {Beniamino Accattoli and Ugo Dal Lago and Gabriele Vanoni},
  journal= {arXiv preprint arXiv:2010.12988},
  year   = {2020}
}
R2 v1 2026-06-23T19:37:19.688Z