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 条
[31]   INTELLIGENT TOOLS AUTOMATE HIGH-LEVEL LANGUAGE PROGRAMMING [J].
HINDIN, HJ .
COMPUTER DESIGN, 1986, 25 (10) :45-56
[32]   A THEORETICAL-MODEL OF A HIGH-LEVEL PROGRAMMING LANGUAGE [J].
FALK, VN .
PROGRAMMING AND COMPUTER SOFTWARE, 1987, 13 (04) :139-146
[33]   Liquidsoap: A High-Level Programming Language for Multimedia Streaming [J].
Baelde, David ;
Beauxis, Romain ;
Mimram, Samuel .
SOFSEM 2011: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2011, 6543 :99-110
[34]   AN EXERCISE IN HIGH-LEVEL LANGUAGE ARCHITECTURE DESIGN [J].
THAZHUTHAVEETIL, MJ .
PROCEEDINGS OF THE TWENTY-FIRST, ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, VOLS 1-4: ARCHITECTURE TRACK, SOFTWARE TRACK, DECISION SUPPORT AND KNOWLEDGE BASED SYSTEMS TRACK, APPLICATIONS TRACK, 1988, :50-58
[35]   A HIGH-LEVEL LANGUAGE FOR DESIGN AND MODELING OF HARDWARE [J].
NAVABI, Z .
JOURNAL OF SYSTEMS AND SOFTWARE, 1992, 18 (01) :5-18
[36]   THE DESIGN AND IMPLEMENTATION OF A HIGH-LEVEL LANGUAGE CONVERTER [J].
MOYNIHAN, VD ;
WALLIS, PJL .
SOFTWARE-PRACTICE & EXPERIENCE, 1991, 21 (04) :391-400
[37]   Mediated Transfer from Visual to High-level Programming Language [J].
Krpan, D. ;
Mladenovic, S. ;
Zaharija, G. .
2017 40TH INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO), 2017, :800-805
[38]   HIGH-LEVEL LANGUAGE EXTENSIONS FOR USER-INTERFACE PROGRAMMING [J].
LAFUENTE, JM .
SOFTWARE ENGINEERING JOURNAL, 1992, 7 (06) :409-424
[39]   PROGRAMMING MICROPROCESSORS WITH A HIGH-LEVEL LANGUAGE THE CASE OF PASCAL/64000 [J].
HASSAN, T ;
ELDHAHER, AWG .
MICROPROCESSORS AND MICROSYSTEMS, 1983, 7 (04) :169-172
[40]   ElGolog: A High-Level Programming Language with Memory of the Execution History [J].
De Giacomo, Giuseppe ;
Lesperance, Yves ;
Ternovska, Eugenia .
THIRTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THE THIRTY-SECOND INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE AND THE TENTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2020, 34 :2806-2813