Exceptions for Algorithmic Skeletons

10 years 2 months ago
Exceptions for Algorithmic Skeletons
Abstract. Algorithmic Skeletons offer high-level abstractions for parallel programming based on recurrent parallelism patterns. Patterns can be combined and nested into more complex parallelism behaviors. Programmers fill the skeleton patterns with the functional (business) code, which transforms the generic skeleton into a specific application. However, when the functional code generate exceptions, this exposes the programmer to details of the skeleton library, breaking the high-level abstraction principle. Furthermore, related parallel activities must be stopped as the exception is raised. This paper describes how to handle exceptions in Alc Skeletons without breaking the high-level abstractions of the programming model. We describe both the behavior of the framework in a formal way, and its implementation in Java: the Skandium Library.
Mario Leyton, Ludovic Henrio, José M. Pique
Added 09 Nov 2010
Updated 09 Nov 2010
Type Conference
Year 2010
Authors Mario Leyton, Ludovic Henrio, José M. Piquer
Comments (0)