Hello SLIME developers,
Just tried to add slime-restore support for snapshots in SBCL on unix. Patch is in the attachment.
NB. SBCL is able to save snapshot only when exactly one thread is running; therefore, using :fd-handler or nil communication style is mandatory.
My implementation of exec-image currently assumes that SBCL was started using its full pathname (no PATH variable lookup is done). There is no native execve support in SBCL, so I've added a binding using define-alien-routine. SBCL FFI resolve alien references when they are called, so this addition shouldn't affect SLIME when this function is not used (i.e. there should be no problems on UNIX systems that can't resolve "execve" with dlsym(), unless slime-restore is actually called).