>-----Original Message-----
>From: Augusto Sellhorn [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 06, 1999 9:10 AM
>To: Java 2D interest group
>Subject: [java2d] More on J2D performance
>
>
>
>I posted this a couple of days ago on the JavaLobby page ...
>
>http://www.javalobby.org/servlet/News?action=displayStories&xsl
>=comment.xsl&format=full&id=500300000000200
>
>Just another minor "rant" on the state of Java 2 graphics
>performance.
>
>Augusto
>
>--
Thanks for ranting...
If I'm not mistaken, I think the problems with performance in Java 2 are
related to the libraries being unoptimized. So for example, with HotSpot, it
is great for GC and for "server side" types of operations that don't make
heavy use of the unoptimized underlying libraries (Such as drawing routines
and such). However, the graphics ops in Java 2 being slow are a result of
the actual underlying libraries being slow (rt.dll on Win32). So technology
like HotSpot isn't going to buy you much in terms of speed there.
You could always just go and rewrite the libraries to perform more
optimally. For example, using DirectX for drawing instead of Submit it back
to Sun and hopefully they'll implement it and give you some money or
something for doing there job...
I'm surprised at how little Sun has done to reassure developers that Java is
good for the client-side as well. It seems they are too concerned with the
"Microsoft case" than actually putting the developers concerns first... What
REALLY has me befuddled is that Sun has created Java, and yet they have the
worst implementations of it. IBMs 1.1.7 JDK on the PC is better than Sun's,
of course, MSs is better than both of 'em. Look at the Solaris platform, and
it is scary how bad it is... (Aren't they still using Green Threads under
Solaris?). What had me surprised was IBMs awesome job of implementing the
JDK 1.1.7 on the RS/6000. The libraries are pretty good. And the performance
is actually VERY close to C code.
Of course, right now I'm working on server-side stuff, so I'm not really
complaining that much... :P
(Oh, except for the fact that BigInteger multiplication doesn't use FFTs, so
its REALLY REALLY slow O(n^2) vs O(n log n)...)
Just some thoughts really...
How about some from a Sun representative?
Jeremy Blosser
Software Developer
J.D. Edwards World Source Company
* The above message does not necessarily represent the view of my employer *
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/