AEminium: A Permission Based Concurrent-by-Default Programming Language Approach

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 AEminium concurrent-by-default programming language. Using AEminium 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 AEminium 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 AEminium through microminium, 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 eightcore machine when leveraging data group permissions to manage access to shared state, and more than 70% higher throughput in a Web server application.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Jan 01, 2012
Accession Number
AD1019540

Entities

People

  • Alcides Fonseca
  • Jonathan Erik Aldrich
  • Joshua Sunshine
  • Karl Naden
  • Manuel Mohr
  • Paulo Marques
  • Sven Stork

Organizations

  • Carnegie Mellon University

Tags

DTIC Thesaurus Topics

  • Abstracts
  • Classification
  • Computer Programming
  • Contracts
  • Information Operations
  • Instructions
  • Language
  • Military Research
  • Monitoring
  • Productivity
  • Programming Languages
  • Security
  • Standards
  • Triangles
  • Universities
  • Words (Language)

Fields of Study

  • Computer science

Readers

  • Database Systems and Applications
  • Distributed Systems and Data Platform Development
  • Marine Ecological Systems Migration