From: Hal Fulton Date: 2006-07-27T05:54:49+09:00 Subject: Re: For performance, write it in C Isaac Gouy wrote: > > That sounds wrong to me - I hear positive comments about Java > performance for long-running programs, not for programs that run in > under a second. > JIT is the key to a lot of that. Performance depends greatly on the compiler, the JVM, the algorithm, etc. I won a bet once from a friend. We wrote comparable programs in Java and C++ (some arbitrary math in a loop running a bazillion times). With defaults on both compiles, the Java was actually *faster* than the C++. Even I didn't expect that. But as I said, this sort of thing is highly dependent on many different factors. Hal