4 ms·
The Flash-compiled apps would not be nearly so big if Apple allowed shared libraries to be installed once and loaded dynamically, instead of forcing them to be
by pavlov 17y ago
The Flash-compiled apps would not be nearly so big if Apple allowed shared libraries to be installed once and loaded dynamically, instead of forcing them to be statically linked into each and every app that uses them, thus bloating app size with redundant code.
But that's crazy talk -- it's not like iPhone OS is an Unix with several[1][2][3] well-defined and proven extension mechanisms, or anything...
[1] http://developer.apple.com/mac/library/documentation/DeveloperTools/Reference/MachOReference/Reference/reference.html http://developer.apple.com/mac/library/documentation/Develop...
[2] http://developer.apple.com/mac/library/documentation/CoreFoundation/Reference/CFBundleRef/Reference/reference.html http://developer.apple.com/mac/library/documentation/CoreFou...
[3] http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WhatAreFrameworks.html http://developer.apple.com/mac/library/documentation/MacOSX/...
- pederb72 17y agoThen Apple would have to trust that Adobe (or other 3rd party library developers) will never introduce regression bugs in their dynamic library, and never break the ABI, otherwise you risk that an update in a library will break lots of existing apps.
- elai 17y agoThat is what library versioning is for. One app uses X version, Y app uses another. The worst case scenario is that it would be just the same as the current static library memory usage we have now.
- pederb72 17y agoAll risk could be removed if an app could only use a specific version of a library I guess (even a bugfix micro release can introduce regressions). However, adding support for 3rd party libraries would add quite a bit of complexity to the app store, since each app would have to include information about which external libraries it uses, and when downloading an app, iPhone OS would also have to download all the external libraries, if not already installed.