Re:Kotlin: Statically typed programming language targeting t...
by olavgg on Tuesday July 15, 2014 @04:26PM
(#8038765)
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.
[ Parent
| on HN ]
Re:Kotlin: Statically typed programming language targeting t...
by kasey_junk on Tuesday July 15, 2014 @04:44PM
(#8038871)
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.
Re:Kotlin: Statically typed programming language targeting t...
by liquidcool on Tuesday July 15, 2014 @09:37PM
(#8040156)
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...