Re:Ten Things You Can Do with GraalVM (2018)
by chris_overseas on Friday July 14, 2023 @02:22PM
(#36727907)
/s noted, and sure Oracle are litigious, but the GPL community version of GraalVM, plus "early adopter" enterprise version licence[0] seems farily clear, and reasonable - at least as far as Oracle are concerned?
"...Note that the licensing terms with GraalVM are different from those of OpenJDK. In the case of OpenJDK the risk you open yourself to is security compliance (which you might overcome using other means) in the case of GraalVM you are in violation of the license at the end of 4 years. Unlike security compliance however, you can purchase a license from Oracle and bring yourself into the legal all-clear..."
Re:Ten Things You Can Do with GraalVM (2018)
by kaba0 on Saturday July 15, 2023 @02:21AM
(#36734118)
Just stick to the non-enterprise version. Also, a medium article is hardly the arbiter of truth (and it talks about the enterprise version that became free recently)
Re:Ten Things You Can Do with GraalVM (2018)
by psd1 on Tuesday July 18, 2023 @09:44AM
(#36772085)
No sarcasm tag required. Exposure to oracle is a business risk. I expect any architect to think pretty hard before allowing anything owned by oracle into the stack.
Re:Ten Things You Can Do with GraalVM (2018)
by kaba0 on Saturday July 15, 2023 @02:25AM
(#36734134)
How is it slow? At least compared to similar kind of projects? It is most definitely not a CRUD app you can just throw more devs at.
The project is quite young and already has a JS interpreter that is on-par with V8 when warmed up, and a Ruby interpreter that is roughly 3x faster then the next fastest one. Oh and in the meanwhile, they can run optimizations across language boundaries, that’s just insanely cool!
Sure, the good performance is partially due to the underlying JVM that has seen plenty of development time, but I think that Graal develops in a decent pace.
Re:Ten Things You Can Do with GraalVM (2018)
by fulafel on Friday July 14, 2023 @03:19PM
(#36728660)
This gist narrowly predates Clojure GraalVM tooling that enables eg Babashka and Clojure usage in cloud FaaS with low cold start latency. And quick startup CLI tools like clj-kondo (a Clojure linter).
It seems there's some WebAssembly related things cooking GraalVM, currently just support for running wasm binaries but will be be interesting to see if eventually we get support for targeting WebAssembly (if WebAssembly one day gets good GC support).
Re:Ten Things You Can Do with GraalVM (2018)
by kasajian on Saturday July 15, 2023 @04:18PM
(#36740567)
The decision to make Clojure JVM based and so slow to startup has slowed it's adoption to a much more significant level than anyone in the Clojure community is willing to accept.
Re:Ten Things You Can Do with GraalVM (2018)
by chii on Sunday July 16, 2023 @01:22AM
(#36743948)
is slow startup really such a big issue for the use cases that clojure aims to address?
I find most web server applications do not require fast startup times. its only recently with the advent of serverless that it is a potential problem.
And for desktop applications, the jvm platform itself is the bigger friction, rather than slow startup times. People just didn't prefer the non-nativeness of the jvm for some reason.
Re:Ten Things You Can Do with GraalVM (2018)
by abc_lisper on Monday July 17, 2023 @07:13AM
(#36756561)
And yet, the percentage of Java programmers using clojure is less than 1%. Looked at another way, how many applications need the fast startup time, and why can’t they be run in a daemon?
Re:Ten Things You Can Do with GraalVM (2018)
by xonix on Friday July 14, 2023 @03:27PM
(#36728767)
For me the most relevant selling point of GraalVM is beeing able to compile to native self-contained executable. But on the other hand, Golang delivers on this aspect much better (or at least much faster).
Getting sued by Oracle.
/s
[0] https://www.oracle.com/downloads/licenses/graal-free-license... https://blogs.oracle.com/java/post/graalvm-free-license
"Is GraalVM Free for production use?" - https://lvijay.medium.com/is-graalvm-free-for-production-use...
"...Note that the licensing terms with GraalVM are different from those of OpenJDK. In the case of OpenJDK the risk you open yourself to is security compliance (which you might overcome using other means) in the case of GraalVM you are in violation of the license at the end of 4 years. Unlike security compliance however, you can purchase a license from Oracle and bring yourself into the legal all-clear..."
"Oracle goes on hunt for Java non-compliance" - https://www.computerweekly.com/news/365531580/Oracle-goes-on...
This was the first thing that came to mind when I saw this.
The project is quite young and already has a JS interpreter that is on-par with V8 when warmed up, and a Ruby interpreter that is roughly 3x faster then the next fastest one. Oh and in the meanwhile, they can run optimizations across language boundaries, that’s just insanely cool!
Sure, the good performance is partially due to the underlying JVM that has seen plenty of development time, but I think that Graal develops in a decent pace.
It seems there's some WebAssembly related things cooking GraalVM, currently just support for running wasm binaries but will be be interesting to see if eventually we get support for targeting WebAssembly (if WebAssembly one day gets good GC support).
I find most web server applications do not require fast startup times. its only recently with the advent of serverless that it is a potential problem.
And for desktop applications, the jvm platform itself is the bigger friction, rather than slow startup times. People just didn't prefer the non-nativeness of the jvm for some reason.
https://news.ycombinator.com/item?id=33893120