Linked by Ritesh Kumar on Thu 13th May 2004 19:31 UTC
General Development In recent years "scripting languages" are becoming a path which is a must go for rapid application development. The open source community has seen many scripting language implementations. Some really popular and good ones available are perl and python.
Permalink for comment
To read all comments associated with this story, please click here.
RE: Anonymous (IP:
by Anonymous on Thu 13th May 2004 22:22 UTC

Java and .NET at least optimize bytecode and have JIT compilers, whereas Python .pyc is generated just to avoid reparsing sources (and normally is written for imported modules only, not for main script).

Python writes pyc files for the main script aswell (Atleast on my machine) and has a flag to generate it automatically. It also does optimisations when it compiles, just not agressive ones.
See here for an example of 'optimizing' some common operations:
(specifically how +, *, and << perform the same unlike in other languages)

Second, Python does have somethine like a JIT compiler:

So why is Python a scripting languae and Java/.NET not?