Reactive objects

Reactive objects
复制标题

反应性对象

DOI:
--
复制
发表时间:
2002
期刊:
Proceedings Fifth IEEE International Symposium on Object-Oriented Real-Time Distributed Computing. ISIRC 2002
影响因子:
--
通讯作者:
A. Black
A. Black
中科院分区:
--
文献类型:
--
作者:
J. Nordlander;Mark P. Jones;M. Carlsson;R. Kieburtz;A. Black

文献摘要

被引文献

相似文献

面向对象,并发和基于事件的编程模型提供了一个自然框架,以表达分布式和嵌入式软件系统的行为。但是,当代编程语言仍然基于其I/O原始素的基础,该模型假定环境是由中央控制和同步的,并且通过阻止子例程呼叫进行的环境进行交互。尽管最近关注基于事件的框架和中间件,但这种观点与现实世界的天然异步之间的差距使基于事件的编程变得复杂且容易发生。在薄纸中,我们提出了一个基于事件的并发的一致模型,该模型围绕反应物体的概念。该模型可以使面向对象的范式摆脱透明阻塞的想法,自然地强制执行反应性和状态一致性,我们通过一个程序示例来说明我们的观点,该程序示例对相应的基于Java的解决方案提供了大小和简单性的显着改善。
Object-oriented, concurrent, and event-based programming models provide a natural framework in which to express the behavior of distributed and embedded software systems. However, contemporary programming languages still base their I/O primitives on a model in which the environment is assumed to be centrally controlled and synchronous, and interactions with the environment carried out through blocking subroutine calls. The gap between this view and the natural asynchrony of the real world has made event-based programming a complex and error-prone activity, despite recent focus on event-based frameworks and middleware. In thin paper we present a consistent model of event-based concurrency, centered around the notion of reactive objects. This model relieves the object-oriented paradigm from the idea of transparent blocking, and naturally enforces reactivity and state consistency We illustrate our point by a program example that offers substantial improvements in size and simplicity over a corresponding Java-based solution.