3 ms·
> Java cannot run without a JRE Yep... As I recall from responses to this critique, 99.9% of C programs cannot run without support from libraries either, usual
by Xurinos 17y ago
> Java cannot run without a JRE
Yep... As I recall from responses to this critique, 99.9% of C programs cannot run without support from libraries either, usually already installed with the OS. Even though the executable size looks small, you still end up loading up a large code image into memory as you statically include all those dependent user mode libraries.
I have not tried it myself, but I remember reading something that suggested you could install part of the Lisp image on your system and have a slimmed down executable that knows how to autoload the main image (there was some kind of bootstrapping technique in there).
In a sense, this is an advantage with a Lisp binary as compiled by SBCL in that almost everything you need is bundled into the one image (easy to deploy!)...with the caveat, of course, that you will still need whatever external libraries the binary requires.
Note that I have little experience with other Lisp systems -- and not enough experience, really, with SBCL to be more than a novice on this subject. Like others, though, I was looking for the "how to make an executable" answer, and what I found satisfied me. I can mix Lisp binaries with other stuff I use at work.