Build: Optionally offer an optimized core for REPLs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Generating a core with pre-loaded packages (namely sb-bsd-sockets, sb-posix,
sb-introspect, sb-cltl2, asdf) is a common optimization technique for faster
REPL startups. The technique is detailed in the SLIME and SLY manuals.
Some may argue that modern machines are fast enough. But from personal
experience even on very fast hardware, I find that it makes for a much smoother
experience, especially for people using SLIME / SLY as their shell :)
In [here](https:/
maintainer a more sophisticated technique of on-demand core generations.
He suggested something else: Ask the SBCL developers if we could generate such an
optimized core when building SBCL.
Obviously, the size of the core makes it prohibitive to include it in the "sbcl"
package of the various operating systems. But adding an option could allow
packagers to offer a sbcl-repl-core package which users could install and use
directly, without having to generate one themselves.
What do you think?
Why does it have to be done by SBCL? Trivial to do yourself.