Java vs Python Benchmarks: Java is faster

brueckd at tbye.com brueckd at tbye.com
Fri Feb 1 15:51:42 EST 2002


On Fri, 1 Feb 2002, Anders Dahlberg wrote:

>
> <brueckd at tbye.com> skrev i meddelandet
> news:mailman.1012587303.30347.python-list at python.org...
> > On Fri, 1 Feb 2002, Anders Dahlberg wrote:
> >
> > > could re-run them without it. Maybe the low number of replies > is
> > > because it's not suprising that a semi-compiled-to-native program is >
> > > faster?
> > >
> > > well, but why would you want to compare interpreted java with python?
> >
> > Well for one, it'd be nice to be a little closer to comparing apples to
> > apples (how fast a VM can interpret and execute the bytecodes).
>
> Somewhat valid point (IMO that is)
>
> >Secondly,
> > I was very suprised that, with a JIT, Java was only meagerly faster than
> > Python.
>
> Well, python is written in c or something equivalent right?

Yes, the Python VM is written and C. And what do you think the Java VM
is written in?

> > was curious to know how slow Java was without the JIT. Finally, even
> > though Java and Python are wildly different in many ways, knowing the
> > interpreted vs. JIT'ed speeds might give a little insight into the
> > potential benefits of a Python JIT.
>
> I don't really know if python needs a jit, it would probably not harm
> python, but is it really worth the effort?

Heehee... that's the whole reason I asked my question in the first place.

-Dave





More information about the Python-list mailing list