KLAIM: A kernel language for agents interaction and mobility

被引:275
作者
De Nicola, R
Ferrari, GL
Pugliese, R
机构
[1] Univ Florence, Dipartimento Sistemi & Informat, I-50134 Florence, Italy
[2] Univ Pisa, Dipartimento Informat, I-56100 Pisa, Italy
关键词
programming languages; mobile code languages; semantics of programming languages; language design; coordination models;
D O I
10.1109/32.685256
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We investigate the issue of designing a kernel programming language for mobile computing and describe KLAIM, a language that supports a programming paradigm where processes, like data, can be moved from one computing environment to another. The language consists of a core Linda with multiple tuple spaces and of a set of operators for building processes. KLAIM naturally supports programming with explicit localities. Localities are first-class data (they can be manipulated like any other data), but the language provides coordination mechanisms to control the interaction protocols among located processes. The formal operational semantics is useful for discussing the design of the language and provides guidelines for implementations. KLAIM is equipped with a type system that statically checks access rights violations of mobile agents. Types are used to describe the intentions (read, write, execute, etc.) of processes in relation to the various localities. The type system is used to determine the operations that processes want to perform at each locality, and to check whether they comply with the declared intentions and whether they have the necessary rights to perform the intended operations at the specific localities. Via a series of examples, we show that many mobile code programming paradigms can be naturally implemented in our kernel language. We also present a prototype implementaton of KLAIM in Java.
引用
收藏
页码:315 / 330
页数:16
相关论文
共 41 条
[1]  
Abadi M., 1997, P 4 ACM C COMP COMM
[2]  
Amadio RM, 1994, LECT NOTES COMPUT SC, V880, P205
[3]  
[Anonymous], 1983, DOMAINS
[4]  
Arnold Ken., 1996, The Java Programming Language
[5]   THE CHEMICAL ABSTRACT MACHINE [J].
BERRY, G ;
BOUDOL, G .
THEORETICAL COMPUTER SCIENCE, 1992, 96 (01) :217-248
[6]  
BETTINI L, 1998, PROGETTO REALIZZAZIO
[7]  
BOUDOL G, 1993, THEORETICAL COMPUTER, V114
[8]   A LANGUAGE WITH DISTRIBUTED SCOPE [J].
CARDELLI, L .
COMPUTING SYSTEMS, 1995, 8 (01) :27-59
[9]  
Cardelli L, 1998, LECT NOTES COMPUT SC, V1378, P140, DOI 10.1007/BFb0053547
[10]  
CARDELLI L, 1996, GLOBAL COMPUTATION M