3 ms·
In some of these cases, I suspect the main difference is related to how the language's runtime libraries are linked to the executable. Chicken, for example prod
by Zak 18y ago
In some of these cases, I suspect the main difference is related to how the language's runtime libraries are linked to the executable. Chicken, for example produces a 15k executable. Running that executable requires the presence of a much larger dynamically linked libchicken.
As mentioned in the article, an executable SBCL core includes all of SBCL. Considering that Java and .NET produce "executables" that are actually executed by their respective runtimes, I think it might be more fair to SBCL to compare the size of a FASL. It's 828 bytes for a FASL compiled from
(print "Hello, world!")
(sb-ext:quit)