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

          什么是Jython?

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

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

           

          什么是Jython

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

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

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

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

           

          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í)了解而已,過幾天wo系統(tǒng)地看一遍,整理出一套教程上來吧。
          一個(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腳本引擎中的信息.
          比如說我需要知道jython當(dāng)前運(yùn)行到哪一條語句了?

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

          謝謝

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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 温宿县| 南漳县| 鄂尔多斯市| 灯塔市| 新竹市| 富蕴县| 南雄市| 千阳县| 陇西县| 察隅县| 东丽区| 晋中市| 天台县| 锦州市| 阿克| 临桂县| 霍州市| 汉阴县| 大洼县| 那曲县| 浮山县| 永兴县| 尼勒克县| 桐乡市| 重庆市| 南开区| 北海市| 华坪县| 固安县| 铜山县| 即墨市| 通许县| 邹平县| 察隅县| 余庆县| 廉江市| 广丰县| 会昌县| 驻马店市| 曲阜市| 孝义市|