Examples

I am a new user to all RTOS’s. Does anyone have or know where I could find
some example code? Also, I feel as though I should code in C/C++ rather
than Java, but I would prefer Java. Is it fine to develope in Java if I am
going to be using Neutrino?

Thank you for your help

Kurt Goodjohn <goodjok2@union.edu> wrote:

I am a new user to all RTOS’s. Does anyone have or know where I could find
some example code? Also, I feel as though I should code in C/C++ rather
than Java, but I would prefer Java. Is it fine to develope in Java if I am
going to be using Neutrino?

Most Java vms do not provide very predictable real-time performance, also
Java VMs abstract most OS fundamentals into a standard interface, so
doing Java programming on top of Neutrino is wasting either the
advantages of Java (since to make good use of Neutrino, you’d have
to be doing a bunch of under-the-covers JNI work) or of Neutrino.

Though, a project that combines Java for a UI, interfaced to real-time
controller code written in C/C++ for Neutrino, probably through a (set of)
resource manager interface(s) can be quite a powerful tool.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.