❯ Guillaume Laforge

Which JDK versions do you use?

On the Groovy project team, we were wondering about which base JDK to support.

So far, even the latest and greatest Groovy (version 2.1.4 just released today), we still support JDK 5 — despite being an End-of-Life’d product for a long while already.

At conferences, I often ask the question on which versions of the JDK attendees are using, locally and in production, and it seems that JDK 5 has almost totally vanished off the face of the planet, but despite JDK 7 being quite mature now, it’s still JDK 6 that’s more widely deployed.

Read more...

Gaelyk 2.0 is released

This is with great pleasure that the Gaelyk team announces the release of Gaelyk 2.0, the lightweight toolkit for developing applications on Google App Engine with the Groovy dynamic language.

For the impatient, go directly to the download page!

It’s been long in the making, and there are quite a lot of new features to speak about, like the migration to Groovy 2.1 and GAE 1.8, the new Search DSL, improvements to the URL routing system, various performance optimizations, and more.

Read more...

Creating a new project with Gradle

Since I started using Gradle for building my projects, as soon as I needed to create a brand new project from scratch, I wished that Gradle guided my hand and created the right directory structure and minimal Gradle build script.

A bit less than two years ago, I was inspired by Dierk’s gist providing a basic build that provided two tasks, one for creating the directory layout, and the other one to create the Gradle wrapper. I turned that gist into a blog post of my own, with just minor version updates, as I wanted to remember how to do that the next time I’d create a new Gradle-based project.

Read more...

Contribute a dedicated CI server for Groovy

The Groovy team is always looking at ways to further improve and encourage the collaboration and contributions from the community.

Today, the we are** looking for a sponsor for a dedicated server** that would host our new Continuous Integration server. If you or your company is interested in helping Groovy by contributing hardware and/or hosting, please contact us.

The details of the project are available here.

On behalf of the Groovy team, thanks in advance for your help and support!

Read more...

Joins us for GR8Conf Europe! Early bird price ending soon.

Like every year, GR8Conf Europe takes place in the beautiful city of Copenhagen in Denmark. It’s where all the talented and cool Groovy ecosystem folks meet, and spread the love about their technologies, including Groovy, Grails, Gradle, Spock, GPars, and more.

I’ll be speaking about the latest developments on the Groovy 2.x branch, and what our plans are going forward. You can also have a look at the preliminary agenda published on the GR8Conf website, to see familiar names like Jürgen Höller, Venkat Subramaniam, Dierk König, Graeme Rocher, Burt Beckwith, Mr Haki, Luke Daley, Russel Winder… You’re sure to find some great content delivered by the experts themselves!

Read more...

Groovy 2.1 is released

Here’s my announcement for the Groovy 2.1 release, and be sure to check out the full release notes of the release!

The Groovy team is pleased to announce the release of Groovy 2.1.0.
With over 1.7 million downloads in 2012, a strong ecosystem, Groovy continues its development and adoption, refines existing features and evolves new ones.

In this new release, Groovy 2.1:

  • offers full support for the JDK 7 “invoke dynamic” bytecode instruction and API,

    Read more...

Brownie dans un mug

L’autre jour sur Facebook, je suis tombé sur cette liste de “life-hacks”, dont certains sont vraiment malins… et parmi eux, il y avait une recette de brownie dans un mug. Je l’ai retrouvée , mais j’ai également trouvé d’autres variantes, comme celle de Lindt.

Du coup, par gourmandise et pour faire plaisir à ma fille, nous nous sommes concocté notre propre version de ces deux recettes, que je vous livre aujourd’hui !

Déjà, les ingrédients :

Read more...

First beta of Groovy 2.1 released

Since the world didn’t seem to end today, it is with great pleasure that we bring under your Christmas tree the following presents: the release of Groovy 2.1.0-beta-1 and Groovy 2.0.6.
Groovy 2.0.6 is a bug fix release for our Groovy 2.0.X line, whereas Groovy 2.1.0-beta-1 contains new features.
You can download Groovy at the usual location: http://groovy.codehaus.org/Download

The JIRA release notes can be found here:

More extensive release notes will be available for the final Groovy 2.1.0 release, but please let me highlight the following key new features:

Read more...

GPars reaches 1.0!

Václav Pech just announced the final release of GPars 1.0, the concurrency and parallel toolkit for Groovy and Java.

We’ll bundle GPars 1.0 in the Groovy 2.1 distribution coming very soon!

Let me quote some of the key changes and enhancements of this release (quoting from the “what’s new” section of the user guide):

Asynchronous functions

  • Allowed for delayed and explicit thread pool assignment strategies for asynchronous functions
  • Performance tuning to the asynchronous closure invocation mechanism

Parallel collections

Read more...

InfoQ's readers JVM languages research

InfoQ is running a reader-driven survey titled “What’s your next JVM language”.

Among the candidates to be ranked, you’ll find:

  • Groovy
  • Java 8
  • Ceylon
  • Kotlin
  • Clojure
  • Scala
  • Xtend
  • Fantom
  • Mirah

As well as the languages ported to the JVM like:

  • JRuby
  • Jython
  • Javascript (Rhino and soon Nashorn)
  • Erlang
  • Scheme

The interesting aspect of the survey is that it’s not just a mere poll, but you can rank those JVM languages across two criterion: the percentage of lines of code (less or more), and the adoption (like now, in 3 months, in a year). It certainly gives more perspective than a mere poll on your favorite language. The downside might be that it’s too easy to rank the ones you dislike negatively without objectivity, but well, polls are like that too :-)

Read more...