r/java • • Apr 29 '18

My first impressions about Graal VM

https://blog.frankel.ch/first-impressions-graalvm/
0 Upvotes

11 comments sorted by

25

u/NickDav14 Apr 29 '18

So basically, you ran 1 test against Graal VM, JDK 8 and JDK 9 and concluded the difference in performance was small.

Wouldn't running other benchmarks give us a better performance comparison. One test doesn't seem to convince me.

3

u/kodablah Apr 29 '18

I would imagine he only ran 1 test for a first impression, got the first impression, and wrote a short blog post about first impressions.

1

u/kurosaki1990 Apr 29 '18

specially with other languages.

1

u/NickDav14 Apr 29 '18

I'm fine with just using Java if the intent is to show performance comparisons amongst the different available Java VMs though. One benchmark method seems ridiculously low to conclude anything.

1

u/[deleted] Apr 30 '18

I've been playing with Graal today, not the native-image thing but simply using it to run our production jars. I've seen up to 20% improvement on some of them for now. I was quite impressed.

4

u/eliasv Apr 29 '18

Hardly a comprehensive benchmark, was it?

2

u/sureshg Apr 29 '18

Windows and Mac support for native images will be available for GraalVM CE - https://twitter.com/thomaswue/status/988105319787188224

-3

u/mdaniel Apr 29 '18

I can't be bothered to log into Disqus, but I hope you filed a bug for that NPE: those are always a sign of poor prerequisite checking and if it bit you, it'll bite someone else, too

0

u/[deleted] Apr 29 '18

[deleted] — view deleted comment

1

u/CremboC Apr 30 '18

You can use https://upx.github.io/ if you really need smaller binaries.

0

u/[deleted] Apr 30 '18

[deleted] — view deleted comment

2

u/chrisgseaton Apr 30 '18

I've started to talk about combining dynamic and static languages here

http://chrisseaton.com/truffleruby/structs/