3 ms·
There are Lisps with similar semantics. It faded (further) out of popularity for a number of reasons, but it still has its niche.
by packetlost 3mo ago
There are Lisps with similar semantics. It faded (further) out of popularity for a number of reasons, but it still has its niche.
- Quitschquat 3mo agoWhich Lisps were those? I'm kinda interested in this space.
- mike_ivanov 3mo agoAll Common Lisps can do that, though it is not a part of the standard. See e.g. (sb-ext:save-lisp-and-die)
- packetlost 3mo agoCL and Janet both come to mind as supporting image-based deployment.
- jlokier 3mo agoIt's not widely known, but GNU Emacs works like this. When you launch the Emacs editor, you're loading an Emacs Lisp image that was populated at build time by running Lisp code, with the resident Lisp definitions "dumped" to make an image file. The image file used to actually be the `emacs` executable you'd run, using a clever but non-portable mechanism called `unexec` to make an executable. But as of version 27.1 (in 2020), the image file is separate from the executable for portability reasons.
- vincent-manis 3mo agoThere are a number of image-based Scheme systems. Chibi Scheme and Chez Scheme come to mind. In both, you can save an image and reload it at a later time, though for very good reasons, most people start each session with a fresh copy of the default image.
- nobleach 3mo agoSBCL does this.
- pjmlp 3mo agoAdditionally, although not the same, this kind of relates to JIT caches as well.