stoavio wrote:An empty app should be mere kilobytes...
..if it were possible to build an empty app with LiveCode.
When a standalone is built, the LiveCode runtime engine is statically bound to your stack file. The size of the runtime engines for each platform can be seen in the Components/Tools/Runtime folder with the IDE install.
Lower-level languages impose a compile-runtime cycle, in which smaller executables are possible because your code is translated to native machine instructions, and with good modern compilers only those instructions needed for your specific app are there.
But of course using such a language would mean learning the lower-level APIs for each platform, manually managing memory, and all the other things that tend to go along with lower-level languages.
Like using Assembler when speed is critical, if executable file size is an absolute must-have then there are many other languages which can accommodate that. But like using Assembler, the development cost of doing so is often much greater.
One of the reasons we have so many programming languages to choose from is that each offers a different mix of benefits. Scripting languages like LiveCode have become enormously popular for applications, but any scripting language will need the core interpreter/compiler embedded with the developer's scripts to run.
So the size of any truly stand-alone executable made with a scripting language will be the size of the developer's code and objects + the size of the scripting engine.
IIRC correctly, the size of the Toolbook engine has for a long time been much larger than even LiveCode 7, and the complete Python engine is about three times as large. Even Xojo, which claims native compilation, still has a core engine that weighs in at about 4 MB.
The LiveCode engine is comprised of somewhere just under a million lines of code, so even a seemingly "empty" app is far from empty.
Version 7 is a superset of capabilities beyond any version before it, and the additional size accommodates some very nice automatic encoding detection and management for Unicode, along with a number of other new features.
For the future, the team is exploring ways to possibly support factored runtime building, in which unused elements of the engine may be omitted from the build. But given the way so much of the engine is integrated across various internal elements, it remains to be seen how practical that will be. But they are looking into it, and it'll be interesting to see what they come up with.
For now, if you don't need Unicode then 6.7 is a fine choice. Its engine is about two-thirds the size of Apple's Calculator app, and about half the size of a majority of apps on my phone.