freenode/#lisp - IRC Chatlog
Search
19:32:02
gendl
Hi, is it possible to package cffi for a runtime deployment without depending on ASDF?
19:32:28
gendl
If i use (asdf:operate 'asdf:monolithic-compile-bundle :cl+ssl) to generate a standalone loadable .fasl file,
19:33:31
gendl
I don't need all CFFI's generate capabilities, just the runtime -- no easy way to disentangle ASDF from it?
19:35:29
jackdaniel
you may want to try to create a "mini" system which doesn't include extra goodies
19:39:34
jackdaniel
but I think ASDF injects itself into bundle dependencies (see `:no-uiop' option to program-system
19:42:59
gendl
jackdaniel: thanks. Looks kinda complicated to disentangle it. I'll have to circle back to it later.
20:06:50
Bike
emaczen: incf isn't customizable, it's just (incf thing n) => (setf thing (+ thing n))
22:09:25
vsync
hum, trying to find some pages I know I've seen ages ago about the definition of "protocols", as such, in Common Lisp
22:13:55
vsync
IIRC like many Lisp things, it's kind of amorphous: the collection of variables and methods named by exported symbols, or something like that. but I need to explain the concept to someone at work to summarize the overall package style, and I can't find the very slightly more stringent description I remember seeing
23:17:17
_death
vsync: for protocols, there's clim spec, amop, mikel evins's posts, dylan manuals, various papers (by amop authors, strandh, gabriel, etc.), many c.l.l posts
23:22:05
pookleblinky
Hm, tried running benchmarks between sbcl,ccl, and clisp, but each has an interestingly different focus on internal (time) function
23:33:03
Lord_Nightmare
what about cmucl? did that diverge enougb from sbcl by now to have a significantly different benchmark?
0:06:03
akkad
pookleblinky: (let ((btime (get-internal-real-time)) (etime (get-internal-real-time))) (format t "Delta is ~a~%" (/ (float (- etime btime)) (float internal-time-units-per-second))))
0:08:25
akkad
pookleblinky: http://zeniv.linux.org.uk/~ober/report.html has numbers from cl-bench. pretty recent
1:27:38
vsync
_death: cool, thanks... so frustrating because I have a vague mental image of a specific PDF or two and some Web pages, that laid it out in a specific way, just can't find any of them
2:04:01
vsync
what's a good name for a function to find a thing that exists, or make it if it doesn't, or return the thing?
2:05:47
vsync
it's not a function but an operation... i'm defining several operations that will have different implementations and substeps each, and will take paths depending on state at runtime and the arguments
2:05:58
pjb
If you make and keep it for next time, and you use some parameters to make it, then it's an "intern" operation.
2:06:23
vsync
so one of them involves making it or not, depending, but it's one high-level step from user's point of view (though not transparent to them)
2:08:31
vsync
if i can find a nice syntax to make (with-patient (pt-designator) ...) work you know I will
2:09:00
vsync
acquire is also nice because it can be acquiring a handle on the patient for the session, or acquiring new info about the patient
2:10:59
vsync
ok, now how about making an empty thing that will be later filled in and possibly actually used
2:13:23
vsync
trying to remember what the thing that makes the completely empty instance given to initialize-instance is called
3:00:00
vsync
beach: may not have seen this before but yes "protocol classes" and the explanation is exactly what I was thinking of
3:02:45
vsync
and now that I have that phrase, it seems CLIM was probably my prototypical example, which feels very familiar
3:03:34
beach
I did finally "get" object-oriented programming in CLOS when I read the CLIM II specification. I had red Keene's book before, but that was not enough.