4 ms·
Graal seems to be continually almost ready to use, but never quite there.
by ravedave5 4y ago
Graal seems to be continually almost ready to use, but never quite there.
- kaba0 4y agoTwitter runs most of their infrastructure on Graal EE, so it sounds quite reliable to me.
- metadat 4y agoWhat do you mean? I've been using it as the default JVM since 2019 or so in both development and production. My experience has involved zero headaches or serious problems due to Graal, and it comes with appreciable performance improvements. One of the more impressive and badass hardcore programming language engineering efforts, and still under active development right now. It's remarkable technology. Amazing that it comes from within Oracle, I was surprised.
- za3faran 4y agoAre you able to use JFR or similar tools with GraalVM?
- Scarbutt 4y agoMy experience has involved zero headaches How? most libs use reflection.
- kasperni 4y agoGraalVM comes with its own JIT the Graal Compiler [1] which I believe was what metadat was talking about. You are probably thinking about the native image generation which can cause issues with reflection and other dynamic constructs. [1] https://www.graalvm.org/22.3/reference-manual/java/compiler/ https://www.graalvm.org/22.3/reference-manual/java/compiler/
- cogman10 4y agoReflection only matters if you are using graal for AOT. It's still a full JVM.
- fniephaus 4y agoAlso, reflection is supported in AOT mode. The analysis, however, does require reachability metadata in some cases. In the best case, libraries provide and maintain appropriate configuration for this. Reachability metadata can also be shared via https://github.com/oracle/graalvm-reachability-metadata https://github.com/oracle/graalvm-reachability-metadata.
- the-alchemist 4y agoThere's two pieces to GraalVM: 1. The new JIT 2. The Native Image, AOT Reflection is an issue for (2), not (1).
- pjmlp 4y agoTwitter has been using it in production for ages now.
- gavinray 4y agoAnother vote from me for "I use it in regular JIT/JVM mode for my daily development + production JVM". It's a kickass JVM with stellar performance and bonus profiling/observability tools.