Realistic-Nobody-816

joined 10 months ago
[–] Realistic-Nobody-816@alien.top 1 points 9 months ago

`save-lisp-and-die` just saves a core images which has the same global state as the current image, the saved image is executable when the `:EXECUTABLE` is `true`. However, you can only save the image for the underlying OS, eg, if you run `sbcl` in Linux, `save-lisp-and-die` will only save a Linux version.

The typical usages of `save-lisp-and-die` are, when you want to run this lisp image as a standalone exe, or when you load a lot of libs or large data set, you can save it to another image and run that image afterwards, that will save you a lot of loading time.

[–] Realistic-Nobody-816@alien.top 1 points 10 months ago

For Common Lisp:

  1. COMMON LISP: A Gentle Introduction to Symbolic Computation, David S. Touretzky
  2. Practical Common Lisp, Peter Seibel
  3. ANSI Common Lisp, Paul Graham
  4. On Lisp, Paul Graham
  5. Common Lisp Recipes, The Common Lisp Cookbook, ...