What is Jython?

Ze'ev zeevb.public at gmail.com
Thu Nov 1 12:37:00 CET 2007


On Nov 1, 10:37 am, Ant <ant... at gmail.com> wrote:
> On Nov 1, 6:54 am, saru... at gmail.com wrote:
> ...
>
> > I would like to know more about Python and Jython?
> > What is the difference between both of them?
> > What is the future for Jython and which are the areas where it is
> > used?
>
> Jython is an implementation of Python for the Java VM. Currently it
> stands as equivalent to Python v2.2, but progress has been rapidly
> accelerating over the last year or so, and the next version will
> probably be targeted at 2.5 AFAIK.
>
> Jython also has access to all of the Java standard libraries (or any
> Java libraries on the classpath for that matter.)
>
> Jython is currently significantly slower than Python.
>
> >From my experience Jython is most typically used as an embedded
>
> extension/scripting language for Java applications in areas where
> rapid development/change is required. This includes such areas as
> scripting business logic, writing unit or functional tests etc. Take a
> look athttp://antroy.blogspot.com/2007/04/swing-testing-with-jython-and-jemm...
> for an example of how I have successfully used Jython for Swing
> testing. More information can be found onhttp://www.jython.org/Project/index.html
>
> Cheers,
>
> --
> Ant.

On Nov 1, 10:37 am, Ant <ant... at gmail.com> wrote:
...
> Jython is currently significantly slower than Python.
...
Not according to this : http://blogs.warwick.ac.uk/dwatkins/entry/benchmarking_parallel_python_1_2/




More information about the Python-list mailing list