News for hackers. Stuff that matters.
Re:RedHat Mandrel Makes Java Native by entha_saava on Thursday July 02, 2020 @06:28AM (#23711770)
If rampant reflection becomes a taboo because of native compilation, that would be great.
Re:RedHat Mandrel Makes Java Native by jillesvangurp on Thursday July 02, 2020 @08:24AM (#23712364)
This is already happening with Kotlin driving people to use functions instead of annotations. E.g. the kofu project gets rid of most anootation driven configuration for Spring Boot; specifically with the aim to speed up startup and ultimately enable native compilation via Graal.
Re:RedHat Mandrel Makes Java Native by augusto-moura on Thursday July 02, 2020 @11:01AM (#23713958)
You can use annotations without reflections, you just need another build step, take a look at Micronaut [1], it really looks like Spring Boot but makes all annotation processing in compile time. Because of that it also supports GraalVM as first class

[1] http://micronaut.io/

Re:RedHat Mandrel Makes Java Native by stuff4ben on Thursday July 02, 2020 @02:39PM (#23716518)
Really, thanks for sharing this. I just perused the docs and its got me excited to get back into Java development again!
Re:RedHat Mandrel Makes Java Native by haram_masala on Thursday July 02, 2020 @01:45PM (#23715910)
Thanks for sharing this, I’m new to Micronaut - it seems to solve a lot of problems inherent to Java.