News for hackers. Stuff that matters.
Re:RedHat Mandrel Makes Java Native by ksec on Thursday July 02, 2020 @04:31AM (#23711152)
Reading the article hurts me. The link from RedHat [1] is much better.

What is hard to understand is Quarkus.

>The Quarkus project was launched in 2019 and provided that evolutionary step needed for Java developers in this new world of Kubernetes and serverless.

And on its webpage

>A Kubernetes Native Java stack tailored for OpenJDK HotSpot and GraalVM, crafted from the best of breed Java libraries and standards.

So correct me if I am wrong. Quarkus is an umbrella term for all the "selected" Open Source project that works perfectly on tops of Mandrel / GraalVM and Kubernetes?

[1] https://developers.redhat.com/blog/2020/06/05/mandrel-a-comm...

Re:RedHat Mandrel Makes Java Native by sradman on Thursday July 02, 2020 @06:29AM (#23711777)
GraalVM has an AoT (ahead-of-time) compiler that links against a “Substrate VM” [1] library. It [still starts as]* bytecode but an executable is generated that has fast startup times and low disk/memory footprint. These properties are important for subsecond Serverless Function spin-up and small container images starting with a minimalist Linux like Alpine.

It’s not clear to me if JBoss/Redhat/IBM add anything new to the mix or are simply embracing GraalVM and are trying to make the experience seamless for their customers.

[1] https://www.graalvm.org/docs/reference-manual/native-image/

*update: edited bytecode sentence based on thu2111's comment

Re:RedHat Mandrel Makes Java Native by thu2111 on Thursday July 02, 2020 @07:14AM (#23711983)
The binary produced by native-image (which uses SubstrateVM) doesn't have any Java bytecode left in it. It's all AOT compiled machine code.
Re:RedHat Mandrel Makes Java Native by evacchi on Thursday July 02, 2020 @05:59AM (#23711621)
no, it is more than that. It's a framework that performs build-time optimization so that those open source projects bootup faster (e.g. move configuration to build-time) and compile natively (e.g. setup reflective accesses automatically or remove them altogether at run-time). Libraries usually provide a "Quarkus Extension" to do those optimizations.
Re:RedHat Mandrel Makes Java Native by eejjjj82 on Thursday July 02, 2020 @07:59AM (#23712193)
No that would just be marketing fluff, it's actually designed "to drive speed and efficiency of the Quarkus framework, with its 'supersonic subatomic Java.'"