libera/#clasp - IRC Chatlog
Search
2:52:19
Bike
so for the fasl format and native code, i think i may have to work with the JIT a little more directly
2:52:46
Bike
if i understand the faso code, what basically happens is that we load in an object file as a blob of bytes, and then we ask the jit for a special startup function that's in the object file, and then call that
2:53:49
Bike
but what i'd like is if we could load an object file, and then we just make a bunch of Function_O objects from the code in there, and maybe call them/etc normally later.
2:55:39
Bike
which is how it works with the bytecode. we load in the bytecode module, and then make a bunch of different bytecode functions with different entry points into the module.
13:16:13
drmeister
Bike: I hit a problem with conspack - I write out a hash-table with keyword symbols in the key and then read them in. When I read them back in the keyword symbols have all changed to unintended symbols.
13:46:03
drmeister
I'm hacking it right now by regenerating the keys after I load the data structure.
13:46:40
drmeister
But there are symbols deeper in the values of the hash-tables that are probably mangled this way as well.
13:56:05
drmeister
Two hash tables, one has keyword symbol keys and the other has (cons keyword1 keyword2) keys.
13:57:05
drmeister
This is just for debugging - so it's ok here - but it will become a nasty problem at some point.
14:00:57
drmeister
After hacking that database - I built the first structure using all of this code. phew.