Back to proposals-2013
Title: Groovy is a high performance language
Proposer: russel_winder
Type: Presentation (with interaction)
Duration: 90 minutes
Description: It is often thought that using a statically typed languages compiled to native code is the only route to
fast code, even if at expense of increased verbosity and/or complexity of source code. Languages using a
virtual machine are still disparagingly lumped with interpreted languages and labelled “scripting
languages”. Java shows us that statically compiled languages targeting a virtual machine can be as fast as
native code (by using just-in-time compilation techniques). Dynamically types languages remained
disparagingly lumped with interpreted languages and labelled “scripting languages”. Then came invokedynamic.
Groovy (along with JRuby, Jython, Clojure) is a dynamically typed language running on the JVM. This gives
all the runtime meta-object protocol that is seen as both good and evil depending on who you are, and how
you view Groovy and other such languages. At the same time it admits of a just-in-time compiler. Can Groovy
now compete with Java at runtime performance now that invokedynamic is an integral part of the JVM and
compiler writers for Groovy and other dynamic languages have incorporated its use.
Does the JIT enhanced JVM perfomance now challenge native code languages such as C, C++, D, Go. Are dynamic
language now as fast as static ones. Will Kotlin and Ceylon change things?
For this and other exciting microbenchmark comparisons, be at this session.
Roger: Yes
Asti - sure