freenode/lisp - IRC Chatlog
Search
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: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: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: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: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
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.
16:15:41
beach
srandon111: But if your representation shows in the protocol, then the dependency is there. That is something you would want to avoid.
16:17:44
beach
srandon111: For example, let's say you want to define the data type "editable sequence" and you decide to represent it as a binary tree. If then you have a functions left-child and right-child in your protocol, then it is blatantly obvious that you are representing the editable sequence with a tree.
16:18:41
beach
srandon111: If instead you have only functions for inserting, deleting, and querying the sequence at certain positions, your protocol is now independent of the repersentation.
16:19:46
beach
The very definition of the Common Lisp semantics is "interactive" in that the semantics are defined by a suite of interactions.