Acute: High-level programming language design for distributed computation

被引:22
|
作者
Sewell, Peter [1 ]
Leifer, James J.
Wansbrough, Keith
Nardelli, Francesco Zappa
Allen-Williams, Mair
Habouzit, Pierre
Vafeiadis, Viktor
机构
[1] Univ Cambridge, Cambridge, England
[2] INRIA Rocquencourt, Le Chesnay, France
基金
英国工程与自然科学研究理事会;
关键词
D O I
10.1017/S0956796807006442
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Existing languages provide good support for typeful programming of stand-alone programs. In a distributed system, however, there may be interaction between multiple instances of many distinct programs, sharing some (but not necessarily all) of their module structure, and with some instances rebuilt with new versions of certain modules as time goes on. In this paper, we discuss programming-language support for such systems, focussing on their typing and naming issues. We describe an experimental language, Acute, which extends an ML core to support distributed development, deployment, and execution, allowing type-safe interaction between separately built programs. The main features are (1) type-safe marshalling of arbitrary values; (2) type names that are generated (freshly and by hashing) to ensure that type equality tests suffice to protect the invariants of abstract types, across the entire distributed system; (3) expression-level names generated to ensure that name equality tests suffice for type safety of associated values, for example, values carried on named channels; (4) controlled dynamic rebinding of marshalled values to local resources; and (5) thunkification of threads and mutexes to support computation mobility. These features are a large part of what is needed for typeful distributed programming. They are a relatively lightweight extension of ML, should be efficiently implementable, and are expressive enough to enable a wide variety of distributed infrastructure layers to be written as simple library code above the byte-string network and persistent store APIs. This disentangles the language run-time from communication intricacies. This paper highlights the main design choices in Acute. It is supported by a full language definition (of typing, compilation, and operational semantics), by a prototype implementation, and by example distribution libraries.
引用
收藏
页码:547 / 612
页数:66
相关论文
共 50 条
  • [1] Acute: High-level programming language design for distributed computation
    Sewell, P
    Leifer, JJ
    Wansbrough, K
    Nardelli, FZ
    Allen-Williams, M
    Habouzit, P
    Vafeiadis, V
    [J]. ACM SIGPLAN NOTICES, 2005, 40 (09) : 15 - 26
  • [2] ON THE DESIGN OF A DISTRIBUTED OPERATING SYSTEM USING A HIGH-LEVEL DISTRIBUTED-PROGRAMMING LANGUAGE
    ARORA, RK
    SHARMA, NK
    [J]. MICROPROCESSING AND MICROPROGRAMMING, 1982, 10 (04): : 247 - 254
  • [3] NIL: A high-level language for distributed systems programming
    Parr, FN
    Strom, RE
    [J]. IBM SYSTEMS JOURNAL, 1999, 38 (2-3) : 181 - 197
  • [4] NIL - A HIGH-LEVEL LANGUAGE FOR DISTRIBUTED SYSTEMS PROGRAMMING
    PARR, FN
    STROM, RE
    [J]. IBM SYSTEMS JOURNAL, 1983, 22 (1-2) : 111 - 127
  • [5] A high-level symbolic language for distributed Web programming
    Visser, CT
    Eliëns, A
    [J]. IC'2000: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INTERNET COMPUTING, 2000, : 93 - 97
  • [6] NIL: A HIGH-LEVEL LANGUAGE FOR DISTRIBUTED SYSTEMS PROGRAMMING.
    Parr, Francis N.
    Strom, Robert E.
    [J]. 1600, (22): : 1 - 2
  • [7] ORDERED PORTS - A LANGUAGE CONCEPT FOR HIGH-LEVEL DISTRIBUTED-PROGRAMMING
    BASU, J
    PATNAIK, LM
    GOSWAMI, AK
    [J]. COMPUTER JOURNAL, 1987, 30 (06): : 487 - 497
  • [8] HIGH-LEVEL PROGRAMMING FOR DISTRIBUTED COMPUTING
    FELDMAN, JA
    [J]. COMMUNICATIONS OF THE ACM, 1979, 22 (06) : 353 - 368
  • [9] Distributed Data-Parallel Computing Using a High-Level Programming Language
    Isard, Michael
    Yu, Yuan
    [J]. ACM SIGMOD/PODS 2009 CONFERENCE, 2009, : 987 - 994
  • [10] HIGH-LEVEL LANGUAGE DESIGN
    ALLWEISS, JA
    MCCLINTOCK, JH
    [J]. DATAMATION, 1981, 27 (04): : 186 - &