- 1、本文档共19页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Language primitives and type discipline for structured communication-based programming
LANGUAGE PRIMITIVES AND TYPE DISCIPLINE FOR
STRUCTURED COMMUNICATION-BASED PROGRAMMING
KOHEI HONDA?, VASCO T. VASCONCELOS?, AND MAKOTO KUBO?
Abstract. We introduce basic language constructs and a type discipline as a foun-
dation of structured communication-based concurrent programming. The constructs,
which are easily translatable into the summation-less asynchronous π-calculus, allow
programmers to organise programs as a combination of multiple flows of (possibly
unbounded) reciprocal interactions in a simple and elegant way, subsuming the pre-
ceding communication primitives such as method invocation and rendez-vous. The
resulting syntactic structure is exploited by a type discipline a? la ML, which offers
a high-level type abstraction of interactive behaviours of programs as well as guar-
anteeing the compatibility of interaction patterns between processes in a well-typed
program. After presenting the formal semantics, the use of language constructs is
illustrated through examples, and the basic syntactic results of the type discipline
are established. Implementation concerns are also addressed.
1. Introduction
Recently, significance of programming practice based on communication among pro-
cesses is rapidly increasing by the development of networked computing. From network
protocols over the Internet to server-client systems in local area networks to distributed
applications in the world wide web to interaction between mobile robots to a global
banking system, the execution of complex, reciprocal communication among multiple
processes becomes an important element in the achievement of the goals of applica-
tions. Many programming languages and formalisms have been proposed so far for the
description of software based on communication. As programming languages, we have
CSP [9], Ada [33], languages based on Actors [2], POOL [4], ABCL [39], Concurrent
Smalltalk [38], or more recently Pict and other π-calculus-based languages [7, 27, 34, 13].
As formalisms, we have
您可能关注的文档
- JAE产品手册 JN1&JN2 系列 datasheet.pdf
- James Cook University BX2072 Managing Organisational Flexibility Lecture note.ppt
- Jacket cooling water system design.pdf
- Jan Bredereke On Preventing FIs which are Shared-Control Mode Confusions, University of Bre.pdf
- Jade:An Unexpected Journey.pdf
- Jabra_Motion_CHS.pdf
- Japan Student Services Organization.pdf
- jane ayre作业.ppt
- Japanese morning glory dusky mutants displaying.pdf
- Janus_kinase.pdf
文档评论(0)