JPL Technical Report Server

Hard real-time : C++ versus RTSJ

Show simple item record

dc.contributor.author Dvorak, Daniel L.
dc.contributor.author Reinholtz, William K
dc.date.accessioned 2011-09-02T21:35:17Z
dc.date.available 2011-09-02T21:35:17Z
dc.date.issued 2004-10-24
dc.identifier.citation Conference on Onject Oriented Programming Systems Languages and Applications, Vancouver, British Columbia, Canada, October 24-28, 2004, en_US
dc.identifier.clearanceno 04-2432
dc.identifier.uri http://hdl.handle.net/2014/41809
dc.description.abstract In the domain of hard real-time systems, which language is better: C++ or the Real-Time Specification for Java (RTSJ)? Although ordinary Java provides a more productive programming environment than C++ due to its automatic memory management, that benefit does not apply to RTSJ when using NoHeapRealtimeThread and non-heap memory areas. As a result, RTSJ programmers must manage non-heap memory explicitly. While that's not a deterrent for veteran real-time programmers-where explicit memory management is common-the lack of certain language features in RTSJ (and Java) makes that manual memory management harder to accomplish safely than in C++. This paper illustrates the problem for practitioners in the context of moving data and managing memory in a real-time producer/consumer pattern. The relative ease of implementation and safety of the C++ programming model suggests that RTSJ has a struggle ahead in the domain of hard real-time applications, despite its other attractive features. en_US
dc.description.sponsorship NASA/JPL en_US
dc.language.iso en_US en_US
dc.publisher Pasadena, CA : Jet Propulsion Laboratory, National Aeronautics and Space Administration, 2004. en_US
dc.subject programming language en_US
dc.subject programming model en_US
dc.subject real-time en_US
dc.subject design en_US
dc.subject experimentation en_US
dc.title Hard real-time : C++ versus RTSJ en_US
dc.type Preprint en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search


Browse

My Account