Open Access System for Information Sharing

Login Library

 

Article
Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

TYPE-SAFE HIGHER-ORDER CHANNELS WITH CHANNEL LOCALITY SCIE SCOPUS

Title
TYPE-SAFE HIGHER-ORDER CHANNELS WITH CHANNEL LOCALITY
Authors
Park, SIm, H
Date Issued
2009-01
Publisher
CAMBRIDGE UNIV PRESS
Abstract
As a means of transmitting not only data but also code encapsulated within functions, higher-order channels provide an advanced form of task parallelism in parallel computations. In the presence of mutable references, however, they pose a safety problem because references may be transmitted to remote threads where they are no longer valid. This paper presents an ML-like parallel language with type-safe higher-order channels. By type safety, we mean that no value written to a channel contains references, or equivalently, that no reference escapes via a channel from the thread where it is created. The type system uses a typing judgment that is capable of deciding whether the value to which a term evaluates contains references or not. The use of such a typing judgment also makes it easy to achieve another desirable feature of channels, channel locality, that associates every channel with a unique thread for serving all values addressed to it. Our type system permits Mutable references in sequential computations and also ensures that mutable references never interfere with parallel computations. Thus, it provides both flexibility in sequential programming and ease of implementing parallel computations.
Keywords
LANGUAGE
URI
https://oasis.postech.ac.kr/handle/2014.oak/28539
DOI
10.1017/S0956796808006989
ISSN
0956-7968
Article Type
Article
Citation
JOURNAL OF FUNCTIONAL PROGRAMMING, vol. 19, page. 107 - 142, 2009-01
Files in This Item:
There are no files associated with this item.

qr_code

  • mendeley

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

Related Researcher

Views & Downloads

Browse