<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 31 May 2014 14:42, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On Sat, May 31, 2014 at 08:34:47PM +0800, <a href="mailto:btc@openinworld.com">btc@openinworld.com</a> wrote:<br>
&gt;<br>
&gt; Hi Ronie,  This is really exciting (and I&#39;ve cross-posted to vm-dev). I<br>
&gt; guess this will help multi-monitor displays to have a window on each<br>
&gt; monitor?<br>
&gt;<br>
&gt; Ronie Salgado wrote:<br>
&gt; &gt;Hello There,<br>
&gt; &gt;<br>
&gt; &gt;I have been working in OSWindow, which is a cross platform API for<br>
&gt; &gt;dealing with native operating system windows. This API requires using<br>
&gt; &gt;a custom VM and the library SDL2.<br>
&gt; &gt;<br>
&gt; &gt;With this API, even the main Pharo window is handled almost completely<br>
&gt; &gt;in image side using NativeBoost.<br>
&gt; &gt;<br>
&gt; &gt;The only support required from the VM is a small periodical check in<br>
&gt; &gt;the heartbeat about the presence of events. This no more than 10 lines<br>
&gt; &gt;of code.<br>
&gt;<br>
&gt; Is there much you needed to change/delete from the existing VM window<br>
&gt; initialization.  Since the VM is shared with other Smalltalk platforms,<br>
&gt; how compatible would this be to maintain in parallel with the existing<br>
&gt; VM windows initialization?<br>
&gt; cheers -ben<br>
&gt;<br>
<br>
</div>What are the 10 lines of code required to provide the VM support?<br>
<br></blockquote><div><br></div><div>speaking about numbers,<br></div><div>it is like<br></div><div>+ 10 lines of new code in C<br></div><div>and<br></div><div>- 10000 lines of old code in C in exchange of 1/100 of smalltalk code in image.<br>
</div><div> <br></div><div>sure, numbers are not precise, but you can just make a diff in git to measure.<br></div><div><br>The overall idea is to let the image decide what is the best way to do i/o with OS windowing API (if it has one), not the VM.<br>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dave<br clear="all"></blockquote></div><br>-- <br>Best regards,<br>Igor Stasenko.
</div></div>