Jeff Clites <[EMAIL PROTECTED]> wrote: > I assume the plan is to get on-the-fly building of NCI stubs working > "everywhere". Platforms where that works don't need the functions > generated by build_nativecall.pl, but right now that's only i386; it's > a JIT-like and pretty difficult piece of code to write, but it should > eventually work on every platform which supports JIT, at least.
It looks like, that we can't get each possible permutation of signatures built statically. This would also boost executable size beyond any reasonable limits. "I'ts a JIT-like" code but its not too difficult to implement and indpendent of JIT is implemented. It just needs a bit of knowledge of the architectures ABI (how functions get their params and return these) and of course how to implement that. I'm really not an assembly code hacker, but JITted NIC for i386 was implemented really quickly. We'll need some architecure around that though that caches known function signatures and avoids rebuilding these stubs. > JEff leo