> 3. How much truth lies in the myth that Java is slow? II think that the slowness depends upon 3 factors
> 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.
>
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 megabyteThat sounds really great !
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.
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]
