Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I write a real-time program on Java RTS that will run without change on another hardware platform?

0
Posted

Can I write a real-time program on Java RTS that will run without change on another hardware platform?

0

In short, yes — but there are caveats. Real-time Java applications that run on Java RTS for one platform are fully portable to Java RTS for any other platform, since both implement the RTSJ. However, performance characteristics might vary, or low-latency behaviors might not be possible, depending on the platform. For example, if you take a functional real-time program running on a 4-way 2.0 Ghz system and run it on a single processor or perhaps a 2-way system, the program will run, but it will be less likely to meet its real-time deadlines — simply because it might not be able to get enough work done in the specified period to satisfy the real-time system needs. Some systems, such as in many cases laptops, do not have sufficient hardware support for a high-resolution clock. This might mean that the necessary clock granularity will not be fine enough for the program to succeed. So, in these cases, while the program itself might run, the overall real-time solution might not work proper

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123