swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interesting piece: Objective-C on Java VM?


From: Rod Price
Subject: Re: Interesting piece: Objective-C on Java VM?
Date: Wed, 21 Jan 1998 18:25:18 -0700


Rob Kewley wrote:

> It may be hot, but it is also slow.  I am assuming that one of the main

This is no longer true.  If you pay attention to such things as makingyour
methods final, Java code run through a good JIT (Symantec Cafe
2.0, for example) runs just as fast as C++ on our signal processing
benchmarks.  It beats MS C++ 5.0 on I/O speed, and Symantec C++
(forgot the version) on processor speed.

If the developer of the Objective-C to Java byte code compiler pays
attention to performance issues, there is no reason why it won't emit
code that's very close to native ObjC speed, when the .class file is
run on a good JIT.

Signal processing code, or probably numeric code of any sort, runs
well on a JIT because it tends to have lots of loops.  The JIT just has
to compile the byte code into machine code on the first pass through
the loop.  From then on, it runs at native speeds because it is in reality
native code.

> requirements for a Swarm simulation is quick execution.  I know it is
> for any applications I am working on.  When Java offers the ability to
> compile into one efficient binary, then it will be useful for

Symantec Cafe 2.0 has a native code compiler right now underWindows NT.


> applications which require speed.  In the meantime, the cross-platform
> portability of Swarm is excellent and getting better (we eagerly await
> the Java GUI).

-Rod Price, TRW


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]