I would not add another language, scala is great for scripting. Most likely, scala is usually faster than groovy (there are old tests on shootout.alioth.debian.org, but for some reason groovy seems to have dropped out of the current tests?). however, responsiveness is suboptimal, that is, as you know, running the “interpreter” used for scala REPL is a compiler that compiles on the fly. this happens with a slight delay for the actual compilation, but then the execution speed is the same as the usual compiled scala. on modern computers you will no longer notice this delay.
There are several small tools built on top of the scala REPL. another advantage of being in the same language may be that it is probably easier to attach characters to the interpreter, since all scala specific things (such as synthetic methods, related objects, etc.) are transparently visible.
edit: although the original post is from 2009, there are tests from the latest scala 2.8 and groovy 1.7 spreading through the comments showing the difference in magnitude: http://stronglytypedblog.blogspot.com/2009/07/java-vs-scala-vs- groovy-performance.html
source share