I am sure it is better on bare metal, but the assumption here was J9 on
QNX >
Actually, I’m so entrenched in GUIs, that when I say Bare Metal, I mean, no
platform GUI system (like Photon, Motif, GTK, Qt, etc). We have some Bare
Metal ports of MicroView on QNX (as well as some other OSes . To me,
Bare Metal doesn’t rule out QNX … we still use the full OS, just don’t use
Photon.
We also have some JIT/AOT (Just In Time compiled/Ahead of Time compiled)
options that are available on some platforms (I don’t that includes QNX with
our currently available release), that will win you back some performance if
you’re willing to trade some memory for it.
–
“Rennie Allen” <RAllen@csical.com> wrote in message
news:D4907B331846D31198090050046F80C9050467@exchangecal.hq.csical.com…
Which GUI are you talking about; AWT or MicroView? AWT is pretty fat
and
slow.
I am talking about AWT.
We did it because customers demand it. But it will never perform at
a level an embedded developer would be happy with. It can’t really.
We can
optimize our code a bit more, but it will always be about the slowest
GUI
library (and biggest) that we’ll ship to customers. MicroView is much
smaller and faster, especially when you run on bare metal without
Photon.
I am sure it is better on bare metal, but the assumption here was J9 on
QNX >
If someone >really< wanted to, you could actually build a C app that
used
PhAB, and called out J9 to do rando Java stuff. Java (and by
inclusion our
J9) supports this thing called JNI (Java Native Interface) which
allows you
to call C/C++ code from Java, and call Java code from C/C++. We use
JNI for
all our native functionality like file/socket i/o, etc, and we use the
C->Java gateway bit for our Voyager plugin to run applets. It’s all
standard stuff for which there are a few books and many samples
available
I’m not ragging on J9, in fact, if bare metal were an option I would
think it would be competitive with QNX/Photon and ‘C’. I was simply
stating that if it has to run on QNX, under Photon on a 486 66, and
(as Gary implied in his post) one likes working with Phab; then coding
in ‘C’ with PhAB would probably yield more satisfactory results overall.