freenode/#sicl - IRC Chatlog
Search
11:16:37
no-defun-allowed
Got it, the bucket position is calculated modulo the index vector's length (which is the power of 2 above the pair vector's length), not the pair vector's length. Now I have all the eggs in one basket, and I can drop it as I please.
11:33:29
no-defun-allowed
Oddly, it appears putting all the string keys into one bucket makes GETHASH 10% or so faster than with them spread out. Maybe if you're kind enough to arrange the keys optimally, the program will get embarrased and will fall over.
14:23:44
beach
pnp: You should do: (asdf:load-system '#:sicl-boot) (in-package #:sicl-boot) and finally (defparameter *b* (boot))
14:24:16
beach
pnp: Some of the new SICL code is incompatible with the Cleavir version 1 systems. The SICL-BOOT system has the right dependencies.
14:26:31
beach
And since it is not really necessary for further development, I have not taken time to fix it.
14:29:43
beach
And I don't know whether any of the environments resulting from bootstrapping could play that role.
14:33:53
beach
Like I said, the REPL isn't that useful to me. So it would be there only to show off.
14:34:52
beach
Well, all the phases are executed by the boot procedure. So then all the environments are as full as they get. And I am thinking none of them is full enough to justify a REPL.
14:35:42
beach
The best thing might be to create a special environment for the REPL, and import lots of stuff from the others, and the rest from the host.
14:36:13
beach
So the REPL itself is not hard to accomplish, but it is tedious to set up an appropriate environment for it.
15:04:39
beach
At some point, I would like to know how to fix that problem, because I can't use McCLIM on my dinky laptop because of the same issue.
15:23:33
beach
There is not much you can do after (defparameter *b* (boot)). You can inspect the environments I guess, starting with the boot object.
15:25:10
beach
As for the difference between Cleavir and Cleavir version 2, most of the code is the same, but some instructions are different, and Cleavir 2 handles the dynamic environment better. I just didn't want to break Clasp by modifying Cleavir in some radical way.
15:28:04
pnp
anyway i am in the package SICL-BOOT (at the end of the boot) and i can't use (clordane:inspect *b*)
15:30:39
pnp
Another error: Socket error in "connect": ECONNREFUSED (No connection could be made because the target machine actively refused it.)
15:33:15
beach
The documentation for McCLIM is not complete. If you need to write a McCLIM application, you need the CLIM II specification. But the documentation gives you Clouseau in chapter 5: metamodular.com/mcclim.pdf
15:37:36
pnp
when you say good luck i perceive that it's like an impossible task. Do you know if it is feasible or not?
15:40:56
beach
Trucler for lexical environments, Eclector is a portable reader, Concrete Syntax Tree handles source tracking.
15:42:03
pnp
ok.. i will do other questions in a different time. I need time to read, keep in mind some concepts and formulate additional questions. Thank you again for your patience and help
19:50:42
no-defun-allowed
pablore: I have a REPL for SICL prepared, but I don't know where it should go in the code directory.
21:01:50
no-defun-allowed
Okay, I was able to make GETHASH on Clozure take 580μs (up from 4.5μs) by picking string keys that have the same hash.