Issues in object-oriented real-time language design

Mehmet Aksit, Jan Bosch

    Research output: Chapter in Book/Report/Conference proceedingChapterAcademic

    41 Downloads (Pure)

    Abstract

    To express real-time applications, most real-time languages introduce specific constructs to specify features like deadlines, periodic behavior and time intervals. These constructs, in general, can be seen as annotations to conventional language structures. Object-oriented programming languages have gained popularity in non real-time applications. These languages are highly modular and provide protection through strictly encapsulated abstract data types called objects. In addition, classes and inheritance mechanisms enable programmers to reuse existing software. Recently, there have been some attempts to define real-time object-oriented languages. One motivation for introducing these languages is to reduce the complexity of applications through modularization so that predictability and reliability of applications can be increased. Secondly, inheritance mechanisms allow reuse of software modules that have well-defined behavior. This may simplify analysis for a particular real-time application. Thirdly, since object-oriented languages are now more frequently applied to software implementations, it would not be practical to adopt different languages for real-time and general parts of an application. However, there are several issues to be addressed in order to fully utilize object-orientation in real-time applications. Firstly, real-time specifications must be reused separately from the ‘application code’. This allows the reuse of classes in applications with different real-time behavior. Otherwise, changes made to the application requirements or real-time specifications in the sub-classes may result in excessive redefinitions of super-classes although this seems to be intuitively unnecessary. This we refer to as the real-time specification anomaly. Secondly, since a subclass may extend, exclude or replace the real-time specifications of its super-classes, semantics of inheritance must be clearly defined. Thirdly, there must be language mechanisms to modularly specify and reuse alternative implementations. For example, inter-object interactions often result in blocking execution threads. Blocking time can be minimized using dedicated strategies. This requires abstraction of inter-object communications and large scale synchronization among objects as first class objects. In addition, an object may adopt different implementations for its public interface. Lastly, all these language mechanisms must be uniformly integrated in a single consistent framework. We believe that the conventional object-oriented model is far too restricted to fulfil these real-time requirements. Language annotations made to conventional languages may result in real-time specification anomalies and non-uniform language constructs. At the University of Twente, we have been working on new object-oriented language mechanisms using the composition-filters approach [1]. Composition filters affect the received and sent messages to or from an object. By proper configuration of filters, one can specify inheritance, delegation, inter-object communications and “real-time constraints” in a single framework.
    Original languageEnglish
    Title of host publicationReal Time Computing
    EditorsWolfgang A. Halang, Alexander D. Stoyenko
    Place of PublicationBerlin, Heidelberg
    PublisherSpringer
    Pages510-511
    ISBN (Electronic)978-3-642-88049-0
    ISBN (Print)978-3-642-88051-3
    DOIs
    Publication statusPublished - 1994
    EventNATO Advanced Study Institute on Real Time Computing 1992 - St. Maarten, Netherlands
    Duration: 5 Oct 199217 Oct 1992

    Publication series

    NameNATO ASI Series F
    PublisherSpringer
    Volume127

    Conference

    ConferenceNATO Advanced Study Institute on Real Time Computing 1992
    CountryNetherlands
    CitySt. Maarten
    Period5/10/9217/10/92

    Fingerprint Dive into the research topics of 'Issues in object-oriented real-time language design'. Together they form a unique fingerprint.

  • Cite this

    Aksit, M., & Bosch, J. (1994). Issues in object-oriented real-time language design. In W. A. Halang, & A. D. Stoyenko (Eds.), Real Time Computing (pp. 510-511). (NATO ASI Series F; Vol. 127). Berlin, Heidelberg: Springer. https://doi.org/10.1007/978-3-642-88049-0_27