The new version of the popular programming language
Groove has been released.
The following are some of the changes in the
version 2.0 of the Groovy programming language.
- Add static type checking to the
language: what is this? well this is the capacity that the compiler can
check the signatures and the types of the method this does not mean that
the compiler make a static compilation.
- Static
compilation: this means that the method that is market with the @CompileStatic
annotation would be compiled in a static way and refers to all the static
linking of the compilation.
- Covers the new language features of java
7 to be aligned with the Java language interoperability.
- Add Multi Catch Block, Binary Literals,
- InvokeDinamis: in the new version the
groovy compiler adds the JVM instruction for invokedinamics calls, gain in
the future from the optimizations of the JVM for this bytecode instruction.
- Modular Groovy: the modularization of
groovy will be permit to the runtime to organize and divide the runtime in
several modules permits to groovy to be adapted to new Environment and
performance requirements.
Enjoy of groovy 2.0 and see the following link Groovy 2.0 for more information.