A native executable runs compiled code directly for a target operating-system and processor platform, avoiding an intermediate virtual-machine execution layer. This can reduce startup time, memory usage, and CPU work, though it gives up some portability. section 8.4.5
Compiling Java ahead of time
Java normally runs on a virtual machine. GraalVM Native Image can instead compile a Java application ahead of time into a platform-specific executable, removing runtime abstraction layers and reducing execution overhead. section 8.4.5
Use native compilation when the efficiency gains justify platform-specific output:
- Reduce startup time, memory usage, and CPU work. section 8.4.5
- Balance efficiency against the portability provided by a virtual machine. section 8.4.5



