Android is getting its groove on

Groovy 2.4 is here

JAXenter Editorial Team
Dancing robot image via Shutterstock

Groovy 2.4 has restored part of the JVM language’s mojo – this latest release is the first to officially provide support for running Groovy on Android.

While the news about Groovy’s sponsorship cut from Pivotal has come as a surprise to most, the promise of at least two new releases has been partially met with the release of Groovy 2.4.

Full Android support

The biggest highlight of the new version is definitely the support of Android: Thanks to the Groovy-Android-Gradle plugin (the common groovyc-Tool cannot be used for Android bytecode), Android applications can now be written in Groovy. Being built on the Groovy-supported Swiss Knife Library helps to minimize the typical Android (and raw Java) boilerplate code.

But Groovy 2.4 has even more to offer. The new version ensures a reduction in the produced bytecode, which leads to lower memory consumption of the internal data structures and delivers generally better performance. This includes cheaper compare operations and optimization of primitive type conversions with the as operator.

In addition, the Groovy developers for this version have fine tuned existing AST transformations and have also made improvements in GKD methods and the Groovy shell. To view a complete list of changes, head over to Groovy’s official release notes.

Community hype and support

Due to the language’s newly acquired sponsorship woes, a lot of focus has been given to this most recent release, with the community putting the spotlight on Groovy in every way it can. The Twitter-verse is buzzing and filled with positive reinforcement under the #groovylang hashtag.

A Twtpoll has also been set up to allow people to vote on which company they would prefer to sponsor the Groovy and Grails development teams in the wake of the Pivotal announcement.

Inline Feedbacks
View all comments