Search
Wednesday, 20th of June 2018, 19:24:15 UTC
19:28:50
knobo
jackdaniel: does ecl garbage collect functions that is defined with a gensym as name?
19:30:08
knobo
jackdaniel: like this: (defmacro def () (let ((n (gensym))) `(defun ,n () (format nil "t"))))
19:35:25
jackdaniel
knobo: I think it doesn't, but I don't know it as a fact
23:20:05
Ukari
is defmacro has different with eval in efficiency?
23:23:55
Ukari
for example, (defmacro excute (&body expr) `(progn ,@expr)) (excute (print "foo") (print "bar")) and (eval (list 'progn (list 'print "foo") (list 'print "bar")))
23:26:58
Bike
you're comparing apples and oranges
23:57:17
White_Flame
defmacro will give your expr to be compiled at compiled time, and run at runtime
23:57:33
White_Flame
eval will compile and run at runtime (for implementations which auto-compile)
23:58:04
White_Flame
plus, since macros return source code that art part of a compilation unit, they're better tied to their surroundings than a standalone eval
23:59:03
White_Flame
especially since macros can be inside lexical scopes
0:37:22
White_Flame
Are there examples of binary websockets served by CL somewhere?
0:59:45
johnvonneumann
** NICK Guest11899
1:11:56
LdBeth
Any recommendations on persistent object store implementations
1:12:22
akkad
LdBeth: sure, leveldb, lmdb, and manardb
1:12:47
akkad
the first two use cffi and external libs, but manardb only uses osicat
1:14:00
akkad
manardb uses clos, and is the more lispy
1:14:50
LdBeth
Thanks, I will have a look
1:18:25
LdBeth
akkad: I saw manardb only support Linux
1:25:01
akkad
it works on macos too
1:25:32
akkad
https://github.com/danlentz/manardb might work on bsds as well
4:50:31
akkad
manard is a lot faster than the other two, but not very acid complaint.
5:13:17
knobo
In my slime buffer, at the top, I have a line saying "SBCL Port: ... Pid: ...". How can I add (machine-instance) to that line?
5:14:22
akkad
M-x customize-group RET slime
5:14:44
akkad
should be in there, otherwise might have to check the slime elisp code
5:15:13
knobo
Ah... it's called header-line
5:29:07
beach
Good morning everyone!
5:32:52
akkad
how's the wife and kids?
Thursday, 21st of June 2018, 7:24:15 UTC