m******t 发帖数: 2416 | 1 If we talk about races in terms of speed, Java would still lose
on the Windows Track, because:
1. C++ would have already had its tires and engine changed/repaired
*before* the race starts, by some "certified professionals".
2. The interface between the tires and other parts of the car
is standard and designed for tires to be changed easily, so the time
it takes to change tires is kept in minimum.
A better analogy would be Java always runs like a turtle no matter
on any track, while C++ always a | d*x 发帖数: 9 | 2 Here are some links you may want to check out. The first one
covered pros and cons of Java pretty well, but its performance
comments are obviously outdated. Java may never be as fast as C
(OO perfromance penalty), but it's getting close to C++...and
still improving.
Why are we using Java Again? (1998)
http://www.cs.cornell.edu/ugrad/Tyma_Article.htm
Java performance (1999)
http://www.usenix.org/publications/login/1999-8/features/performance.html
Java/C++ Performance Test (1999?)
http://www.geko | z******c 发帖数: 2 | 3 It's really the design philosophy of C++ that makes it fast or
say efficient. Java is not designed to compete with C++ on
performance.
1. For the type of web programming, a lot of time is spent
on DB acess, network or maybe load balancing. As long as
the performance of language meets some bootom line, it's just
fine.
2. In the "gotta have it now" atmosphere of system development,
people would rather go with Java to have a running system next
month, instead of next year.
3. Because of the power a | m******t 发帖数: 2416 | 4 I took a look at some of these, and feel their results are both
expected and misleading.
Although the performance issue of Java has been around since the
first day Java was introduced, the meaning of performance behind
the word has significantly changed.
Before JIT was introduced, Java was interpreted. Its performance
could never be anywhere close to C/C++'s. The difference could
be easily revealed from the results of tests like these shown below.
However, this is never the case in recent year
【在 d*x 的大作中提到】 : Here are some links you may want to check out. The first one : covered pros and cons of Java pretty well, but its performance : comments are obviously outdated. Java may never be as fast as C : (OO perfromance penalty), but it's getting close to C++...and : still improving. : Why are we using Java Again? (1998) : http://www.cs.cornell.edu/ugrad/Tyma_Article.htm : Java performance (1999) : http://www.usenix.org/publications/login/1999-8/features/performance.html : Java/C++ Performance Test (1999?)
|
|