Jython

Jython(旧称JPython)は、プログラミング言語PythonのJavaで書かれた実装である。Jim Huguninによって開発が始められた。

Jython
Jython
開発元 Jim Hugunin(初代)とJythonコミュニティ(以後)
最新版
2.7.4 / 2024年8月18日 (2年前) (2024-08-18)
リポジトリ ウィキデータを編集
対応OS 各種
プラットフォーム Java仮想マシン
種別 Pythonインタプリタ
ライセンス Python Software Foundation License version 2
公式サイト http://www.jython.org/
テンプレートを表示

Jython(旧称JPython)は、プログラミング言語PythonのJavaで書かれた実装である。Jim Huguninによって開発が始められた。

概要

JythonプログラムはあらゆるJavaのクラスをシームレスにインポートできる。例えば、JavaのGUIライブラリであるSwingAWTSWTなどを使って書くことができる。また、逆にPythonでJavaプログラムから使うクラスを実装することも可能である。JythonはJavaバイトコードにコンパイルされて作動するが、これは動的にも静的にも可能である。

一部の標準モジュールを除いては、JythonのプログラムはPythonモジュールの代わりにJavaのクラスを使っている。Jythonはほぼ全てのPython標準のライブラリを含んでいるが、C言語で実装された一部ライブラリは除外されている。

ライセンス

Jythonは、現在は制約の緩いフリーソフトウェアライセンスであるPython Software Foundation Licenseのもとでリリースされている。 Jython2.0,2.1のライセンスは独自だが、制約の緩いフリーソフトウェアライセンスである。 JPython 1.1.xのライセンスも制約の緩いフリーソフトウェアライセンスであると考えられるが、内容が複雑であり、フリーソフトウェア財団オープンソース・イニシアティブの査読やコメントも無いため明確ではない。

歴史

Jim Huguninが開発を1997年に始め、1999年まで開発を続けた。1999年2月に第一開発者がBarry Warsawに変わった。2000年10月にはSourceForge上で開発されるようになった。以来、長年、Samuel PedroniがJythonの保守/開発を担ってきた。2004年末にSamuel PedroniはPyPyに集中するため第一開発者からは退いたのだが、依然彼の発言はJython開発コミュニティにて最も権威あるものと考えられている。2005年1月にはBrian ZimmerがPythonソフトウェア財団から開発続行のための補助金を受けている。2005年12月には第一開発者がFrank WierzbickiからBrian Zimmerに譲られる。2005年頃はJythonの開発は続いたものの、知識とJythonに掛けられる時間のある開発者を確保できなかったため、開発は遅くなってしまった。現在も開発は着実に続けられている。

現状とロードマップ

現在のリリースはJython-2.5で、Javaとの統合が更に図られた他、CPythonの2.5相当の機能を実装している。(Jythonロードマップを参照のこと)。

用例

関連プロジェクト

外部リンク

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.