2 ms·
groovy++ might be worth a look if performance is a consideration. http://code.google.com/p/groovypptest/ http://code.google.com/p/groovypptest/ might be more
by mgkimsal 16y ago
groovy++ might be worth a look if performance is a consideration. http://code.google.com/p/groovypptest/ http://code.google.com/p/groovypptest/ might be more recent at https://github.com/alextkachman/groovypp https://github.com/alextkachman/groovypp - not sure.
Each version of core groovy gets a bit faster at certain things, but the dynamicness of it will probably mean it'll always be somewhat slower than pure java. You need to weigh the benefits - for me, those benefits are faster app dev time (via Grails) vs the language speed. Most of the stuff I'm doing is db reads and writes, so the db itself is often a speed bottleneck, regardless of what language I'm using.
- drKarl 16y agoDidn't know about Groovy++. I'll read more about it!! Is it that faster than regular Groovy??
- mgkimsal 16y agoFor some tasks, yes. Benchmarks: http://www.google.com/buzz/alex.tkachman/2qog71JrDvU/Latest-Groovy-Benchmarks-against-Java-It-seems http://www.google.com/buzz/alex.tkachman/2qog71JrDvU/Latest-... Graph: http://www.google.com/buzz/106045618354056753098/YPrgoMfGL8z/Java-vs-Groovy-benchmarks http://www.google.com/buzz/106045618354056753098/YPrgoMfGL8z... Well, this is Groovy++ vs regular Java, not against Groovy. http://www.indicthreads.com/7355/what-is-groovy-how-does-it-compare-with-java-and-groovy/ http://www.indicthreads.com/7355/what-is-groovy-how-does-it-... has a bit more comparison which might be useful.