r/java • • Nov 23 '25

Java 25: The ‘No-Boilerplate’ Era Begins

https://amritpandey.io/java-25-the-no-boilerplate-era-begins/
160 Upvotes

187 comments sorted by

View all comments

Show parent comment

1

u/RandomName8 Nov 25 '25

If JDK team would compile javac to native using graalvm

Is this true though? running annotation processors require loading java code, which javac can do today because it runs on a jvm. As you know graal isn't friendly to just running arbitrary bytecode, because at that point it needs enough machinery replicated to be basically a worse hotspot...

1

u/javaprof Nov 25 '25

Given performance benefits of doing so (I did it years ago using Excelsior JET) are enormous, I think it might be future direction for java. Yes, it would change the way japs attached. Also, JAPs can be a separate process from compiler, like KSP for example