Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Apache Groovy
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Programming language}} {{Infobox programming language | name = Groovy | logo = Groovy-logo.svg | logo caption = Groovy Logo | paradigm = [[Programming paradigm#Multi-paradigm|Multi-paradigm]]: [[Object-oriented programming|object-oriented]], [[Imperative programming|imperative]], [[Functional programming|functional]], [[aspect-oriented programming|aspect-oriented]], [[Scripting language|scripting]] | year = {{Start date and age|2003}} | latest preview version = 4.0.0-beta-1 | latest preview date = {{start date and age|2021|09|06}}<ref name="github-releases">{{cite web|url=https://github.com/apache/groovy/releases|title=Releases - apache/groovy|via=[[GitHub]]|accessdate=2020-04-09}}</ref> | designer = [[James Strachan (programmer)|James Strachan]] | developer = Paul King (PMC Chair)<br />Jochen Theodorou (Tech Lead)<br />Guillaume Laforge<br />Cedric Champeau<br />Daniel Sun<br />Eric Milles | typing = [[Type system#DYNAMIC|Dynamic]], [[Type system#STATIC|static]], [[Strong and weak typing|strong]], [[Duck typing|duck]] | website = {{official URL}} | implementations = [[Gradle]], [[Grails (framework)|Grails]] | influenced by = [[Java (programming language)|Java]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[Smalltalk]] | influenced = [[Kotlin (programming language)|Kotlin]] | platform = [[Java Platform, Standard Edition|Java SE]] | license = [[Apache License 2.0]] | file ext = <code>.groovy, .gvy, .gy, .gsh</code><ref name="Groovy Goodness: Default Groovy Script File Extensions">{{Cite web|url=https://mrhaki.blogspot.com/2011/10/groovy-goodness-default-groovy-script.html|title=Groovy Goodness: Default Groovy Script File Extensions}}</ref> }} '''Apache Groovy''' is a [[Java (programming language)|Java]]-syntax-compatible [[object-oriented programming|object-oriented]] [[programming language]] for the [[Java (software platform)|Java platform]]. It is both a static and [[dynamic programming language|dynamic]] language with features similar to those of [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], and [[Smalltalk]]. It can be used as both a [[programming language]] and a [[scripting language]] for the Java Platform, is compiled to [[Java virtual machine]] (JVM) [[bytecode]], and interoperates seamlessly with other Java code and [[Library (computing)|libraries]]. Groovy uses a [[Curly bracket languages|curly-bracket syntax]] similar to Java's. Groovy supports [[Closure (computer programming)|closures]], multiline strings, and [[String interpolation|expressions embedded in strings]]. Much of Groovy's power lies in its [[Abstract syntax tree|AST]] transformations, triggered through annotations. Groovy 1.0 was released on January 2, 2007, and Groovy 2.0 in July, 2012. Since version 2, Groovy can be [[Type system#STATIC|compiled statically]], offering [[type inference]] and performance near that of Java.<ref>{{cite web|url=http://objectscape.blogspot.com.br/2012/08/groovy-20-performance-compared-to-java.html|title=Groovy 2.0 Performance compared to Java |date=25 Aug 2012}}</ref><ref>{{cite web|url=http://blog.evan-wong.com/2012/07/java-vs-groovy20-vs-scala-simple.html|title=Java vs Groovy2.0 vs Scala Simple Performance Test|date=10 Jul 2012|access-date=7 October 2012|archive-url=https://web.archive.org/web/20121210210126/http://blog.evan-wong.com/2012/07/java-vs-groovy20-vs-scala-simple.html|archive-date=10 December 2012|url-status=dead}}</ref> Groovy 2.4 was the last major release under [[Pivotal Software]]'s sponsorship which ended in March 2015.<ref name="blog.pivotal.io">{{cite web|url=http://blog.pivotal.io/pivotal/news-2/groovy-2-4-and-grails-3-0-to-be-last-major-releases-under-pivotal-sponsorship|title=Groovy 2.4 And Grails 3.0 To Be Last Major Releases Under Pivotal Sponsorship|date=19 Jan 2015}}</ref> Groovy has since changed its governance structure to a Project Management Committee in [[the Apache Software Foundation]].<ref name="Groovy Incubator">{{cite web|url=https://blogs.apache.org/foundation/entry/groovy_submitted_to_become_a|title=Groovy joins Apache Incubator|date=11 Mar 2015}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)