Skip to content
0:00 / 0:00

#algebraiceffects#koka#delimitedcontinuations

Efficient Compilation of Algebraic Effect Handlers - Ningning Xie

ETH WSCR

421 subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Ningning Xie

Advanced. Deep dive for people who know the field.

4K views4 years ago1 recommendation

Programming languagesSystems programmingCompilers and interpretersLanguage design and type systems

Ningning Xie presents compilation techniques for algebraic effect handlers as implemented in the Koka programming language.

Workshop on Dependable and Secure Software Systems 2021 Real-world programs come with side effects and complex control flows. How to compose different computational effects? How to handle effects differently according to applications? Algebraic effects and handlers provide a powerful and flexible way to add structured computational effects to programming languages. Unfortunately, it is not straightforward to compile effect handlers into efficient code: effect operations are generally able to capture- and resume a delimited continuation, which usually requires special runtime support to do efficiently. In this talk, I will present efficient compilation techniques for algebraic effect handlers as implemented in the Koka programming language, a function-oriented language with effect inference which is being actively developed at Microsoft Research.

Why it's here

1 person recommends this

What people say. Recommended as an excellent deep dive into the compilation and runtime performance of algebraic effects.

Moments people linked to

u/typesanitizerin r/ProgrammingLanguages • Recommends

Efficient Compilation of Algebraic Effect Handlers - Ningning Xie
68View on Reddit