|
|
|
|
|
by cantrevealname
3546 days ago
|
|
I was amazed to find a C++ "Hello, World" program was several megabytes. It turned out that it was due to statically linking in all of Unicode support. In the particular build environment it was invisible to the programmer; i.e., you wouldn't even realize it unless you went looking for it. I'm wondering if the same kinds of things happen with Facebook, Skype, etc. It's not the actual Facebook or Skype code that's so huge, but that they've been around for so long and so many people worked on them that they have a very complex build procedure and they're linking in all kinds of unnecessary junk, but no one has the responsibility or desire to go prune it. |
|
The first thing I had in mind was frameworks like PhoneGap, Exponent and the likes. I wonder if these have a big impact on app size.
But it's certainly true that it's not always extra stuff to slap on that makes things bloated. Could just as well be the stuff you don't go out of your way to keep out.