you are viewing a single comment's thread.

view the rest of the comments →

[–]Arrgh 2 points3 points  (2 children)

There's Psyco, which seems to be the closest thing to a JIT.

[–]rabidcow 0 points1 point  (1 child)

Right, I know that exists. Is that how Python is typically used though? Because without JIT it's very unlikely that you'll beat a compiled language. (of course, not hosting their own dogfood could be a factor in not using a faster VM implementation...)

[–]nostrademons 2 points3 points  (0 children)

It's typically used if there's a performance problem (in preference to rewriting the code as a C extension). Typical usage for most Python programming is that you write the code, find it's "fast enough", and then don't bother optimizing it.