[Vm-dev] callbacks and Cog

Michael Rueger m.rueger at acm.org
Wed May 6 15:51:39 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?

this might be a naive suggestion, but couldn't you -or rather the plugin 
author- tag primitve calls that do callbacks and generate a different 
calling sequence?

Michael


More information about the Vm-dev mailing list