
Jython alternatives
Jython is an implementation of the Python language written in Java. It is free software and open source, released under a BSD-style license. It was conceived as a version of Python which would run on the Java platform, but it turned out to be more than that. Jython compiles a Python program to Java bytecode and then executes that compiled code. It is easy to use: you only have to write .py (Java class) files and run them with the command-line interface.
Jython uses a just-in-time (JIT) compiler to compile the Python bytecode at runtime, making execution speed nearly as fast as compiled Java code. It provides transparent access to Java classes from Python. This allows the use of Java libraries and frameworks. It was created in Java; it is mainly for performance reasons. Having its main interpreter written in Java makes it easier to optimize the interpreter and run it on any platform where there’s a JVM available. It can be used as an alternative implementation of Python or as an assistant language when writing extensions in a Java application.







































