Re: [buildcheapeeg] Re: Who here programmes in JAVA

From: Doug Sutherland (wearable_at_earthlink.net)
Date: 2002-02-04 04:13:33


sleeper75se wrote:

> I know a bit of Java... are you looking to write biofeedback-
> code with it? In that case, please reconsider. I did a few
> tests a while back, drawing bargraphs and so on, and I
> realized it is much too slow.

I used to work for JavaSoft before it got assimilated into
the corporate Sun fold. Yes it is slow compared to native
code, but there are ways to make it faster. One way is to
avoid Swing (monster!) altogether and just use the awt
underneath. You'd be surprised how much of a difference
this makes. There are also smaller versions like CDC
for embedded. And after I left sun I worked at a place
that does industrial automation with Java. We were using
processors that run bytecode natively. These were pretty
cool, they implement two VMs in silicon, both can run at
the same time, one can do deterministic real-time stuff
while the other does networking. We designed a box with
mitsubishi with these inside, it was a 16-port RS232
network extender, RJ45 10/100 ethernet connects to the
LAN. I will be trying some BF/NF code in Java to see if
it suffices using just awt, blackdown java on slackware.
But I know that C is probably the right answer for any
complex graphics.

-- Doug



This archive was generated by hypermail 2.1.4 : 2002-07-27 12:28:38 BST