3 ms·
I think various Lisp implementations have their own way to do it, e.g save-lisp-and-die on SBCL. But, if what you mean "executable" is "small compact executabl
by anta40 2y ago
I think various Lisp implementations have their own way to do it, e.g save-lisp-and-die on SBCL.
But, if what you mean "executable" is "small compact executable like the one build by C/C++/Pascal, without extra Lisp runtime attached", perhaps you better look at something else, well like C.
- tiberious726 2y agoYou just need to use a lisp implementation that has a tree-shaker if you really care about binary size for since reason
- shawn_w 2y ago`uiop:dump-image` lets you do it in an implementation independent way.
- whartung 2y agoChicken Scheme makes very nice, tidy binary executables. "Hello World" is just 27K on Ubuntu.
- matrix12 2y agoGerbil scheme gives you the tiny bins and fully static binaries. No need to cargo cult portions of quicklisp with the binaries.