Sun yanks FreeBSD's Java license
Posted Jan 12, 2005 8:47 UTC (Wed) by
piman (subscriber, #8957)
In reply to:
Sun yanks FreeBSD's Java license by mmarq
Parent article:
Sun yanks FreeBSD's Java license
> It needs to improve dramaticly the executable native form "code" that the compiler spits.
The kind of optimizations in question can't be done in the "bare metal" compiler. The kinds of problems range from simple things like complex instructions sets such as SSE, to runtime profiling and adaptation to avoid branch mispredictions, to automatic generation of optimized per-type versions of generic function calls. None of these can be done at the traditional compile time, they all depend on very specific implementation details of the CPUs in question, and even on the runtime datasets.
You can push these off if you like, but all that happens is that the slack gets picked up in the hardware end -- branch prediction is a primitive example of this, or on a more advanced level the Transmeta Crusoe which runs everything on a transparent JIT of sorts.
The trend is for JIT compilers to get faster and faster, and as more of the above techniques come into play, there's no reason to assume native code can keep up.
(
Log in to post comments)