News for hackers. Stuff that matters.
Re:GraalVM by Hitton on Monday August 10, 2020 @05:30AM (#24107248)
I have hard time being deeply invested in GraalVM considering that the most interesting stuff tends to be kept proprietary (e.g. profile-guided optimizations).
Re:GraalVM by amelius on Monday August 10, 2020 @05:34AM (#24107272)
Also, if you're like me, you simply don't want to deal with the law firm called Oracle.
Re:GraalVM by mumblemumble on Monday August 10, 2020 @09:36AM (#24109046)
That's the worrying thing to me. Oracle's business model seems to be to keep prices reasonable just as long as it takes to build up a customer base, and then start squeezing.

I'm fascinated by GraalVM, but I'm hesitant to take even one step down a path that leads to Oracle using my actual software implementation platform to shake me down for money. I'd actually rather take the development effort and performance hit on using gRPC or similar to get my Java and Ruby modules talking to each other than to get locked into a potentially weaponized version of the Java platform.

Re:GraalVM by qorrect on Monday August 10, 2020 @01:04PM (#24111473)
> weaponized version of the Java platform

That was really sad to read. Oracle is really hurting the java language and ecosystem.

Re:GraalVM by mumblemumble on Monday August 10, 2020 @01:09PM (#24111537)
Realistically, this isn't super new. After what happened to Dalvik 10 years back, and later to Adopt, one could argue that the Java Community Process itself, and therefore the very soul of Java, has been weaponized.
Re:GraalVM by thu2111 on Monday August 10, 2020 @03:04PM (#24112815)
Most of GraalVM is open source.

If anything, their biggest commercial error may be open sourcing too much. GraalVM EE is quite expensive for what it adds over the open source versions.

Re:GraalVM by dividedbyzero on Monday August 10, 2020 @04:47PM (#24113792)
Is there a summary anywhere of what parts/features are and aren't open source?
Re:GraalVM by thu2111 on Tuesday August 11, 2020 @11:39AM (#24121514)
Basically more performance and managed Sulong (blocks memory management errors in C/C++ you run on the JVM). And for native AOT compiled images, G1 garbage collector (which is itself open source but the integration isn't).
Re:GraalVM by mumblemumble on Tuesday August 11, 2020 @11:50AM (#24121676)
The profile-guided optimization is a pretty big deal if you're concerned about performance. Based on the benchmarks I've seen, GraalVM Community tends to outperform JIT-compiled Java for applications where warm-up time is a significant portion of total run time, but JIT-compiled Java tends to outperform Graal, sometimes by a significant margin, for anything long-lived. Profile-guided optimization would theoretically close that gap.
Re:GraalVM by pjmlp on Monday August 10, 2020 @07:48AM (#24108232)
What about the law firm Apple?
Re:GraalVM by oblio on Monday August 10, 2020 @11:07AM (#24110047)
Does Apple sue its customers?
Re:GraalVM by pjmlp on Monday August 10, 2020 @11:18AM (#24110189)
Depends on how far people doing Hackintosh could be considered customers, and there are plenty of examples with Apple lawyers visiting the courtroom, but don't let that get into the way of hating Oracle.
Re:GraalVM by saagarjha on Monday August 10, 2020 @08:18PM (#24115832)
No more than the people who pirate Windows, I would think.
Re:GraalVM by rurban on Monday August 10, 2020 @08:48AM (#24108661)
And more worrying: Java, the language.
Re:GraalVM by pjmlp on Monday August 10, 2020 @07:47AM (#24108226)
Do you also have the same issue with LLVM, given the goodies that Apple, Sony, ARM and many others don't upstream?
Re:GraalVM by rbanffy on Monday August 10, 2020 @08:47AM (#24108658)
That's the most wonderful thing of GPL'ed software - enforcing the no-selfishness rule.
Re:GraalVM by pjmlp on Monday August 10, 2020 @11:20AM (#24110217)
Which is why Linux kernel and GCC are the surviving pieces, with almost everything else back to the PD/Shareware days.

Even Linux Foundation's Zephyr is under Apache license.

Re:GraalVM by pas on Monday August 10, 2020 @11:39AM (#24110439)
GPL is nice, but it seems it's a constant uphill battle - maybe after the GPLed thing becomes the standard things become slightly easier (economically upstreaming becomes cheaper than maintaining a fork).
Re:GraalVM by rbanffy on Tuesday August 11, 2020 @07:14AM (#24119140)
If you are just using the software and not selling or offering binaries, it's not a concern.

When you give back your improvements to the community, under any license, you free yourself from maintaining a separate fork.

Re:GraalVM by thu2111 on Monday August 10, 2020 @12:19PM (#24110896)
Java is GPL2 and LLVM is a BSD type license. So that appears to be backwards.
Re:GraalVM by cmkrnl on Monday August 10, 2020 @08:40AM (#24108608)
Good point, actually. At least for me, reveals a blind spot. Out of sight, out of mind.
Re:GraalVM by avasthe on Monday August 10, 2020 @11:49PM (#24117004)
Oracle is a law firm, others are technology firms.