Jython
Latest release 2.2.1 / 13 October 2007
Preview release 2.5 Beta 0 / 31 October 2008
Written in Python and Java
OS Cross-platform
Platform Java Virtual Machine
Type Python Programming Language Interpreter
License mixed, see License terms
Website www.Jython.org

Jython, successor of JPython, is an implementation of the Python programming language written in Java.

Contents

Overview

Jython programs can seamlessly import and use any Java class. Except for some standard modules, Jython programs use Java classes instead of Python modules. Jython includes almost all of the modules in the standard Python programming language distribution, lacking only some of the modules implemented originally in C. For example, a user interface in Jython would be written with Swing, AWT or SWT. Jython compiles to Java bytecode (intermediate language) either on demand or statically.

Jython also includes jythonc, a compiler that converts Python source code into Java bytecode. This allows Python programmers to write classes which can be fully utilized by a Java program.

License terms

Jython is released under a mix of three licenses:[1]

  1. Python Software Foundation License (v2)
  2. Jython 2.0, 2.1 license
  3. JPython 1.1.x Software License.

The first two are permissive free software licenses. The third also appears to be but this is unclear because neither Free Software Foundation or Open Source Initiative have reviewed and commented on it.

History

Jim Hugunin created Jython in late 1997, and developed it until 1999. In February 1999, Barry Warsaw took over as the primary developer. In October 2000, Jython moved to SourceForge. For a long time, Samuele Pedroni did most of the work to maintain and develop Jython. To the end of 2004, Pedroni stepped down as the primary developer to concentrate his effort to PyPy, but he is still considered the authority on Jython internals. In January 2005, Brian Zimmer received a grant from the Python Software Foundation to develop Jython. In December 2005, Frank Wierzbicki succeeded Zimmer as the primary developer. During 2005, development was slow due to lack of knowledgeable developers.

On March 3, 2008, it was announced that Sun Microsystems hired Ted Leung and Frank Wierzbicki to work on Jython and Python, similar to Sun's hiring of two JRuby developers.[2] Development progresses steadily,[3][4] and Jython can now even run Django, a Python framework comparable to Ruby on Rails.[5]

Status and roadmap

The current release is Jython-2.2.1. It includes improvements to Java integration and implements the same set of language features as CPython 2.2. CPython 2.5 is targeted for the next release[6].

Developments are going steady and an alpha version of the corresponding Jython 2.5 release has been available since July 2008[7][8][9].

Usage

See also

References

  1. ^ "The Jython License". Jython's project. Retrieved on 2008-02-09.
  2. ^ Leung (2008-03-03). "The Sun is going to shine on Python". Retrieved on 2008-03-03.
  3. ^ "WhosDoingWhat". Jython's Wiki (2007-12-29). Retrieved on 2008-02-09.
  4. ^ Nutter, Charles (2008-01-03). "Jython's Back, Baby!". Retrieved on 2008-02-09.
  5. ^ Baker, Jim (2008-01-03). "Django on Jython: Minding the Gap". Retrieved on 2008-02-17.
  6. ^ "Jython Roadmap". Jython's Project. Retrieved on 2007-05-09.
  7. ^ Baker, Jim (2008-06-24). "Flipping the 2.5 Bit for Jython". Retrieved on 2008-07-12.
  8. ^ Wierzbicki, Frank (2008-07-15). "Jython 2.5 Alpha Released!". Retrieved on 2008-07-16.
  9. ^ Baker, Jim (2008-06-24). "Flipping the 2.5 Bit for Jython". Retrieved on 2008-07-12.

External links



No comments have been added.



Your name:

City:

Country:

Your comments:

Security check *
(Please enter the number into adjoining box)