High Performance
interpreted versions are ~20 times slower than C
Java not aimed at either language spectrum extreme, i.e., scripting languages versus C and C++
byte code designed so that ìjust in timeî compilers can generate machine code that is as fast as C or C++
interpreted Java is faster than scripting languages such as Perl, Unix shells, while providing the simplicity and portability of such languages
JIT compilers are expected to approach speed of C and C++ with much better portabiltiy and reliability
- new Object 119,000 / sec,
- o.f() (method f on object o) 590,000 / sec,
- o.sf() (synchronized method on object) 61,500 / sec