4 ms·
If rampant reflection becomes a taboo because of native compilation, that would be great.
by entha_saava 6y ago
If rampant reflection becomes a taboo because of native compilation, that would be great.
- jillesvangurp 6y agoThis 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.
- augusto-moura 6y agoYou 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/ http://micronaut.io/
- haram_masala 6y agoThanks for sharing this, I’m new to Micronaut - it seems to solve a lot of problems inherent to Java.
- stuff4ben 6y agoReally, thanks for sharing this. I just perused the docs and its got me excited to get back into Java development again!