posts - 6, comments - 21, trackbacks - 0, articles - 2

          什么是Jython?

          Posted on 2005-01-23 12:22 tedazf 閱讀(1360) 評(píng)論(4)  編輯  收藏

          今天無(wú)聊就上了Python的官方網(wǎng)站,看到了Jython語(yǔ)言介紹,簡(jiǎn)單的翻譯一點(diǎn)介紹貼過(guò)來(lái),英文原本附在后面。

           

          什么是Jython

          Jython是一種高層次整合Python語(yǔ)言與Java平臺(tái)的,動(dòng)態(tài)的、面向?qū)ο蟮木幊陶Z(yǔ)言。Jython的前身——Jpython,被確認(rèn)為100%的純JavaJython無(wú)論是否是商業(yè)上的使用都可以免費(fèi)的使用。Jython補(bǔ)充了Java,且尤其適合在以下幾方面:

          l       內(nèi)嵌腳本      Java允許在程序中加入Jython的類庫(kù),并且允許用戶編寫簡(jiǎn)單或復(fù)雜的腳本以函數(shù)的形式加入程序。

          l       交互性試驗(yàn)    Jython提供了一個(gè)可以被用于與Java包和Java運(yùn)行中的程序交互的解釋器,這也就允許用Jython來(lái)調(diào)試Java程序。

          l       程序快速開發(fā)  Jython開發(fā)同等Java程序,但開發(fā)時(shí)間只是Java開發(fā)時(shí)間的二分之一到十分之一。這將直接增長(zhǎng)編程的生產(chǎn)力。JavaJython的無(wú)縫整合允許開發(fā)者在開發(fā)過(guò)程中自由的混合兩種語(yǔ)言。

           

          What is Jython?

          Jython is an implementation of the high-level, dynamic, object-oriented language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is freely available for both commercial and non-commercial use and is distributed with source code. Jython is complementary to Java and is especially suited for the following tasks:

          • Embedded scripting - Java programmers can add the Jython libraries to their system to allow end users to write simple or complicated scripts that add functionality to the application.
          • Interactive experimentation - Jython provides an interactive interpreter that can be used to interact with Java packages or with running Java applications. This allows programmers to experiment and debug any Java system using Jython.
          • Rapid application development - Python programs are typically 2-10X shorter than the equivalent Java program. This translates directly to increased programmer productivity. The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products.

          Feedback

          # re: 什么是Jython?  回復(fù)  更多評(píng)論   

          2005-01-23 14:15 by wxb_nudt
          能不能介紹一下為什么要Jython,Java的哪些不足導(dǎo)致了Jython的出世?

          # re: 什么是Jython?  回復(fù)  更多評(píng)論   

          2005-02-02 21:50 by tedazf
          Jython,我知識(shí)了解而已,過(guò)幾天wo系統(tǒng)地看一遍,整理出一套教程上來(lái)吧。
          一個(gè)月以內(nèi)!保證!

          # re: 什么是Jython?  回復(fù)  更多評(píng)論   

          2009-02-10 10:36 by 123
          www.jython.com.cn jython中文網(wǎng)歡迎大家。。。

          # re: 什么是Jython?  回復(fù)  更多評(píng)論   

          2009-04-03 09:30 by SmartY0622
          可不可以在java中讀到j(luò)ython腳本引擎中的信息.
          比如說(shuō)我需要知道jython當(dāng)前運(yùn)行到哪一條語(yǔ)句了?

          有知道的高手們請(qǐng)聯(lián)系一下吧:
          我的油箱是; yang.weiping@zte.com.cn

          謝謝

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 高碑店市| 始兴县| 柘城县| 越西县| 鄢陵县| 玉溪市| 嘉善县| 桑日县| 嘉黎县| 威海市| 商南县| 新营市| 马公市| 建昌县| 诸暨市| 沾化县| 德清县| 普兰店市| 包头市| 淄博市| 保德县| 冀州市| 通州区| 玉溪市| 鄂州市| 松溪县| 河北区| 蓝山县| 林西县| 阳春市| 扎鲁特旗| 泸西县| 定远县| 百色市| 沙河市| 北流市| 施秉县| 科技| 定州市| 永和县| 四平市|