[Vm-dev] callbacks and Cog
eliot.miranda at gmail.com
Wed May 6 16:19:58 UTC 2009
On Wed, May 6, 2009 at 8:51 AM, Michael Rueger <m.rueger at acm.org> wrote:
> 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?
In the future yes. But I have to support existing plugins now. From
Andreas' response it looks like all external calls will pay the slight extra
price. No biggie, but I needed to know :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev