freenode/lisp - IRC Chatlog
Search
3:12:07
srandon111
White_Flame, ok thanks i did that... also if i have to admit that for now... to me it seems more appealing the lambda philosophy of scheme languages
3:13:26
White_Flame
srandon111: yes. Scheme started as an academic minamalist language, which meant you need to build everything from scratch
3:13:36
aeth
Other than the use of ` , ,@ and GENSYM, macros are basically just regular list processing.
3:13:49
White_Flame
common lisp formed by coalescing together a bunch of commercial Lisp implementations, and has a very practical basis
3:14:00
aeth
GENSYM is... a bit more complicated. Basically, you want to do (let ((g (gensym))) `(defun foo (,g) ... ,@body)) if you don't want the code in body (which is the user's code) to be able to see the variable g
3:16:52
aeth
srandon111: well, Scheme prefers lambda and CL prefers (unhygienic) macros. You can do one style in the other language (at least if the Scheme provides a defmacro or define-macro)
3:18:02
aeth
Even Scheme has LET. Just like Scheme prefers non-generic code (compared to CL, which is often generic), but even Scheme's + is generic because converting between number types would be annoying.
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