> I am curious as to why the system doesn't just produce trampolines for all
> the system calls AOT in a single module.
Trampolines are needed for any native-compiled function which
gets redefined. We could try to build them eagerly when the
native-compiled function is compiled, and there could be various other
ways to handle this. There's room for improvement here, but the current
system works well enough for a first version.
While I was going over the archives for answers to my questions (following Eli's
observation), I found these gems:
I have the impression these ideas/concerns got lost in all the other work required
to get the first release ready, but I could have missed a follow-up definitively knocking
them down.
Lynn