[Vm-dev] callbacks and Cog
Eliot Miranda
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?
>
> Michael
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 :)
thanks all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20090506/87fa14ee/attachment.htm
More information about the Vm-dev
mailing list