2 ms·
> I'm not super familiar with the ecosystem, but does the GraalVM compiler provide a way to "tree shake" dependencies? Yes it does whole-world analysis and onl
by chrisseaton 6y ago
> I'm not super familiar with the ecosystem, but does the GraalVM compiler provide a way to "tree shake" dependencies?
Yes it does whole-world analysis and only compiles in classes, methods, and fields, which are actually used.
The executables do have a minimum size, because the GC code for example doesn't get any smaller, but I think 2 MB is around the area of what can be achieved, yes.