[Vm-dev] Cog: A question about: setInterruptCheckChain()

Andreas Raab andreas.raab at gmx.de
Wed Sep 29 17:22:08 UTC 2010


On 9/29/2010 9:36 AM, Eliot Miranda wrote:
>     See the recordMouseEvent() and its friends (sqNextEventPut,
>     eventBuffer[1024] ...) in sqWin32Window, for better understanding my
>     point :)
>
>
> Which makes my point well.  These are simply maintaining a queue.  If
> one has callbacks then the bulk of the Windows event handling system can
> be lifted up into the image.  This is what Vassili Bykov did in Newspeak
> above my Alien callbacks.  In Newspeak the Windows MainWndProc is a
> callback:

Thus losing any level of platform abstraction. A bad trade-off, IMO.

Cheers,
   - Andreas


More information about the Vm-dev mailing list