freenode/#clasp - IRC Chatlog
Search
20:28:17
kpoeck
Bike: are now all literal strings that are loaded in a compiled-file of type (SIMPLE-ARRAY ...) and no longer SIMPLE-BASE-STRING?
20:29:16
Bike
all i changed is that now strings that aren't base-strings aren't dumped as base-strings
20:29:31
kpoeck
core_float_to_string_free seems to assume that (ext:float-nan-string most-positive-double-float) returns a SIMPLE-BASE-STRING which is no longer true
20:32:01
Bike
oh, well, if you have your read "" as a character string patch, it'll not be a base string any more
20:44:07
kpoeck
In lispworks there is *DEFAULT-CHARACTER-ELEMENT-TYPE*, do we have something like that?
20:53:24
kpoeck
yes, if i set (setq *DEFAULT-CHARACTER-ELEMENT-TYPE* 'character) than (type-of "") returns SYSTEM:SIMPLE-AUGMENTED-STRING
20:54:21
kpoeck
(setq *DEFAULT-CHARACTER-ELEMENT-TYPE* 'base-char) (type-of "") -> SIMPLE-BASE-STRING
20:56:55
kpoeck
so with default-settings (setf (char (copy-seq "AAA") 0) (code-char 256)) fails in lispworks too
22:39:53
drmeister
./waf configure had problems upgrading sicl - so I removed it and then ./waf configure works.
23:23:21
stassats
as i said "if that's the quality of the lisp code what can be said about the whole benchmark?"
23:24:03
karlosz
thanks! that's good news then, because i have other patches that sped my build up more :)
23:24:05
stassats
but i guess it's too much to ask for well written lisp code, but in how many other languages are they not experts?
23:26:19
stassats
and it feels like the exercise in "make a wrong statement on the internet and wait for it to be corrected"
23:26:37
stassats
except for "publish poorly optimized code and wait for someone to prove you wrong"
23:41:31
selwyn
yeah i got that earlier. i thought it went away, but it turns out that i actually built the latest clasp with AST - i just realised
23:43:55
selwyn
could it be due to not having distclean'd? it's what i assumed when i saw it and indeed i hadn't
23:45:56
Bike
https://github.com/robert-strandh/SICL/blob/87eb4fead5c65eaa5b8954ca2f7fa47cf5dd08e8/Code/Cleavir/CST-to-AST/convert.lisp#L17
23:48:21
Bike
it matches the backtrace too, that method is the last function before the error basically
23:51:05
karlosz
this is why i stuck with cherry picking the patches i made - even loading sicl in clisp broke a couple of things recently
23:59:23
Bike
well i was going to make more cleavir changes tomorrow anyway, so i can update it with that
23:59:41
Bike
related, if anyone knows what name i should use for the multiple-value-setq-prog1 thing, now's the time
2:29:53
karlosz
and reinitialize-data on top of the inlining function bar can go away, and so can set predecessors next to inlining-function
2:31:05
karlosz
patch for getting rid of both forthcoming after this build finishes, but its at 90/445 and hasn't died yet
2:31:54
drmeister
My laptop ran out of power in the middle of ASDF build - and it hung up - so I'm starting it again.