Skip to main content

Showing 1–4 of 4 results for author: Hillerström, D

Searching in archive cs. Search in all archives.
.
  1. arXiv:2308.08347  [pdf, ps, other

    cs.PL

    Continuing WebAssembly with Effect Handlers

    Authors: Luna Phipps-Costin, Andreas Rossberg, Arjun Guha, Daan Leijen, Daniel Hillerström, KC Sivaramakrishnan, Matija Pretnar, Sam Lindley

    Abstract: WebAssembly (Wasm) is a low-level portable code format offering near native performance. It is intended as a compilation target for a wide variety of source languages. However, Wasm provides no direct support for non-local control flow features such as async/await, generators/iterators, lightweight threads, first-class continuations, etc. This means that compilers for source languages with such fe… ▽ More

    Submitted 13 September, 2023; v1 submitted 16 August, 2023; originally announced August 2023.

  2. Soundly Handling Linearity

    Authors: Wenhao Tang, Daniel Hillerström, Sam Lindley, J. Garrett Morris

    Abstract: We propose a novel approach to soundly combining linear types with effect handlers. Linear type systems statically ensure that resources such as file handles are used exactly once. Effect handlers provide a modular programming abstraction for implementing features ranging from exceptions to concurrency. Whereas linear type systems bake in the assumption that continuations are invoked exactly once,… ▽ More

    Submitted 2 January, 2024; v1 submitted 18 July, 2023; originally announced July 2023.

    Comments: 51 pages, accepted for POPL 2024

  3. Structural Subty** as Parametric Polymorphism

    Authors: Wenhao Tang, Daniel Hillerström, James McKinna, Michel Steuwer, Ornela Dardha, Rongxiao Fu, Sam Lindley

    Abstract: Structural subty** and parametric polymorphism provide similar flexibility and reusability to programmers. For example, both features enable the programmer to provide a wider record as an argument to a function that expects a narrower one. However, the means by which they do so differs substantially, and the precise details of the relationship between them exists, at best, as folklore in literat… ▽ More

    Submitted 11 September, 2023; v1 submitted 17 April, 2023; originally announced April 2023.

    Comments: 47 pages, accepted by OOPSLA 2023

  4. Effects for Efficiency: Asymptotic Speedup with First-Class Control

    Authors: Daniel Hillerström, Sam Lindley, John Longley

    Abstract: We study the fundamental efficiency of delimited control. Specifically, we show that effect handlers enable an asymptotic improvement in runtime complexity for a certain class of functions. We consider the generic count problem using a pure PCF-like base language $λ_b$ and its extension with effect handlers $λ_h$. We show that $λ_h$ admits an asymptotically more efficient implementation of generic… ▽ More

    Submitted 13 July, 2020; v1 submitted 1 July, 2020; originally announced July 2020.

    Journal ref: Proc. ACM Program. Lang., Vol. 4, No. ICFP, Article 100, August 2020