Re:Command-line apps with Clojure and GraalVM: 300x better s...
by jackpeterfletch on Friday July 20, 2018 @12:15PM
(#17576315)
I remember reading somewhere that Java 9 modules will solve exactly this, as only the required parts of libraries are loaded, and significantly on the used parts of the standard library.
[ Parent
| on HN ]
Re:Command-line apps with Clojure and GraalVM: 300x better s...
by kimi on Friday July 20, 2018 @12:18PM
(#17576340)
The JVM already does that - it only loads things it needs. So you can have a 2M dependency and only use one static function of a single class in there, and it will only load that - but you have to distribute the whole JAR. With Jigsaw, things are split up, so you can have only the stuff you need.