Java as High Performance programming languages
Previous | Home | Next |
Java performance is high as its used an interpreter to execute the bytecodes.
There is also another form of compilation, the just-in-time (JIT) compilers. These work by compiling the byte
codes into native code once, caching the results, and then calling them again if needed. The automatic garbage collector runs as a low-priority background thread, ensuring a high probability that memory is available when required, leading to better performance.
A just-in-time compiler can give you a 10- or even 20-fold speedup for some programs and will almost always be significantly faster than an interpreter
Previous | Home | Next |