Java Effekt

Java Effekt shows how to integrate lexical effect handlers into a main stream language like Java. The library is designed to only uses simple type system features such as generics in order to integrate well with Java and its programming idioms.

The combination of Effect handlers and Java gives rise to interesting modularization techniques. For instance, interface composition can be used to structure and reuse handler implementations.

Effect handlers in Java Effekt are efficiently implemented by a type selective bytecode transformation. The translated programs use a separate, immutable runtime stack. We implement delimited continuations and eventually effect handlers as libraries in terms of this separate stack interface.

Related Publications

Effect Handlers for the Masses

by Jonathan Immanuel Brachthäuser, Philipp Schuster, and Klaus Ostermann

In Proc. ACM Program. Lang. 2(OOPSLA). Association for Computing Machinery, 2018.

Learn More

Publications

Effect Handlers for the Masses

by Jonathan Immanuel Brachthäuser, Philipp Schuster, and Klaus Ostermann

In Proc. ACM Program. Lang. 2(OOPSLA). Association for Computing Machinery, 2018.

Learn More