Search
Saturday, 28th of March 2020, 4:15:24 UTC
6:20:30
beach
Good morning everyone!
7:37:06
adam4567
a recent sbcl save-lisp-and-die 53 megs! Is it normally so huge?
7:37:41
no-defun-allowed
With compression or no compression?
7:38:15
adam4567
No compression, not sure * (sb-ext:save-lisp-and-die "cmimage.mem" :executable t)
7:38:24
adam4567
but no real trimmings either
7:38:26
no-defun-allowed
The core file I have to make SLIME start faster is 46MB, but I can't remember if it's compressed.
7:38:46
adam4567
46 is in a similar ball-park
7:39:05
no-defun-allowed
Okay, it's uncompressed (you pass :compression <compression quality; 1 through 9> to compress)
7:39:15
beach
adam4567: That order of magnitude is to be expected. It contains things like the compiler.
7:39:43
adam4567
OK. Understood. Will see how runs, anyway.
7:40:07
no-defun-allowed
But yes, Common Lisp images usually contain the debugger, compiler, and everything that was present before you S-L-A-Died.
7:40:43
no-defun-allowed
I get 40MB and 11MB uncompressed and compressed (using :compression 9) images, respectively.
7:42:58
adam4567
Hmm. OK. We'll see how it goes. (It sure took several seconds to save).
7:44:39
adam4567
Like, to use it, sbcl must load first anyway, then load the image.
7:45:08
adam4567
whereas it'd be faster to load sbcl and evaluate a form
7:45:27
no-defun-allowed
Er, the image is basically a copy of everything in memory, SBCL doesn't need to load anything else.
7:45:35
adam4567
load sbcl, load a package, evaluate a form, I mean
7:46:33
beach
adam4567: What do you think "load sbcl" involves?
7:47:36
no-defun-allowed
I sure hope not; the SLIME manual told me dumping an image would make it load faster.
7:49:05
adam4567
looking through sbcl manual now, trying to find how to Load the image .. do forgive me. sbcl -M image.mem I thought
7:49:43
no-defun-allowed
sbcl --core core-file
7:49:53
no-defun-allowed
I think -M is for CLISP.
7:52:27
adam4567
right, last time I used it was clisp. Thanks
7:53:31
adam4567
3.3.1 Runtime Options OK
9:20:55
Lord_of_Life_
** NICK Lord_of_Life
10:04:22
Gnuxie[m]
Will ELS 2020 be on twitch?
10:09:48
Shinmera
Possibly. There's no decision yet.
10:11:28
Gnuxie[m]
Oh wow, I didn't think it was being considered, that's exciting
10:12:00
Shinmera
If it is on Twitch it would be pre recorded talks and a reduced programme.
16:08:44
srandon111
guys i wasa reading how to design programs... and i wanted to understand what it means to design data and functions in an orthogonal way so that they are independent
16:09:01
srandon111
can you make me an example of when these are not orthogonal and hence not independent?
16:14:57
beach
srandon111: It depends on what you mean by "data". Typically, an abstract data type has protocol functions associated with it, but there is no explicit definition of the data type in terms of its representation.
Saturday, 28th of March 2020, 16:15:24 UTC