DEVFYI - Developer Resource - FYI

Is Java code slower than native code?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

387. Is Java code slower than native code?

Not really. As a platform-independent environment, the Java platform can be a bit slower than native code. However, smart compilers, well-tuned interpreters, and just-in-time bytecode compilers can bring performance close to that of native code without threatening portability.

(Continued on next question...)

Other Interview Questions