Abstract

Dominik Charousset, Thomas C. Schmidt,
libcppa - Designing an Actor Semantic for C++11,
In: Proc. of C++Now, May 2013.
[BibTeX][Abstract]

Abstract: Parallel hardware makes concurrency mandatory for efficient program execution. However, writing concurrent software is both challenging and error-prone. C++11 provides standard facilities for multiprogramming, such as atomic operations with acquire/release semantics and RAII mutex locking, but these primitives remain too low-level. Using them both correctly and efficiently still requires expert knowledge and hand-crafting. The actor model replaces implicit communication by sharing with an explicit message passing mechanism. It applies to concurrency as well as distribution, and a lightweight actor model implementation that schedules all actors in a properly pre-dimensioned thread pool can outperform equivalent thread-based applications. However, the actor model did not enter the domain of native programming languages yet besides vendor-specific island solutions. With the open source library libcppa, we want to combine the ability to build reliable and distributed systems provided by the actor model with the performance and resource-efficiency of C++11.

Themes: Distributed Programming

 


This page generated by bibTOhtml on Sun 22 Dec 2024 12:05:05 AM UTC