Topic: c++ and real-time???


Author: skip@taygeta.oc.nps.navy.mil (Skip Carter)
Date: 4 Oct 91 22:27:38 GMT
Raw View
In article <26471@imag.imag.fr>, bessiere@imag.fr (Pierre Bessiere) writes:
|> We are willing to develop a sensor simulator in order to test embedded
|> .....
|> ....  C++ must be used. So the issue is: C++ is NOT at the time being
|> a real-time language. This raise some tricky questions:
|>
|>  - Availability of Real Time oriented C++ class (process class,
|>    asynchronous message receive/sender class, ...)?
|>
|>  - Orthogonality between inheritance and Real Time features?
|>
|>  - Parallel oriented AND object-oriented design methods?
|>
|>

 C++ and real time will be an interesting (as in the Chinese proverb) combination.
In addition to the issues noted above you also have:

 -- The implicit invocation of constructors when temporaries are created

 -- compiler depenedent ordering of initialization of inherited classes

 -- implicit type conversions via inheritance

 -- maintaining real-time timing with polymorphic objects (i.e. late binding)

 Not necessarily impossible (actually I'd like to see it happen),  just interesting...

--
   Everett (Skip) Carter  Phone:  408-646-3318 FAX: 408-646-2712
   Naval Postgraduate School         INTERNET: skip@taygeta.oc.nps.navy.mil
   Dept. of Oceanography, Code OC/CR    UUCP:     ...!uunet!taygeta!skip
   Monterey, CA. 93943                  TELEMAIL: s.carter/omnet




Author: bessiere@imag.fr (Pierre Bessiere)
Date: 4 Oct 91 16:05:17 GMT
Raw View
We are willing to develop a sensor simulator in order to test embedded
realtime systems. Due to high performances needed, we have to target
real-time operating system (Lynx for instance). Due to normalization
constraints, C++ must be used. So the issue is: C++ is NOT at the time being
a real-time language. This raise some tricky questions:

 - Availability of Real Time oriented C++ class (process class,
   asynchronous message receive/sender class, ...)?

 - Orthogonality between inheritance and Real Time features?

 - Parallel oriented AND object-oriented design methods?

Any answers to theses questions will be a great help!

As ususal, please answer to my personnal E-mail adress (bessiere@imag.imag.fr),
I will gather the answers and send this material to the concerned news-groups.