JCWasmx86
Joined 5 years ago
Karma
1,264
Submissions
211
Member since
Feb 23
Joined 5 years ago
But I think for a distribution it makes more sense to link swift programs dynamically against the runtime libraries, like it's the case for e.g. the C standard library, OpenSSL etc., as you can assume they all work with the same version and are ABI-compatible.
I tested it with a nearly static build (Still links against glibc and friends): 55MB get stripped to 44MB, so not that much. 27MB of that is icudt_swift65_dat, so I guess you would have to optimise that first
But in the end it would be again an arms race of adblockers and Google, so it would change basically nothing.
The only thing left is that jail-breaking an iPhone seems to be harder than rooting an android phone.