[EMAIL PROTECTED] wrote:
 >  3. How much truth lies in the myth that Java is slow? I
 >  have heard arguments and read articles which claim that
 >  interpreting the byte code slows down the performance. But
 >  then the same logic would apply to .NET but I havent heard
 >  anyone complaining about .NET performance.
 >
I think that the slowness depends upon 3 factors
1> the interpreted nature of the JVM (this may not be the precise reason
for the slowness because even the processor interprets the machine
code) So i woudn't say that the slowness is totally due to interpreted nature.

2> the extra type checking,security features,runtime checks etc.
Yes this definitely slows down the execution time.

3> Badly programmed code.
This is totally in our hands

Has not been my experience.  For example in our software (multi megabyte
jars/cabs plus multi meg third party run in a browser), we can load a
multi-thousand result set into a multi-column table with word wrap different
coloring etc to be determined for each row in a few (2-3) seconds.  The JVM
can make a difference.  The stats above are using Microsoft's VM.  THe
current Sun is almost as fast.  Couple versions ago the Sun was a bit
slower.  The VM in Netscape 4.x was really slow.  The above timing would
probably come out to 6-8 seconds.
That sounds really great !
Did you use any profiling tools for it ?
  ---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to