Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog post: How to Compile Java into Native Binaries with Mill and Graal #4340

Merged
merged 20 commits into from
Jan 31, 2025
Prev Previous commit
Next Next commit
.
  • Loading branch information
lihaoyi committed Jan 16, 2025
commit b5a8cfead9c169a2c4890f20c0e689314328fccf
15 changes: 10 additions & 5 deletions blog/modules/ROOT/pages/7-graal-native-executables.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,16 @@ any real-world application making heavy use of real-world Java frameworks and li

A full discussion of how to handle reflection and dynamic classloading when building Graal
native images is beyond the scope of this article, but depending on what framework you may be
using there may be existing support. For example frameworks like https://micronaut.io/[Micronaut]
or https://quarkus.io/[Quarkus] are designed from scratch to minimize reflection to allow native
image generation, while older frameworks like
https://docs.spring.io/spring-boot/reference/packaging/native-image/introducing-graalvm-native-images.html[Spring Boot]
have also introduced support.
using there may be existing support.

* Frameworks like https://micronaut.io/[Micronaut]
or https://quarkus.io/[Quarkus] are designed from scratch to minimize reflection to allow native
image generation

* Older frameworks like
https://docs.spring.io/spring-boot/reference/packaging/native-image/introducing-graalvm-native-images.html[Spring Boot]
have also introduced support, making it easy to configure Graal to handle the pattern
of reflection and classloading that the framework performs

## Conclusion

Expand Down
Loading