Search
Sunday, 21st of February 2021, 5:53:27 UTC
15:48:30
borodust
hmm, why initializing compiled code (shared libs) takes so looooong..
15:53:02
borodust
meaning ecl-compiled lisp code
17:07:20
jackdaniel
top level forms need to be replayed
17:08:05
jackdaniel
it is as if you had put all libraries in a single fasl and loaded it (in contrary to save-lisp-and-die which ecl doesn't have)
17:08:40
jackdaniel
there is a nice presentation about pdumper (for emacs), sounds like a good idea ecl could encorporate to have slad
17:08:49
borodust
i mean, i expect #'load to do smth during loading compiled code, but it takes quite a while anyway
17:08:52
jackdaniel
but it won't implement itself ;)
17:09:48
borodust
is there a way to speed things up? maybe dump this "replay" someway?
17:10:07
borodust
i mean, w/o rewriting ecl ;p
17:10:36
jackdaniel
try concatenating all source code and compiling fasl in sbcl, then load it in a fresh image
17:10:42
jackdaniel
it will take long time too
17:11:21
borodust
jackdaniel: quickloading counts?
17:11:22
jackdaniel
the point of evaluating top level forms is to propagate side effects, you may incorporate some optimizations, but in the end all forms (or their equivalents) must be evaluated at load time
17:13:07
jackdaniel
I need to go, see you \o
Sunday, 21st of February 2021, 17:53:27 UTC