Scripting for the Java Platform

I've just read Language wars are so boring and from there went to read Scripting flamewar. Some thoughts on scripting in Java "context"....

For scripting languages for the Java platform - assuming the language allows access to Java classes, then in effect the "primitives" space of the language becomes the entire JDK - the endless primitive extension problem is left to the JDK. For example, JavaScript engine in JRE (included in Mustang) lives in the "context" of Java - Java classes can be accessed and Java interfaces can be implemented in script.

Some of the performance issues around scripting may possibly be addressed by "compiling" scripts to bytecode on-the-fly (a sort of first level "hotspot" for scripts?). That is where invokedynamic or any other possible improvements from JSR 292 could help. The typing/non-typing "dichotomy" may possibly be addressed by pluggable types.

Comments:

Post a Comment:
Comments are closed for this entry.
About

sundararajan

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
Links

No bookmarks in folder

Blogroll

No bookmarks in folder

News

No bookmarks in folder