6 ms·
> There's actually, imho, no need for native compilation for java Sure, that is true, but with native compilation available, Java can do even more things. Ther
by sgammon 2y ago
> There's actually, imho, no need for native compilation for java
Sure, that is true, but with native compilation available, Java can do even more things. There are other reasons, too: startup time, quicker time to peak performance, and better interfacing with FFM and JNI, to name a few.
> If you _need_ native, for one reason or another and it's non-negotiable, then choose a native compiled language.
You could do that, sure. But then you would need to worry about all the things that come with that. For example, memory safety -- GraalVM preserves memory safety guarantees with native binaries. Even binaries which themselves ship JIT features.