Æminium

Author:

Stork Sven1,Naden Karl1,Sunshine Joshua1,Mohr Manuel2,Fonseca Alcides3,Marques Paulo3,Aldrich Jonathan1

Affiliation:

1. Carnegie Mellon University

2. Karlsruhe Institute of Technology

3. University of Coimbra

Abstract

Writing concurrent applications is extremely challenging, not only in terms of producing bug-free and maintainable software, but also for enabling developer productivity. In this article we present the Æminium concurrent-by-default programming language. Using Æminium programmers express data dependencies rather than control flow between instructions. Dependencies are expressed using permissions, which are used by the type system to automatically parallelize the application. The Æminium approach provides a modular and composable mechanism for writing concurrent applications, preventing data races in a provable way. This allows programmers to shift their attention from low-level, error-prone reasoning about thread interleaving and synchronization to focus on the core functionality of their applications. We study the semantics of Æminium through μ Æminium, a sound core calculus that leverages permission flow to enable concurrent-by-default execution. After discussing our prototype implementation we present several case studies of our system. Our case studies show up to 6.5X speedup on an eight-core machine when leveraging data group permissions to manage access to shared state, and more than 70% higher throughput in a Web server application.

Funder

Division of Computing and Communication Foundations

CISUC

Mellon College of Science, Carnegie Mellon University

Fundação para a Ciência e a Tecnologia

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference40 articles.

1. Oracle scheduling

2. Memory models

3. Typestate-oriented programming

4. Aldrich J. Beckman N. E. Bocchino R. Naden K. Saini D. Stork S. and Sunshine J. 2012. The plaid language: Typed core specification. Tech. rep. CMU-ISR-12-103 Carnegie Mellon University. Aldrich J. Beckman N. E. Bocchino R. Naden K. Saini D. Stork S. and Sunshine J. 2012. The plaid language: Typed core specification. Tech. rep. CMU-ISR-12-103 Carnegie Mellon University.

5. Allen E. Chase D. Hallett J. Luchangco V. Maessen J. Ryu S. Steele Jr G. and Tobinhochstadt S. 2008. The fortress language specification version 1.0. Tech. rep. Sun Microsystems. Allen E. Chase D. Hallett J. Luchangco V. Maessen J. Ryu S. Steele Jr G. and Tobinhochstadt S. 2008. The fortress language specification version 1.0. Tech. rep. Sun Microsystems.

Cited by 20 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Towards generating thread-safe classes automatically;Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering;2020-12-21

2. Concise Read-Only Specifications for Better Synthesis of Programs with Pointers;Programming Languages and Systems;2020

3. A survey on the use of access permission-based specifications for program verification;Journal of Systems and Software;2020-01

4. Sip4J: Statically Inferring Access Permission Contracts for Parallelising Sequential Java Programs;2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE);2019-11

5. Leveraging rust types for modular specification and verification;Proceedings of the ACM on Programming Languages;2019-10-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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