Simplifying explicit subtyping coercions in a polymorphic calculus with effects

Filip Koprivec,Matija Pretnar
2024-04-06
Abstract:Algebraic effect handlers are becoming increasingly popular way of structuring and reasoning about effectful computations, and their performance is often a concern. One of the proposed approaches towards efficient compilation is tracking effect information through explicit subtyping coercions. However, in the presence of polymorphism, these coercions are compiled to additional arguments of compiled functions, incurring significant overhead.
Programming Languages
What problem does this paper attempt to address?