Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

umm... massively better performance?


Groovy isn't slow. My guess is that the performance is quite similar, where Kotlin is faster in some cases and Groovy is faster in some other cases.


Is that remotely true? It's been a long time since I benchmarked it but groovy performance (outside of primitives) was dreadful last time I looked. I'd be pleasantly shocked if it could overcome the dynamic language costs.


Not sure when you last looked, but it gets a performance boost from invokedynamic on JDK 1.7 [1] and another from @CompileStatic [2]. Groovy 2.0+ is much better than previous versions.

Related, Grails 2.4 adds support for using @CompileStatic in controllers and services, whereas previously you had to keep that in separate classes in src/groovy.

1. http://groovy.codehaus.org/InvokeDynamic+support 2. http://docs.codehaus.org/display/GroovyJSR/GEP+10+-+Static+c...




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

Search: