<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 26, 2014 at 11:59 AM, Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@elte.hu" target="_blank">leves@elte.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>On Sun, 26 Oct 2014, Eliot Miranda wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
On Oct 26, 2014, at 8:58 AM, stepharo &lt;<a href="mailto:stepharo@free.fr" target="_blank">stepharo@free.fr</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Yes, I&#39;m very excited.  It&#39;s so great to have strong collaborators like Clément, Ronie, Doug and Tim.  But there&#39;s lots of room for more to join us.  For a really cool project how about grabbing Bert Freudenberg&#39;s VMMakerJS Squeak-vm-on-JavaScript, extract the event handling and rendering part and connect it to the Cog VM via sockets to give us a really fast web plugin?<br>
</blockquote>
<br>
I thought that the event handling was what JB is doing with the idle process on android.<br>
</blockquote>
<br>
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).<br>
</blockquote>
<br>
Just a friendly reminder before someone starts to reinvent the wheel: the event-driven VM already exists.<br>
<br>
Proposal: <a href="http://lists.squeakfoundation.org/pipermail/vm-dev/2009-November/003385.html" target="_blank">http://lists.squeakfoundation.<u></u>org/pipermail/vm-dev/2009-<u></u>November/003385.html</a><br>
Announcement: <a href="http://lists.squeakfoundation.org/pipermail/vm-dev/2010-January/003684.html" target="_blank">http://lists.squeakfoundation.<u></u>org/pipermail/vm-dev/2010-<u></u>January/003684.html</a><br>
Repo: <a href="https://code.google.com/p/squeak-android-vm/" target="_blank">https://code.google.com/p/<u></u>squeak-android-vm/</a><br>
StackVM variant with other improvments: <a href="https://code.google.com/p/squeakvm-tablet/" target="_blank">https://code.google.com/p/<u></u>squeakvm-tablet/</a></blockquote><div><br></div><div>It still needs integrating.  AFAIA JB&#39;s version for Android is the most up-to-date version.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Levente<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
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.<br>
<br>
So the &quot;plugin&quot; must be connected to the VM&#39;s event subsystem e.g. by a socket.  Just as the VM&#39;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.<br>
<br>
Eliot (phone)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Stef<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
best,<br>
Eliot<br>
</blockquote>
<br>
<br>
</blockquote>
</blockquote>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>