Hacker News new | ask | show | jobs
by kernal 716 days ago
Wouldn't the native executable be smaller using modularized code?
1 comments

I don't see why it would be. The native image static analysis decides on the level of individual classes, methods, and even class fields what to include in the image and what not. It doesn't compile entire packages or modules into the image, only parts it considers reachable. And the module system shouldn't influence this reachability analysis I think.