[Vm-dev] callbacks and Cog

Andreas Raab andreas.raab at gmx.de
Wed May 6 16:06:45 UTC 2009


Eliot Miranda wrote:
> I would rather not pay this performance penalty for every external 
> primitive call and only pay it for FFI calls.  Is this restriction 
> reasonable?  i.e. is it OK for the VM to refuse to accept callbacks in 
> the context of vanilla named plugin primitive calls?

It's not. Our current use case invokes callbacks from a named primitive, 
not an FFI call. Let's talk about this later.

Cheers,
   - Andreas


More information about the Vm-dev mailing list