SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : Apple Inc.
AAPL 270.64-0.6%2:02 PM EST

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Alomex who wrote (10802)4/3/1998 11:32:00 AM
From: Phillip C. Lee  Read Replies (2) of 213177
 
The latest claims coming from advanced JIT compilers is that Java
is about equal and sometimes faster than C++. First they get rid of
the interpreter overhead by using JIT, then they use Java's lack of
pointers to do better memory management (Since nowadays a lot of the
computation time is spent swapping memory in and out of the level 2
cache, optimal memory management can put Java over the top).


Well, I couldn't believe your statement here. Java is on the average
about 20 times slower than c/c++ (stated in Java in a Nutshell book).
How can any compiler take care of virtual machine when it runs
without interpreter? If it still needs virtual machine, then how can
it be quicker than c/c++? Besides, Java has a garbage collector,
which also will slow down the execution time. What do you mean level
2 of cache? Do you really know how memory works? Yes, Java has no
pointer, but it still needs memory swapping. Actually, pointer is the
quickest way and most efficient way to manipulate memory.

Could we just forget about all this because the info is not correct
and annoying.

Phil
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext