| Naslov: | Simplifying explicit subtyping coercions in a polymorphic calculus with effects |
|---|
| Avtorji: | ID Koprivec, Filip (Avtor) ID Pretnar, Matija (Avtor) |
| Datoteke: | PDF - Predstavitvena datoteka, prenos (780,38 KB) MD5: 346ED72C20699A7B3F2E936027132DB1
URL - Izvorni URL, za dostop obiščite https://lmcs.episciences.org/17009
|
|---|
| Jezik: | Angleški jezik |
|---|
| Tipologija: | 1.01 - Izvirni znanstveni članek |
|---|
| Organizacija: | IMFM - Inštitut za matematiko, fiziko in mehaniko
|
|---|
| Povzetek: | Algebraic effect handlers are becoming an increasingly popular way of structuring 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 into additional arguments of compiled functions, incurring significant overhead. In this paper, we present a polymorphic effectful calculus, identify simplification phases needed to reduce the number of unnecessary constraints, and prove that they preserve semantics. In addition, we implement the simplification algorithm in the Eff language and evaluate its performance on a number of benchmarks. Though we do not prove the optimality of the presented simplifications, the results show that the algorithm eliminates all coercions, resulting in code as efficient as manually monomorphised one. |
|---|
| Ključne besede: | computational effects, optimizing compilation, algebraic effects, polymorphic compilation, subtyping, denotational semantics |
|---|
| Status publikacije: | Objavljeno |
|---|
| Verzija publikacije: | Objavljena publikacija |
|---|
| Datum objave: | 01.01.2025 |
|---|
| Leto izida: | 2025 |
|---|
| Št. strani: | str. 25:1-25:40 |
|---|
| Številčenje: | Vol. 21, iss. 4, article no. 25 |
|---|
| PID: | 20.500.12556/DiRROS-27768  |
|---|
| UDK: | 004.43:510.6 |
|---|
| ISSN pri članku: | 1860-5974 |
|---|
| DOI: | 10.46298/lmcs-21(4:25)2025  |
|---|
| COBISS.SI-ID: | 269472003  |
|---|
| Opomba: |
|
|---|
| Datum objave v DiRROS: | 24.02.2026 |
|---|
| Število ogledov: | 161 |
|---|
| Število prenosov: | 43 |
|---|
| Metapodatki: |  |
|---|
|
:
|
Kopiraj citat |
|---|
| | | | Objavi na: |  |
|---|
Postavite miškin kazalec na naslov za izpis povzetka. Klik na naslov izpiše
podrobnosti ali sproži prenos. |