|
|
|
|
|
by contrarian1234
900 days ago
|
|
Unfortunately you can't treeshake a language that supports reflections. So it's not like a C++ program where unused parts get dropped. You can manually remove dependencies or.. I think in the Android world you specify what classes can be reflected on and then strip unused code with Proguard (though I could never get it working with Clojure) Would love to be corrected if I got any of it wrong |
|
On Java's case, all AOT toolchains and embedded deployment workflows have supported similar capabilities.