Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Groovy And Groovy++,Are they different?

i recently came to know that groovy++ have been released, what is the major difference is in Groovy and Groovy++?

like image 695
Ant's Avatar asked Mar 26 '11 09:03

Ant's


2 Answers

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)
like image 200
tim_yates Avatar answered Nov 26 '22 15:11

tim_yates


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.

like image 32
conrad carter Avatar answered Nov 26 '22 13:11

conrad carter