Skip to main content

Which scripting language would you most like to use together with Java?

Perl
10% (22 votes)
Python/Jython
28% (64 votes)
JavaScript
29% (66 votes)
Groovy
12% (27 votes)
Other
9% (21 votes)
None
13% (29 votes)
Total votes: 229

Comments

ruby

of course.

none!

I am thoroughly pleased to see "none" in third place. The pain and suffering I've experienced trawling through Jython code has left me with a passionate hatred of that abortion. Groovy is only on this list because of the connections of various stakeholders in that project. Have the muppets who voted for JavaScript ever heard of Rhino? I hope they never do. Beanshell seemed adequate to me, but still begged the question "why bother when I can write real code in java".

none!

The one good reason to use a scripting language is to allow your application to be extended by people who either cannot "write real code in java", or who you don't want adding code directly to your application. A perfect example is an application I am working on where the end user will need to be able to specify their own logical controls. Since it will be aimed at people with web design experience, it is natural for me to want to offer the ability for them to use javascript instead of requiring them to learn how to program in java, and worse opening up my application's internals to people who should not be poking around in there.

none!

While scripting does give the user the ability to provide non-Java code the pitfalls of providing this interface are similar to the ones for providing direct access to the Java API. In particular, security and usability are both difficult to provide with this type of solution. This is precisely the problem space that rules engines were designed to solve for. I've been particularly impressed with Drools as an open source solution. Also, Jena 2 shows promise although becoming familiar with RDF and OWL adds to the learning curve.

I want my time back!

Here's a great reason why: while using a dual 3.2GHz PC with 3GB RAM to develop J2EE applications a good chunk of my time is totally wasted waiting for Java to compile and deploy. Hotswap helps in some cases but it really needs to be as dynamic as the BeanShell instant hotswap/redeploy with any class change mechanism. When coding and testing I never want to have to manually compile or deploy my code. There is simply no need for either of these (incredibly expensive and wasteful) steps to happen. No performance penalties need to be paid for this nirvana environment of instant auto-compile and auto-deploy (even in a production environment if you like). BeanShell almost takes us there. Folks (J2EE vendors especially) need to wake up and integrate this (better) so developers can stop wasting their time and get back to coding.

I don't get it...

Why have a vote on languages currently aviable as scripting languages for the JVM? (via BSH), the only two options are Other and Perl?

I don't get it...

The poll is about what language you would like to use, not which you would like to be available to use. All of the named languages are already available to Java programmers (Perl is available through BSF).

Jython Alive, Asleep, or Dying?

Without detailed explanations, Python is a strong tool and embedded with Java improves interoperability. Thus, Jython. I am concerned (and have been surprised), however, with the life of the Jython project. The latest Jython packages are Jython 2.2 alpha 0 on July 31, 2003, and 2.1 on December 30, 2001, while Python marches onto 2.4. 2.3.4 is a major release in comparison with 2.1. There may be hope. The Jython sites provides: " there will be a new alpha release when this branch will be merged to the trunk. We expect then a new release for the summer, with 2.2 and some 2.3 features. Leading up to the release this site will be revamped. (Apr 2004)" Also, Jython articles having recently been emerging from IBM DeveloperWorks. Does Jython have the support to quickly bring Jython up-to-date with Python? And keep up with Python or will it continue to lag?

Jython Alive, Asleep, or Dying?

I am also very concerned regarding Jython. We tried to contact the project leaders but with no success. Jython combines the power of two very powerful platforms and it would be a waste to let it die. We would like to try and revive this important tool - please respond to this thread if you have suggestions on how to do it and/or you would like to volunteer and help us. Ze'ev & Saffi

Jython Alive, Asleep, or Dying?

Hi guys, Jython is picking up steam again.. We have guys looking at integrating Cruise Control and looking at tapping in to some knowledge that Fabio from pydev can provide... Hopefully we will come out with a plan soon... Please try to come on to the jython mailing lists and see if you can help out....there's some meaning ful discussions going on.

scheme

Scheme (various java implementations out there) and common lisp (ABCL) didnt make the list either. I guess they are so powerful the "scripting language" label would be misguiding ;)

scheme

only once have i acutally looked for a scripting language library for java and I was looking for Scheme. although a full LISP implementation would be nice too.

Other

C++

Other

duh, C++ isn't a scripting language, way to read the poll idiot.

Beanshell you heathens

How Groovy made it on the list and Beanshell gets treated like a step-child is beyond me. Insulting.

Beanshell you heathens

Maybe it's because Beanshell isn't so much a scripting language as it is a runtime interpreter of Java. Sure it's got some differences and special syntax features, but it still uses the Java language, so it's not really a language on it's own. As for perl, it's been supported by the Bean Scripting Framework (BSF) since it was an Alphaworks project.

Beanshell you heathens

+1 for BeanShell - it's the closest syntax to Java of any scripting language. And JavaScript? IMHO this gross hack is responsible for the bad rep of Java more than any other piece of software. It doesn't even deserve to have the name 'Java' in its name.

Beanshell you heathens

it was on the original list that we submitted to reviewers - they cut it. Personally, I am glad to see it recognized. We've solicited two articles on Beanshell for java.net - neither author delivered. Thanks for your feedback, daniel (head heathen?)

Beanshell you heathens

Why the h*** would they put Perl and Javascript in and not include BeanShell? BeanShell is the simplest, most Java like, JVM language out there! Shows a real lack of someting between the ears.

BeanShell???

Why isn't BeanShell included? It is up there with Groovy in my book. Super scripting language!

Other

What I really want is a powerful, easy to use, high performance language with syntax and semantics familiar to Java programmers but with no extra surprises. Oh and statically typed as well.

Other

Take a look at pnuts. Can't understand why it is not mentioned Very good language, good documentation and very fast. Kees.

Other

It seems good all around, but how close is it to Java syntax? Specifically, the use of "::"...

Other

Pnuts 1.1 can use ".", as well as "::". Any other things you don't like?