September 24th, 1999, 01:03 AM
Do full native compilers exist for Java code such as to prevent the Java code being compiled every time it's called? If so, will Java functions run as fast as like C++ functions? I've attached the only reference I've found thus far. Please comment.
Mike.
FYI from Bruce Eckel's book:
The biggest potential stumbling block is speed: interpreted Java runs in the range of 20 times slower than C. Nothing prevents the Java language from being compiled and there are just-in-time compilers appearing at this writing that offer significant speed-ups. It is not inconceivable that full native compilers will appear for the more popular platforms, but without those there are classes of problems that will be insoluble with Java because of the speed issue.
Mike.
FYI from Bruce Eckel's book:
The biggest potential stumbling block is speed: interpreted Java runs in the range of 20 times slower than C. Nothing prevents the Java language from being compiled and there are just-in-time compilers appearing at this writing that offer significant speed-ups. It is not inconceivable that full native compilers will appear for the more popular platforms, but without those there are classes of problems that will be insoluble with Java because of the speed issue.