Difference between revisions of "Jython"
Jump to navigation
Jump to search
DavidB4-bot (talk | contribs) m (clean up) |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | '''Jython''' is an implementation of the [[Python (programming language)|Python]] programming language that runs on the [[Java|Java Standard Platform]]. Jython fully implements nearly all of the Python standard library modules, with a few key differences.<ref> {{cite web|url=http://www.jython.org// | title= Jython | work=The Jython Project }}</ref> | + | '''Jython''' is an implementation of the [[Python (programming language)|Python]] programming language that runs on the [[Java|Java Standard Platform]]. Jython fully implements nearly all of the Python standard library modules, with a few key differences.<ref>{{cite web|url=http://www.jython.org// | title= Jython | work=The Jython Project }}</ref> It should be noted that Jython is ''not'' a different implementation of the [[Python]] interpreter. |
==Differences== | ==Differences== | ||
*The ''os'' module in Jython is not a complete implementation of the ''os'' module in [[Python (programming language)|Python]] because of limitations in the "[[Sandbox (computer science)|sandboxing]]" design of [[Java]]. | *The ''os'' module in Jython is not a complete implementation of the ''os'' module in [[Python (programming language)|Python]] because of limitations in the "[[Sandbox (computer science)|sandboxing]]" design of [[Java]]. | ||
*Jython programs cannot use [[CPython]] extension modules written in C. | *Jython programs cannot use [[CPython]] extension modules written in C. | ||
| − | *Jython utilizes the pure [[Garbage collection|garbage collection]] algorithms of the [[Java|Java runtime environment]] instead of the reference counting method of the [[Python (programming language)|Python]] interpreter. | + | *Jython utilizes the pure [[Garbage collection (computer science)|garbage collection]] algorithms of the [[Java|Java runtime environment]] instead of the reference counting method of the [[Python (programming language)|Python]] interpreter. |
| − | ==See | + | ==See also== |
*[[Java|Java Standard Platform]] | *[[Java|Java Standard Platform]] | ||
*[[Python (programming language)]] | *[[Python (programming language)]] | ||
[[Category:Computers]] | [[Category:Computers]] | ||
| − | |||
[[Category:Computer Science]] | [[Category:Computer Science]] | ||
[[Category:Programming Languages]] | [[Category:Programming Languages]] | ||
| Line 17: | Line 16: | ||
==References== | ==References== | ||
| − | <references> | + | <references/> |
Latest revision as of 15:00, June 23, 2016
Jython is an implementation of the Python programming language that runs on the Java Standard Platform. Jython fully implements nearly all of the Python standard library modules, with a few key differences.[1] It should be noted that Jython is not a different implementation of the Python interpreter.
Differences
- The os module in Jython is not a complete implementation of the os module in Python because of limitations in the "sandboxing" design of Java.
- Jython programs cannot use CPython extension modules written in C.
- Jython utilizes the pure garbage collection algorithms of the Java runtime environment instead of the reference counting method of the Python interpreter.