freenode/#lisp - IRC Chatlog
Search
0:17:07
gendl
so should I be using (openmcl-socket:make-socket :connect :passive :local-address "::" ...) to get an ipv6 socket on CCL/linux?
3:19:46
jgodbout
(defparameter *optional-field-info* '(... (optional-bytes "" #.(make-array '(3) :element-type '(unsigned-byte 8) :initial-contents '(49 49 54))) ...)
3:19:56
jgodbout
at run time it tells me the type of optional-bytes is (simple-array 3), but the type information gets removed...
3:31:46
fe[nl]ix
jgodbout: ABCL might be losing type info of literal specialized simple-array instances
4:14:16
jgodbout
https://abcl.org/svn/public_html/doc/abcl-start.html#batch It is currently not known what this option does.
4:18:14
philweb
any recommendations/pointers on building a small-ish sbcl image for use on a mobile device? I did some poking around on tree shakers and what little I found didn't seem to favor that approach
4:21:25
philweb
only that I'm more familiar with sbcl and know it runs reasonably well on 64-bit arm. I'm open to ecl if you think that would be a better option for this use case
4:28:26
bhartrihari
philweb: If you want to make apps for android or iOS then EQL5-Android allows you to do that using ECL. If you just want to run some lisp code on ARM sbcl (though single threaded, IIRC) should be fine. CCL might be preferred here because it has threads if you need them on ARM.
4:31:20
philweb
bhartrihari: my app will actually be running on linux (i.e. pinephone for now) and have moderate ffi needs (gtk etc)
4:31:38
ldb
i find that a space efficient way to implement property list is let a hash-table of keys with each entry hold a hash-table of value to each objects
6:18:50
ldb
I have a CLOS question: if I have a class allocation slot with initform that makes a hashtable, will this solt reinitialized when a subclass is created?
6:48:29
ldb_
from some testing with CCL seems re-eval the defclass won't cause the hashtable to be recreated
8:16:04
easye
minion: memo for jgodbout: unfortunately that is an outdated piece of documentation, the ABCL User Manual describes is as "evaluates forms specified by arguments and in the initialization file ~/.abclrc, and then exits without starting a REPL".
11:35:32
VincentVega
ldb: yeah, but that could conflit with some function already in existence. and in that case, renaming the slot accessor would be inconsistent.
11:35:35
treflip
I know that sometimes slots and acessors are named exactly the same, but slots are prefixed with %
11:37:43
VincentVega
treflip: I saw somewhere that % is used for low-level dangerous functions... though that gives me an idea to name the accessors @name