Shrinking a Kotlin Binary by 99.2%
jakewharton.com
jakewharton.com
But true, if you care about every last byte, you might use Java instead. You might also use another language entirely.
I removed that part since the post was long enough.
If it matters, I've been programming more in Kotlin than in Java nowadays, and I have no trouble at all going back to Java... it's a nice language for its age and it gets the job done robustly. I even prefer Java for small applications that I want to distribute to users as small jars, for example. Kotlin has some nice benefits, but it's not a panacea that makes Java irrelevant - it actually strengthens the Java ecosystem in my opinion - it's another tool for the Java developer to use when appropriate.
Missed index. 0!=1.
The goal here was to just get it small enough, not the smallest it could possibly be.
My 500K objc ipa ported to swift http://mro.name/ShaarliOS now is ~8MB (OTA test ipa), ~28MB for production upload causing ~300MB traffic until finally uploaded via xcrun, taking 1h on my rural uplink.
Has anybody an idea how to get back to sane dimensions?