On Sat, Jan 10, 2004 at 08:31:21PM +0100, Leopold Toetsch wrote:
> 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.

I see Dan says in his blog "Yeah, I know, we should use libffi, and
we may as a fallback, if we don't just give in and build up the
function headers everywhere."

I'm not familiar with libffi so this may be a dumb question,
but why the apparent reluctance to use it?

Tim.

Reply via email to