4 ms·
Baroque it is. Clojure might be a death sentence for the proguard approach, considering how deeply the terms clojure and invokedynamic seem to be connected. But
by usrusr 6y ago
Baroque it is. Clojure might be a death sentence for the proguard approach, considering how deeply the terms clojure and invokedynamic seem to be connected. But if you happen to depend on some deep library stacks only for some minor scraps of it's functionality it might still be worth it, define a blanket exception for your own code and, if not picked up automatically, for the few entry points where you call from clojure into the java world. If you don't mind keeping twice as much as strictly necessary, kicking out some low hanging fruits shouldn't be that hard. (but in combination with build times and future friction a division against proguard might still be very, very rational)
- geokon 6y agoRight, yeah. That was exactly the issue. Tons of garbage gets dragged in when you use a little corner of a huge library. And I'm mostly leaning on Java libraries. Yet it seems it somehow couldn't figure out which parts I was using and which I wasn't. I'll try to give it another shot eventually. Thanks for the tips :)