Native code execution
Native code execution has been attempted several times during the long history of Java, but it never got much adoption by developers. First of all, it required some external tooling as this isn't provided out of the box by the platform's vendor. For monolithic applications, the advantage of native execution is minor because, in the long run, due to the advancement in the Hot Spot technology, the speed of Java can become closer to native execution (provided that you are willing to pay for a slower application bootstrap).
Nevertheless, in a microservice scenario, spinning up a bunch of native services plays a crucial role, and even optimizing seconds or a fraction of a second can play a huge difference. In much the same ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access