comp.lang.ada
 help / color / mirror / Atom feed
From: Richard Riehle <rriehle@nunic.nu.edu>
Subject: Re: Can OO be successful in real-time embedded systems?
Date: 1996/05/07
Date: 1996-05-07T00:00:00+00:00	[thread overview]
Message-ID: <Pine.GSO.3.92.960507174144.4274D-100000@nunic.nu.edu> (raw)
In-Reply-To: 4mhh3m$h8m@globe.indirect.com


On 5 May 1996, Paul Carlton wrote:

> Absolutely!!!  And recommended!!!
>
> We have a full-blown real-time predictive dialer designed with
> Raumbaugh/CRC techniques and implemented in c++.  Runs like a
> screaming demon!!

  Agree.  Used carefully, and selectively, object technology can be
  an excellent approach to embedded systems.  The question is whether
  all aspects of OO technology are appropriate.

  Also, OO technology has been used on countless Ada embedded,
  real-time, safety-critical projects for years.  In fact, this
  has been a niche market for Ada in which OO has achieved a fair
  amount of respectability.

  The new Ada 95 standard raises the ante, and makes OO technology even
  more attractive for embedded systems.  Already, OOP projects, using
  Ada 95, are in process in both the defense and non-defense domain.

  A key question for Ada developers has been the reliability associated
  with dynamic binding.  That issue comes in two flavors.  1) Is it
  possible to dynamically invoke a wrong or non-existent method, 2) Can we
  predict with certaintly that we will always meet hard deadlines.  The
  first issue is easily accomodated under the rules of the new Ada
  standard.  The second is more difficult.  Since a method is selected
  at run-time, it is impossible to guarantee the deterministic properties
  one requires for hard, real-time schedules.

  The consequence of the above issue is that many embedded systems
  developers approach dynamic polymorphism with great caution -- even
  avoid it altogether. Fortunately, for those of us in the Ada community,
  we can benefit from all the other capabilities of OOP, such as
  inheritance and encapsulation,  while choosing to not to use dynamic
  polymorphism when it could be dangerously non-deterministic.

  Richard Riehle





  parent reply	other threads:[~1996-05-07  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <316BF0C5.1FE1@condat.de>
1996-04-11  0:00 ` Can OO be successful in real-time embedded systems? Jon S Anthony
     [not found] ` <RMARTIN.96Apr11113222@rcm.oma.com>
     [not found]   ` <31749A27.3949@ag01.kodak.COM>
     [not found]     ` <4lggff$r56@gaia.ns.utk.edu>
     [not found]       ` <4mhh3m$h8m@globe.indirect.com>
1996-05-07  0:00         ` Richard Riehle [this message]
     [not found] <m0uHHBP-0000ztC@crash.cts.com>
1996-05-09  0:00 ` Robert A Duff
1996-05-09  0:00   ` Ken Garlington
1996-05-09  0:00     ` Robert A Duff
1996-05-10  0:00       ` Ken Garlington
1996-05-09  0:00     ` Richard Riehle
1996-05-10  0:00       ` Robert A Duff
1996-05-13  0:00         ` Richard Riehle
1996-05-09  0:00 ` Jon S Anthony
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox