• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Groovy Performance

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am confused about the performance and deployment issues of using Groovy.

My understanding is that Groovy is always compiled to bytecode.
In addition, it can be pre-compiled into a class/jar file.

Do any language features require dynamic compilation?
In other words, is it possible to always pre-compile an application.

Is only the JRE required? Or is the JDK needed for some features?

Rob.
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can pre compile everything. You can deploy Groovy apps using only the JRE.
 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Correction,

From my understanding (though the authors can feel free to correct me) you can deploy your Groovy app using only the JRE AND the Groovy jar. All Groovy apps compiled or not have a dependency on the Groovy runtime included as part of all groovy distributed jars. Also, all features will be available whether you pre-compile or not.
 
reply
    Bookmark Topic Watch Topic
  • New Topic