i recently came to know that groovy++ have been released, what is the major difference is in Groovy and Groovy++?
Asked
Active
Viewed 5,442 times
3 Answers
24
From the groovy++ page http://code.google.com/p/groovypptest/
Groovy++ is statically typed extension of Groovy programming language. Additionally to all goodies of standard Groovy it adds a lot of functionality
- compile time checking of code
- as fast as Java performance of compiled code
- easy mixing of statically and dynamically typed code
- very powerful type inference
- tail recursion traits (interfaces with default implementation)
- extension methods (compile time categories)
- standard library of utilities for functional programming, concurrency and distributed computing (early prototype stage)

tim_yates
- 167,322
- 27
- 342
- 338
-
14It should be mentioned that I believe Groovy++ development has ceased, and static checking is being implemented for Groovy 2 (currently in beta) – tim_yates May 10 '12 at 08:06
-
See also: [What happened to groovy++?](http://stackoverflow.com/questions/13010207/what-happend-to-groovy) – lpacheco Sep 15 '14 at 17:37
7
There is a good article on what Groovy++ brings to Groovy here. It includes benchmark results, so you can see the performance difference vs. Groovy and straight Java.

conrad carter
- 266
- 2
- 10
6
Groovy++ is an extension to the core Groovy 1.x language. You drop the GroovyPP.jar file into the Groovy library directory, add @Typed in front of the package keyword in your code, then run your code just as you would in core Groovy. It infers the types, AND runs faster!

Vorg van Geir
- 672
- 6
- 13