[Vm-dev] Re: [Pharo-dev] Run Spur run!!
eliot.miranda at gmail.com
Sun Oct 26 16:17:02 UTC 2014
On Oct 26, 2014, at 8:58 AM, stepharo <stepharo at free.fr> wrote:
> I thought that the event handling was what JB is doing with the idle process on android.
These are two different, but closely related things. The event-driven VM and idle process work gives us better event handling (no event queue, important for better integration with GUIs) and a cheaper VM at idle (the CM blocks awaiting an event instead of spinning calling a shirt delay).
To embed the system in a web browser one needs both to render to the browser window and to receive mouse and keyboard events from the window.
So the "plugin" must be connected to the VM's event subsystem e.g. by a socket. Just as the VM's graphics subsystem must output to the browser window. There are lots of ways to slice this and it will likely be different for BitBlt and Athens.
More information about the Vm-dev