Title :
Type Safe Algorithmic Skeletons
Author :
Caromel, Denis ; Henrio, Ludovic ; Leyton, Mario
Author_Institution :
Univ. de Nice, Nice
Abstract :
This paper addresses the issue of type safe algorithmic skeletons. From a theoretical perspective we contribute by: formally specifying a type system for algorithmic skeletons, and proving that the type system guarantees type safety. From an implementation point of view, we show how it is possible to enforce the type system on an Java based algorithmic skeleton library. The enforcement takes place at the composition of the skeleton program, by typing each skeleton with respect to its construction parameters: sequential functions, and other skeletons. As a result, hierarchical skeleton nesting can be performed safely, since type errors can be detected by the skeleton type system.
Keywords :
Java; software libraries; type theory; Java; algorithmic skeleton library; hierarchical skeleton nesting; sequential function; skeleton program; type safe algorithmic skeleton; type system; Computer languages; Functional programming; Java; Libraries; Muscles; Parallel programming; Programming profession; Runtime; Safety; Skeleton; Type systems; algorithmic skeletons;
Conference_Titel :
Parallel, Distributed and Network-Based Processing, 2008. PDP 2008. 16th Euromicro Conference on
Conference_Location :
Toulouse
Print_ISBN :
978-0-7695-3089-5
DOI :
10.1109/PDP.2008.29