On Sun, 13 Nov 2005 02:01:28 +0100
Anders Johansson
On Sunday 13 November 2005 01:34, Randall R Schulz wrote:
I'd think you'd not be given to folklore about program efficiency. Static compilation to native code as gcj (or conventional C++) does it is _not_ the best way to optimize performance. Java's so-called JIT (it's really on-demand) native code compilation has optimization opportunities not available when only static program analysis is possible.
Well, gcc has more to offer than just static compilation, although the new stuff isn't really ready yet. But the profiling that you can do in later versions of gcc has a lot of the same characteristics as JIT There are other compilers who do much more aggressive optimizations, such as inter-procedure optimizations or dynamic optimizations.
--
Jerry Feldman