3 ms·
umm... massively better performance?
by sadris 12y ago
umm... massively better performance?
- olavgg 12y agoGroovy 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.
- kasey_junk 12y agoIs 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.
- liquidcool 12y agoNot 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 http://groovy.codehaus.org/InvokeDynamic+support 2. http://docs.codehaus.org/display/GroovyJSR/GEP+10+-+Static+compilation http://docs.codehaus.org/display/GroovyJSR/GEP+10+-+Static+c...