Java scripting languages

探討「內嵌」以及「腳本化」這兩個主題的技術-版主XO老師(熟悉的目前是 Tcl,討論內容也會環繞在 Tcl 四周,但是本版還是歡迎其他 Scripting 語言以及任何「內嵌」技術的討論。)

版主: b80203, ghost3401, XO, maa

分享到: Facebook

Java scripting languages

文章XO » 週一 1月 30, 2006 10:09 pm

"Java scripting languages: Which is right for you?" 這一系列三篇連載 不錯看!
http://www.javaworld.com/javaworld/jw-04-2002/jw-0405-scripts.html

這三篇主要在評比四個用Java寫出來的腳本語言,在評比當時(2002年四月) Perl 只有C建置的版本,還沒有人用 Java 改寫 Perl,所以賽局還沒開始 Perl 就已經出局(倒是後來陸續出了 Perljvm, JPL, PLjava,...等),剩下的分別是:

Jacl: The Tcl Java implementation, 37,000 lines of Java code.
Jython: The Python Java implementation, 55,000 lines of Java code.
Rhino: The JavaScript Java implementation, 44,000 lines of Java code.
BeanShell: A Java source interpreter written in Java, 25,000 lines of Java code.

根據作者的評比:「Jython is the fastest scripting interpreters I looked at and has some powerful programming features.」這很符合我想選 PythonJython 作為系統腳本語言的期望。

第一篇文章末尾處所附的幾個網址倒是蠻值得一看的(特此直接重覆登錄以備不時之需):

Resources

To download the source code and class files for this article:
http://www.javaworld.com/javaworld/jw-04-2002/scripts/jw-0405-scripts.jar

Investigate the Bean Scripting Framework at IBM's alphaWorks:
http://alphaworks.ibm.com/tech/bsf

"Scripting Power Saves the Day for Your Java Apps," Ramnivas Laddad (JavaWorld, October 1999):
http://www.javaworld.com/javaworld/jw-10-1999/jw-10-script.html

Also check out Mark Johnson's "Script JavaBeans with the Bean Scripting Framework" (JavaWorld, March 2000):
http://www.javaworld.com/javaworld/jw-03-2000/jw-03-beans.html

To download Jython:
http://www.jpython.org/download.html

To download Rhino from Mozilla:
http://www.mozilla.org/rhino/download.html

To download Jacl:
http://sourceforge.net/projects/tcljava

Read about Swank, the Jacl graphical toolkit:
http://www.nmrview.com/swank/index.html
這一頁失聯啦!可以改看Tcler's Wiki 下面兩個網頁:
Jacl and Swank Advocacy: http://wiki.tcl.tk/11550
Swank: http://wiki.tcl.tk/2858

To download BeanShell:
http://www.beanshell.org/download.html

For more scripting language stories, visit the Applied Java section of JavaWorld's Topical Index:
http://www.javaworld.com/channel_content/jw-applied-index.shtml
eXtra Old 的是我「不是酒」哦!
제 이름은 오조휘 입니다

臉書裡依舊是 Extra.Old: http://www.facebook.com/extra.old
頭像
XO
資管系教師
 
文章: 5449
註冊時間: 週二 4月 27, 2004 12:20 pm
來自: CQ Inc.

回到 內嵌與腳本化(Embedding & Scripting)

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客