3 ms·
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 pr
by ksec 6y ago
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-community-distribution-of-graalvm-for-the-red-hat-build-of-quarkus/ https://developers.redhat.com/blog/2020/06/05/mandrel-a-comm...
- evacchi 6y agono, 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.
- sradman 6y agoGraalVM 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/ https://www.graalvm.org/docs/reference-manual/native-image/ *update: edited bytecode sentence based on thu2111's comment
- thu2111 6y agoThe binary produced by native-image (which uses SubstrateVM) doesn't have any Java bytecode left in it. It's all AOT compiled machine code.
- eejjjj82 6y agoNo that would just be marketing fluff, it's actually designed "to drive speed and efficiency of the Quarkus framework, with its 'supersonic subatomic Java.'"