Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
meddlepal
· 5y ago · 0 comments
I think that is by design due to reflection needs. Hard to prune unused code when it might be called reflectively at any time.
Comments
[–]
brabel
5y ago
Which is why GraalVM requires you to explicitly mention what types should be available for reflection.
[–]
meddlepal
OP
5y ago
Yea, but that's impractical in a lot of cases where frameworks or large libraries are involved.
[–]
brabel
5y ago
There are good frameworks that already work well with GraalVM native, including Quarkus and Micronaut. They avoid reflection altogether in most cases.