is groovy as fast as java
DESCRIPTION
Some initial experiments to investigate whether further experiments are justified, investigating the performance comparison between Groovy and Java. (Java 8 vs Groovy 2.2.0-SNAPSHOT)TRANSCRIPT
No
Obviously so,Java is a statically typed, compiled language andGroovy is merely a dynamic scripting language.
http://en.wikipedia.org/wiki/The_Tortoise_and_the_Hare
…
Proof spirit?
…
…
Simples Александр Орлов 2009
● –
–
4=∫0
1 1
1x2dx
● –
=4n∑i=1
n 1
1i−0.5n
2
“ ”
● –
–
● ●
–
● ●
● ● …
● ●
●
●
Work in progress.
Java Simple Loop
Java Stream Map And Sum
● –
–
● –
– ●
–
–
– Uncertainty of correctness.
Idiomatic Groovy
● ●
Functional Groovy
Not timed.
ROFLAO
…
Annotated Idiomatic Groovy
● ●
Annotated Functional Groovy
Not timed.
Static Compiled Groovy
● ●
● –
–
● –
–
● –
–
…
Static Compiled Low-level Groovy
● –
–
● –
–
● –
–
☺
http://en.wikipedia.org/wiki/The_Tortoise_and_the_Hare
No
The data must be wrong.The statistics aren't valid.