Search code examples
performancegrailsgroovy-2

Groovy @CompileStatic and Grails


Looking at article on DZone about improved performance with Groovy2 when compiling with @CompileStatic annotation, I wonder to what extent can I take advantage of it? I'm guessing annotate controllers, domain objects and services? Does Grails take advantage of it by default when app gets compiled?

Link to article.


Solution

  • Current Grails version (2.1) run groovy 1.8.x

    In Grails web you can see the roadmap, where Groovy 2.x integration is featured

    http://grails.org/Roadmap