GPars: Solution For Common Concurrency Problems

Computers of current era are shipped with 4,8 or 16 processor cores. However writing multi-threaded code to leverage full power of multi-processor systems has always been a challenging task. Java does provide APIs for writing multi-threaded code, but developer has to deal with low-level concurrency primitives like threads, locks or synchronized blocks which makes the […]

Meta-programming with AST Tranformations in Groovy

Have you ever come across a situation where you want to auto inject a common method or field at compile time to set of classes? AST Transformations is the solution.

AST Transformations provide a wonderful way of manipulating code at compile time via modifications in Abstract Syntax Tree. AST Transformations provides Groovy with improved compile-time […]