Reactive objects
Reactive objects
复制标题
反应性对象
DOI:
--
复制
发表时间:
2002
期刊:
影响因子:
--
通讯作者:
A. Black
中科院分区:
文献类型:
--
作者:
J. Nordlander;Mark P. Jones;M. Carlsson;R. Kieburtz;A. Black
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.