Remix.run Logo
tombert 3 days ago

I worked for a drug discovery company doing Java [1] since we were using Kafka Streams very liberally, but everything was done with the OpenJDK Temurin distribution. It was drilled into our heads on the first day do not install anything from Oracle. I think they were afraid of some weird lawsuit unless they bought an expensive license.

I totally get it, but it made me a bit sad because they were even weary of something like GraalVM for some projects where startup time was becoming an issue; I think the Community Edition for GraalVM would have been fine but I think they had this "we don't touch anything with an the Oracle name directly attached with a ten foot pole". Which is totally fair.

[1] It's not hard to find which one but I politely ask that you do not post it here in relation to this thread.

mort96 3 days ago | parent | next [-]

I'm sure GraalVM is nice enough technology but I don't understand why anyone would actively choose to use a JVM from Oracle if they can avoid it.

tombert 3 days ago | parent | next [-]

The Ahead of Time compilation is pretty nice for some stuff. Generally startup time is significantly improved, so if you're writing command line tools in particular it can be cool.

mort96 3 days ago | parent [-]

Most languages I write are ahead of time compiled with pretty good startup time so it's not really a need I have that I feel GraalVM solves?

tombert 2 days ago | parent [-]

Yes but Java has historically had pretty long startup times. If you want to write Java specifically then GraalVM is probably still the best option for AOT.

pjmlp 2 days ago | parent | prev [-]

OpenJDK is from Oracle as well.

vips7L 3 days ago | parent | prev [-]

HotSpot also has lots of things to speed up start time. Project Leyden has made a lot of advancements. AOTCache and crac etc.