Dominik Charousset: libcppa – Designing an Actor Semantic for C++11
- http://inet.haw-hamburg.de/events/inet-seminar/dominik-charousset-libcppa-2013-designing-an-actor-semantic-for-c-11
- Dominik Charousset: libcppa – Designing an Actor Semantic for C++11
- 2013-03-28T17:30:00+01:00
- 2013-03-28T18:30:00+01:00
- What INET Seminar
- When Mar 28, 2013 from 04:30 PM to 05:30 PM (CET / UTC100)
- Where R 460
- Contact Name Thomas Schmidt
- Add event to calendar iCal
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 vendorspecfic 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.