News for hackers. Stuff that matters.
Re:Ten Things You Can Do with GraalVM (2018) by amelius on Friday July 14, 2023 @01:59PM (#36727590)
One thing they didn't mention you can do with GraalVM:

Getting sued by Oracle.

/s

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?

[0] https://www.oracle.com/downloads/licenses/graal-free-license... https://blogs.oracle.com/java/post/graalvm-free-license

Re:Ten Things You Can Do with GraalVM (2018) by belter on Friday July 14, 2023 @06:24PM (#36730752)
This is Oracle you are talking about...clear and reasonable are not part of their vocabulary. Fantastic technology, massive legals risks.

"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...

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 appleflaxen on Friday July 14, 2023 @02:50PM (#36728271)
You nailed it

This was the first thing that came to mind when I saw this.

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 manojlds on Friday July 14, 2023 @02:56PM (#36728347)
Buzz around GraalVM died very quickly though. I had high hopes for it and innovation based on it.
Re:Ten Things You Can Do with GraalVM (2018) by ccleve on Friday July 14, 2023 @03:17PM (#36728639)
I still have high hopes. But man, the pace of development on this project is slow.
Re:Ten Things You Can Do with GraalVM (2018) by uticus on Friday July 14, 2023 @03:52PM (#36729054)
I was first introduced via TruffleRuby. But since then it's become less clear to me how viable TruffleRuby is versus JRuby.
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:17AM (#36756596)
Oh, we know the reason. It is because UI looked ugly and the latency was high.
Re:Ten Things You Can Do with GraalVM (2018) by fulafel on Sunday July 16, 2023 @03:36AM (#36744511)
I think the lowish % of people using GraalVM, Babashka and ClojureScript-on-Node and lack of other supporting evidence make this theory dubious.
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).
Re:Ten Things You Can Do with GraalVM (2018) by gavinray on Friday July 14, 2023 @05:10PM (#36729979)
RIP Chris, he was a true gem in the community. Often answered questions I had on the Graal slack.

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