Python's biggest compromises

John Roth newsgroups at jhrothjr.com
Thu Jul 31 17:27:46 EDT 2003


"Robin Becker" <robin at jessikat.fsnet.co.uk> wrote in message
news:TBO13LAmBVK$Ewml at jessikat.fsnet.co.uk...
> In article <viibo7t45unv83 at news.supernews.com>, John Roth
> <newsgroups at jhrothjr.com> writes
> >
> .....
> >High performance isn't Python's target. If PyPy ever gets their act
> >off the ground, then we will have a shot at a good quality JIT
> >interpreter. Then watch it fly.
> >
> .... doesn't psyco already attempt to do JIT? It certainly doesn't
> speed things up that much. If all the variables are known to be of a
> specific type then you could expect C like speeds from a good JIT, but
> without global analysis it's hard to see how we infer/guarantee python
> types.

Well, that's certainly a problem, but Bicycle Repair Man seems to
do a pretty good job of type inference, at least for refactoring.

One of the things to consider here is that a decent JIT interpreter
would automatically change the playing field for what is good
practice and what isn't, at least if you expect performance.

John Roth
> -- 
> Robin Becker






More information about the Python-list mailing list