Bounded Abstract Effects

Author:

Melicher Darya1ORCID,Xu Anlun1ORCID,Zhao Valerie2,Potanin Alex3,Aldrich Jonathan1ORCID

Affiliation:

1. School of Computer Science, Carnegie Mellon University, Pittsburgh, PA

2. University of Chicago, Chicago, IL, United States

3. School of Engineering and Computer Science, Victoria University of Wellington, Wellington, New Zealand

Abstract

Effect systems have been a subject of active research for nearly four decades, with the most notable practical example being checked exceptions in programming languages such as Java. While many exception systems support abstraction, aggregation, and hierarchy (e.g., via class declaration and subclassing mechanisms), it is rare to see such expressive power in more generic effect systems. We designed an effect system around the idea of protecting system resources and incorporated our effect system into the Wyvern programming language. Similar to type members, a Wyvern object can have effect members that can abstract lower-level effects, allow for aggregation, and have both lower and upper bounds, providing for a granular effect hierarchy. We argue that Wyvern’s effects capture the right balance of expressiveness and power from the programming language design perspective. We present a full formalization of our effect-system design, showing that it allows reasoning about authority and attenuation. Our approach is evaluated through a security-related case study.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference48 articles.

1. Foundations of path-dependent types

2. Abusing text editors with third-party plugins;Azouri Dor;https://go.safebreach.com/rs/535-IXZ-934/images/Abusing_Text_Editors.pdf,2018

3. Abstracting algebraic effects

4. Binders by day, labels by night: effect instances via lexically scoped handlers

5. A type and effect system for deterministic parallel Java

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3