Java (bytecode) execution speed



All other things being equal, we expect an interpreted language to run a bit slower than native machine code.

I understand that in the beginning, the earliest version of the JVM was
perceived to be demonstrably slower than a coresponding C program; but that more recent versions have impreved coniderably.

Whats the current state of the art? Would we expect a java program to run at 0.5 * the speed of C, or 0.7 or 0.9 or what?

Obviously it all depends on what you're doing and how you're doing it, but still, there must be some rough rule of thumb as to what's a reasonable expectation for how by Java program should run compared to the equivalent C routine.

I'm asking programmers, rather than the "announcement/advocacy" groups in the hopes you will have a more realistic idea of how things actually work under the sphere of the moon.


.



Relevant Pages

  • JVM much slower on Itanium box (rx2600)
    ... The same java program, runs much slower on rx2600 than on ds25. ... We have a servlet program which usually takes about half seconds on ...
    (comp.os.vms)
  • Re: CSharp Resize flicker and flashing
    ... > C# is an interpreted language, so it will be slower than native machine code. ... > I don't know if Delphi is interpreted or not. ...
    (microsoft.public.dotnet.languages.csharp)