Thorbjørn Ravn Andersen wrote:
Depends on the language.
No, it doesn't.

Perl e.g. has very powerful text operators, is interpreted, but is still one of the best ways to massage large text files (Perl regular expressions are NICE).
But correctly written C code that does the same thing will run much faster.

(and I don't think I'll bite on why compiled Java is slow on the i ;-) )
Not sure what you mean here. Are you saying that Java on the i is slower than Java on a Windows machine? That's got nothing to do with the issue. On the same platform, though, I disagree: Java code compiled by the JIT compiler runs faster than the same Java code interpreted - on any machine, including the i.

Now, if you mean using the CRTJVAPGM compared to the JIT compiler, that's a different question. CRTJVAPGM (which AFAIK is no longer recommended) does static optimization which can't compete with the dynamic optimizations of a good JIT compiler. If you want to learn more, start with Wikipedia:

http://en.wikipedia.org/wiki/Compiler_optimization

I don't pretend to be an expert. Optimization is a class of programming way above my expertise. If you want to talk about people who really know how a computer works, the optimization folks are the very best in the business.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.