Effect handlers for the masses
Open accessThe DOI matches its Crossref record; 4 of the 4 references it cites were found in a registry or an index.
Abstract
Effect handlers are a program structuring paradigm with rising popularity in the functional programming language community and can express many advanced control flow abstractions. We present the first implementation of effect handlers for Java - an imperative, object oriented programming language. Our framework consists of three core components: A type selective CPS transformation via JVM bytecode transformation, an implementation of delimited continuations on top of the bytecode transformation and finally a library for effect handlers in terms of delimited continuations.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Algebraic Operations and Generic Effects
Plotkin, G., & Power, J. (2003) · Applied Categorical Structures · doi:10.1023/a:1023064908962 · Cited by 250 · cited 1×
“Algebraic effects [Plotkin and Power 2003] in their extension with effect handlers [Plotkin and Pretnar 2009] are a program structuring paradigm, splitting programs into three parts: (1) effect signatures , that declare effect operations like for example yield to output an element of a (push-based)…”
BackgroundPlotkin, G., & Pretnar, M. (2009) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-00590-9_7 · Cited by 225 · cited 2×
“…, that call these effect operations either directly or indirectly via other effectful functions, (3) effect handlers [Bauer and Pretnar 2013; Plotkin and Pretnar 2009], that implement the effect operations, specifying what it means for example to yield, send http-requests or throw…”
BackgroundKoka: Programming with Row Polymorphic Effect Types
Leijen, D. (2014) · Electronic Proceedings in Theoretical Computer Science · doi:10.4204/eptcs.153.8 · Cited by 111
Handle with care: relational interpretation of algebraic effects and handlers
Biernacki, D., Piróg, M., Polesiuk, P., & Sieczkowski, F. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3158096 · Cited by 45 · cited 1×
“Explicitly selecting which handler to use also avoids the problem of effect encapsulation [Biernacki et al. 2017; Lindley 2018], that is, handlers accidentally handle effects.”
Background
Cited by
Binders by day, labels by night: effect instances via lexically scoped handlers
Biernacki, D., Piróg, M., Polesiuk, P., & Sieczkowski, F. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3371116 · Cited by 46
“It is a first such calculus in “direct stylež (that is, similar to the core calculi of Koka [Leijen 2017c] and Links [Hillerström and Lindley 2016]), as opposed to the previous “handler-passingž approach [Brachthäuser et al. 2018; Zhang and Myers 2019].”
BackgroundResultAbstraction-safe effect handlers via tunneling
Zhang, Y., & Myers, A. C. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290318 · Cited by 45
CONVENT, L., LINDLEY, S., MCBRIDE, C., & MCLAUGHLIN, C. (2020) · Journal of Functional Programming · doi:10.1017/s0956796820000039 · Cited by 39
“These incorporate effect type systems not dissimilar to those of Kammar et al.’s Haskell library, encoded via Java classes in place of type classes.”
BackgroundInfluentialFirst class dynamic effect handlers: or, polymorphic heaps with dynamic effect handlers
Leijen, D. (2018) · Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development · doi:10.1145/3240719.3241789 · Cited by 3
Metadata
- Authors
- Brachthäuser, J. I., Schuster, P., & Ostermann, K.
- Venue
- Proceedings of the ACM on Programming Languages
- Published
- 2018-10-24
- Volume
- 2
- Issue
- OOPSLA
- Pages
- 1-27
- ISSN
- 2475-1421 (ISSN-L)
- OpenAlex
- W2898332157
- Cited by
- 26
- References
- 4
- FWCI
- 1.56
- Type
- journal article
- Language
- en
- Open access
- diamond
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Effect handlers for the masses. https://app.cochat.ai/papers/10.1145/3276481
- The paper
- Brachthäuser, J. I., Schuster, P., & Ostermann, K. (2018). Effect handlers for the masses. Proceedings of the ACM on Programming Languages. https://doi.org/10.1145/3276481
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.