libera/#sicl - IRC Chatlog
Search
0:59:52
nij-
More on 5.1. - " Say after SICL is done and got extension of OS threads - before dump, we can interact with SICL executable (predumped) in the host, and that's going to have OS threads effectively?!?!"
1:01:02
nij-
Your answer was no. But.. why? Before dump it's just a vector of x86 instructions, right? If we implement the kernel ABI, then that can launch an OS thread under the host implementation, no?
1:13:46
nij-
bike - In the case of clasp, while the minimal core is being produced, does it try to prevent the host lisp from being polluted?
3:02:00
bike
lisp implementations don't generally let you run arbitrary binaries in the image. except through cffi i guess.
3:02:43
bike
clasp works pretty differently from all this and i wouldn't worry about it. our build process is not something to emulate.
3:03:03
bike
i have some ideas for reforming it, and after the reform the answer would be yes, it uses FCGEs to avoid messing with anything in the host.
3:05:34
nij-
So perhaps if we want to implement more features to SICL executable, x86 won't be a good target lang. Instead, better use LLVM or C as target.
3:08:43
bike
"implement more features to SICL executable"? you're talking about the SICL build tools in the host lisp, not the product SICL executable.
3:18:52
bike
you know you don't need multiple threads to build something that uses multiple threads, right? those are like, entirely unrelated, even.
3:29:11
nij-
If I understand correctly, per design the "minimal core" is executable in the lisp host even before dump.
3:30:40
nij-
So if the final executable has OS threads support, it would be nice if its effect can be observed and interacted with before dump, in the host.
3:31:16
bike
the SICL code in the host goes through the AST evaluator or something. it's not running generated x86 code, which again, isn't something lisp implementations usually allow directly
3:32:33
nij-
Oh wait. I am not sure actually. I retract the previous sentence. Lets see what beach says.
3:32:59
nij-
I gotta go to sleep sooner today. Last night was a bit too exciting :/ only slept for 4.5 hours.
4:20:13
beach
nij-: I don't want to assume that the host Common Lisp implementation runs on the same architecture and operating system than SICL is being compiled for.