Hi Phil, Hi All,
On Tue, Feb 28, 2017 at 4:29 AM, [hidden email] <[hidden email]> wrote:
Right, but this is *not good enough* :-) It is a fundamentally different architecture. The processing of Windows events in the Windows VM transforms *event callbacks* into an *event queue*. This is fine for events such as mouse clicks, keyboard presses, etc. But it is fundamentally broken for events such as those that ask an application to quit because the OS is about to exit, or events that try to obtain mouse feedback while moving a native window, etc, etc. So one either needs to extend the VM event queue so that one can install callbacks for certain kinds of events still providing a cross-platform interface), or, as Vassili did for Newspeak native windows (which was fully working in 2008, with the ability to switch a window between emulated (Morphic) and native at will or on image startup), interface to the native Windows event pump via callbacks.
_,,,^..^,,,_ best, Eliot |
On Tue, Mar 14, 2017 at 4:27 PM, Eliot Miranda <[hidden email]> wrote:
Yes, I understand that. But there is some bit rot in the basics already, so, first things first. And Pharo lowcode VM is also replacing a lot of this with other ways (which kind of bury the Windows thing even deeper in way I guess). Would the VM core be a libray, we could have more options. Look at V8 ending up in Chrome, NodeJS and Electron. Or Lua getting all over the place. Tcl also is pretty cool on that front. Phil
|
Free forum by Nabble | Edit this page |