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.
[ Parent
| on HN ]
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
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.