3 ms·
You think java devs have it bad with ecosystem churn? The six months I spent in "modern javascript" was hilariously unstable. Classpath scanning is so unnecess
by AtlasBarfed 5y ago
You think java devs have it bad with ecosystem churn? The six months I spent in "modern javascript" was hilariously unstable.
Classpath scanning is so unnecessarily hard in the JVM. I get they want flexible classloaders that may not have foreknowledge of the classes they can load, or that may not be simple zip/jars or filesystem-resident class files.
But the fact that minority seems to doom classpath scanning to ludicrous workarounds and contortions rather than simply provide a "what classes do I know" api on the classloader that isn't a guarantee seemed ridiculous.
The JVM should provide a cached map of the available classes. Jars/zips should optionally be able to provide a list/structure for fast scanning.
"Full compilation" can still rely on shared libraries though, correct? Same boat there?