Scala actors: Unifying thread-based and event-based programming

P Haller, M Odersky - Theoretical computer science, 2009 - Elsevier
There is an impedance mismatch between message-passing concurrency and virtual
machines, such as the JVM. VMs usually map their threads to heavyweight OS processes …

Retrofitting effect handlers onto OCaml

KC Sivaramakrishnan, S Dolan, L White… - Proceedings of the …, 2021 - dl.acm.org
Effect handlers have been gathering momentum as a mechanism for modular programming
with user-defined effects. Effect handlers allow for non-local control flow mechanisms such …

A monad for deterministic parallelism

S Marlow, R Newton, S Peyton Jones - ACM SIGPLAN Notices, 2011 - dl.acm.org
We present a new programming model for deterministic parallel computation in a pure
functional language. The model is monadic and has explicit granularity, but allows dynamic …

Hefty algebras: Modular elaboration of higher-order algebraic effects

C Bach Poulsen, C Van Der Rest - Proceedings of the ACM on …, 2023 - dl.acm.org
Algebraic effects and handlers is an increasingly popular approach to programming with
effects. An attraction of the approach is its modularity: effectful programs are written against …

Kotlin coroutines: design and implementation

R Elizarov, M Belyaev, M Akhin… - Proceedings of the 2021 …, 2021 - dl.acm.org
Asynchronous programming is having its “renaissance” moment in recent years. Created in
the 1980s, it was in use for quite some time, but with the advent of multi-core processors, it …

[PDF][PDF] Events Can Make Sense.

MN Krohn, E Kohler, MF Kaashoek - USENIX Annual Technical …, 2007 - usenix.org
Tame is a new event-based system for managing concurrency in network applications. Code
written with Tame abstractions does not suffer from the “stackrip**” problem associated …

Combining events and threads for scalable network services implementation and evaluation of monadic, application-level concurrency primitives

P Li, S Zdancewic - Acm sigplan notices, 2007 - dl.acm.org
This paper proposes to combine two seemingly opposed programming models for building
massively concurrent network services: the event-driven model and the multithreaded …

Syntax and semantics for operations with scopes

M Piróg, T Schrijvers, N Wu, M Jaskelioff - … of the 33rd Annual ACM/IEEE …, 2018 - dl.acm.org
Motivated by the problem of separating syntax from semantics in programming with
algebraic effects and handlers, we propose a categorical model of abstract syntax with so …

Expressive array constructs in an embedded GPU kernel programming language

K Claessen, M Sheeran, BJ Svensson - Proceedings of the 7th workshop …, 2012 - dl.acm.org
Graphics Processing Units (GPUs) are powerful computing devices that with the advent of
CUDA/OpenCL are becomming useful for general purpose computations. Obsidian is an …

Build systems à la carte

A Mokhov, N Mitchell, S Peyton Jones - Proceedings of the ACM on …, 2018 - dl.acm.org
Build systems are awesome, terrifying--and unloved. They are used by every developer
around the world, but are rarely the object of study. In this paper we offer a systematic, and …