Live data from Hacker News

GraalVM: Run Programs Faster Anywhere

graalvm.org

141–150 of 218 posts

Re: GraalVM: Run Programs Faster Anywhere

#141

Earlier quoted context omitted.

Can it also target bytecode or .jar artefacts, this way all JVM languages which compiles into JVM bytecode can be benefited

Yes, GraalVM is built on HotSpot so it can run all bytecode languages too.

Cool thanks. Keen to try it with Scala and Clojure. Curious to know, How effective would be it's JIT compared to HotSpot ? Any pointers ?

Re: GraalVM: Run Programs Faster Anywhere

#142
post #130
post #64

Earlier quoted context omitted.

> "One VM to rule them all" Except a VM with a more liberal license could easily beat it in popularity.

Apparently the GPL was never an issue to those enjoying GNU/Linux, maybe you are enjoying your BSD desktop experience?

True, but on the other hand more people are using BSD than Linux, at least on the desktop/laptop because OSX is based on it.

Re: GraalVM: Run Programs Faster Anywhere

#143
post #130

Earlier quoted context omitted.

Apparently the GPL was never an issue to those enjoying GNU/Linux, maybe you are enjoying your BSD desktop experience?

True, but on the other hand more people are using BSD than Linux, at least on the desktop/laptop because OSX is based on it.

Doesn't OSX ship with more GPL code than BSD? It has a BSD kernel at it's core but it also has GNU tools and safari (forked from KHTML).

Re: GraalVM: Run Programs Faster Anywhere

#144
One VM to Rule them All. https://news.ycombinator.com/item?id=6358772

https://news.ycombinator.com/item?id=6232240

That was the earliest post I remember from HN. But I record there some other information scattered around a little before that.

So this is nearly 5 years coming. I am amazed what at first seems like fantasy, impossible work is now actually thing. 2012 / 2013 was the year when VM and JIT has lots of innovation. Rubinus, LuaJIT, SpiderMonkey and all those Javascript VM.

Re: GraalVM: Run Programs Faster Anywhere

#145
post #121

Keep in mind that while this is nice technology, it's Oracle-based, split in CE/EE (which in itself is not a problem, but CE doesn't run on macOS), and they will find a way to screw you over at some point in the future regardless of what you do, use or choose.

Like Google, Microsoft, Apple dropping tech, or replacing it with something else, just because. Oracle has done lots of nice things for Java, some of them with uncertain future or even tabu at Sun, like Graal's percusor MaximeVM or AOT compilation. It might not be a company loved by FOSS, but other than IBM there wasn't anyone else caring that much for Java's fate, Google specially did not even bothered. So I appreci…

Comparing Oracle to Google is like comparing China gov to US gov. They both do bad things, but they are not remotely the same, the difference is well over 10x.

Recent story about Oracle exercising copyright over the word "javascript": https://news.ycombinator.com/item?id=16862949

Remember when Oracle sued Google for re-implementing the Java standard library.

Remember the OpenOffice -> LibreOffice thing. Remember the Hudson -> Jenkins thing.

There's the enterprise sales/licensing tactics which I guess is not very familiar or visceral for most of us, me included. But I'm sure there's more I'm forgetting ...

Re: GraalVM: Run Programs Faster Anywhere

#146
post #84

Graal dev here. If you want to checkout all the sources/licenses of GraalVM CE. They are here: Graal: https://github.com/oracle/graal (GPLv2 with CPE) JavaScript with Node Integration: https://github.com/graalvm/graaljs (UPL - BSD license) Ruby: https://github.com/oracle/truffleruby (EPL, GPLv2, LGPL) R: https://github.com/oracle/fastr (GPLv2) Python: https://github.com/graalvm/graalpython (UPL - BSD license) LLVM/Su…

I am so super happy about the graaljs license choice ! Thank you so much!

This is actually the first time I heard of UPL, which from what i read in the FAQ [1] is basically a GPL v2 compatible Apache 2 license. Which was one of the problem Apple had with LLVM i think. I wonder why Apple decide not to use UPL?

[1] https://oss.oracle.com/licenses/upl/#_What_is_the_1

Re: GraalVM: Run Programs Faster Anywhere

#147
Really excited to see 1.0 release. Have been following Graal and SubtrateVM as a way to create native binaries (specifically CLI tools).

So, any plans to support Windows and MacOSx for CE?

Also, any support for cross-compilation to generate native-binary for a different target(something like Golang GOOS) ?

Re: GraalVM: Run Programs Faster Anywhere

#148
post #143

Earlier quoted context omitted.

True, but on the other hand more people are using BSD than Linux, at least on the desktop/laptop because OSX is based on it.

Doesn't OSX ship with more GPL code than BSD? It has a BSD kernel at it's core but it also has GNU tools and safari (forked from KHTML).

Yeah, but Apple doesn't mind sharing the source for those, if they make modifications.

These licenses prevent Graal VM from being used inside e.g. OSes and browsers with a more liberal license.

Re: GraalVM: Run Programs Faster Anywhere

#149

Earlier quoted context omitted.

Yes, GraalVM is built on HotSpot so it can run all bytecode languages too.

Cool thanks. Keen to try it with Scala and Clojure. Curious to know, How effective would be it's JIT compared to HotSpot ? Any pointers ?

There are research papers that discuss this. It depends a lot on the bytecode patterns. For Java it's usually as good as the current JITC unless you're relying heavily on auto vectorisation. For Scala it's about a 10% win on open source or a 20% win for enterprise Graal, according to Twitter at least.

For Clojure I don't know. But from what I understand Clojure produces quite inefficient bytecode, so it may benefit a lot.

Re: GraalVM: Run Programs Faster Anywhere

#150
post #130

Earlier quoted context omitted.

Apparently the GPL was never an issue to those enjoying GNU/Linux, maybe you are enjoying your BSD desktop experience?

True, but on the other hand more people are using BSD than Linux, at least on the desktop/laptop because OSX is based on it.

[deleted]
Post reply on HN