Are there any true scripting languages for the JVM?
Posted on May 30, 2007
Filed Under Programming
Dynamic scripting is all the buzz in the programming world and the Java community seems determined to not be left behind. To keep pace with the likes of Ruby, Java is introducing dynamic languages at a rapid pass. Some of the more popular languages are: Jacl, Jython, BeanShell, Groovy, and Mozilla Rhino. There is even a JSR, 223, aimed at making scripting a first class citizen for the Java Platform.
Given the large number of dynamic languages for the Java developer to choose from one wonders if any of them are true scripting languages? Not in my mind. For something to be a true scripting language it must be useful for System Administration. Perl, Python, Bash, C shell, Korn shell and Bourne shell (among others) all pass this test while the Java scripting languages do not. All the JVM based languages are missing two key elements to be useful for System Administration: lightning fast start-up, and low level hooks to the Operating System.
Far be it from me to pose a problem without offering a solution. So, first we need to hook the JVM into the OS. Lucky there are several pre-built packages that get us most of the way there; including: Jtux and Posix for Java. Now we need a lightning fast JVM. Hmm, that is a little harder to come by. Is 50% a passing grade?
Comments
2 Responses to “Are there any true scripting languages for the JVM?”
Leave a Reply


Good points. The Java world will have to figure out solutions to these problems in order to be a part of the dynamic scripting landscape.
I think these are all scripting languages that can be either executed inside a JVM or on top of an OS. You can think of a JVM as kind of an OS, since apps often stay in the same process for very long periods of time, and folks working in Java have similar needs for a scripting language as folks working closer to the OS.