4 ms·
"I love the promise of Graal native binaries. At the moment I'm unable to get it to work with my codebase." [2] "Building is a resource hog. I set up a VM with
by Mawr 4y ago
"I love the promise of Graal native binaries. At the moment I'm unable to get it to work with my codebase." [2]
"Building is a resource hog. I set up a VM with 2 CPUs, 100GB of disk space, and 8GB of memory, and even a relatively small project took over 10 minutes to build." [3]
"the power of the Java ecosystem is libraries, but you cannot use 99% of them because they just use too much reflection and I am afraid they will never be prepared for Spring AOT" [3]
"DI does not work inside a native binary at runtime, you need some tool which does the whole DI at compile time (Spring Native and Quarkus do that)" [1]
"I do not even think we are in the alpha stage. For example, for 2 days I am fighting with a simple microservice using JPA, MySQL, some transactions and without success. Fixed at least 4 bugs, and now I gave up. I cannot imagine what problems can arise in mid-size projects." [3]
"GraalVM [not] supporting Swing and JavaFX "out of the box"." [4]
"Even assuming your app run as intended (which is already complicated enough, you will have to run their java agent to register all reflections), there is no telling how it will perform. For example record methods are currently implemented using reflection which completely obliterate performance: https://github.com/oracle/graal/issues/4348 https://github.com/oracle/graal/issues/4348" [1]
This is my pet peeve. Presumably you're very familiar with the single binary Java deployment story you're describing. And yet, somehow everything you say is false. It's incredibly vexing to have to go out and verify such claims about subject matters that I'm not that familiar with because the supposed experts are basically lying through their teeth :/
[1]: https://www.reddit.com/r/java/comments/vc9s3u/what_is_your_experience_with_graalvm_native/ https://www.reddit.com/r/java/comments/vc9s3u/what_is_your_e...
[2]: https://www.reddit.com/r/java/comments/e9m51x/whats_your_opinion_java_devs_of_graalvm/ https://www.reddit.com/r/java/comments/e9m51x/whats_your_opi...
[3]: https://www.reddit.com/r/java/comments/10cv886/personal_experiences_with_native_graalvm_images/ https://www.reddit.com/r/java/comments/10cv886/personal_expe...
[4]: https://www.reddit.com/r/java/comments/wodoy4/if_you_were_the_single_main_designer_of_java_what/ https://www.reddit.com/r/java/comments/wodoy4/if_you_were_th...