Hacker News new | past | comments | ask | show | jobs | submit login

> If you are in the Java world, this is where it pays to switch some classes to Groovy and use its @Delegate annotation. It's a compile-time AST transformation

One of the authors of the @Delegate annotation (http://groovy.codehaus.org/gapi/groovy/lang/Delegate.html) went on to create Groovy++, a statically-typed booster for the dynamic Groovy Language, also working using an AST transformation. Just put @Typed in front of the your package, class, or method, and you'll see speed increases of 10 to 50 times over bare Groovy ( http://code.google.com/p/groovypptest/wiki/Performance ).

Unfortunately, the developers of Groovy aren't bundling it with their distro of Groovy. You'll need to go direct to http://code.google.com/p/groovypptest/downloads/list , or pick it up from http://groovy.codeplex.com .




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: