[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Don't Be Soft On Microsoft



Shay Rojansky wrote:

Which brings me to the next point - Java. Indeed, if anything can overthrow
the single-OS approach it's Java. The problems currently popping are
definitely no reason to rule out the entire language. For example, speed
will not be an issue once Just-in-time compilers will be widely
available (JIT means taking the Java bytecode and translating it to
machine binary and THEN executing the binary code, instead of doing
the translation at run-time). This would mean that startup speed would
still be slow, but run-time would be almost exactly as native binary code.

---------------------------------------------------------------------------------------------------------------------
Theoritically one can also write a standard Java compiler that will copmile the Java bytecode into a machine binary, store it on disk (with some other extension than ".class") and then run it from there. That way the program will be fast as soon after the initial compilation had taken place. Since, compiling can be a lengthy process, (as evident from watch GCC, but Java bytecode may take faster to compile) it can save a lot of time on subsequent uses.

The Just-in-time compilers you mention and the standard compilers I suggested in a way cancel the niche of Java's system-independency, because you still need a separate compiler for every platform.

	Shlomi Fish



Follow-Ups: