<div dir="ltr">Snowglobe is nice indeed. But still slow on this monster of a machine of mine.<div><br></div><div>There is also this: <a href="http://blackpagedigital.com/tether/">http://blackpagedigital.com/tether/</a></div><div><br></div><div>UI page appears dead though.</div><div><br></div><div>Phil</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 8, 2016 at 3:18 PM, Ben Coman <span dir="ltr"><<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hard to find info on Snowglobe.  Only 4 million results to compete with.<br>
Sorry to harp on my pet gripe again.  The following alternatives are<br>
much more distinctive...<br>
"Snowglowbe" with only 364 results,<br>
or "Snowglobal" with 854 result,<br>
or "Snowglowbal" with only!! 1 result!!!!<br>
Maybe my parachute career should be brand consulting?<br>
<br>
So finally a four term search "cog snowglobe craig latta" found...<br>
* <a href="http://forum.world.st/App-streaming-with-Snowglobe-td4920867.html" rel="noreferrer" target="_blank">http://forum.world.st/App-<wbr>streaming-with-Snowglobe-<wbr>td4920867.html</a><br>
* <a href="https://thiscontext.com/2016/10/31/app-streaming-with-snowglobe/" rel="noreferrer" target="_blank">https://thiscontext.com/2016/<wbr>10/31/app-streaming-with-<wbr>snowglobe/</a><br>
<br>
I tried the demo. <a href="http://blackpagedigital.com/snowglobe/" rel="noreferrer" target="_blank">http://blackpagedigital.com/<wbr>snowglobe/</a><br>
Pretty impressive.  The world menu is a bit sluggish for a few seconds<br>
to pop up each time, but menu item highlighting is instantaneous, as<br>
is editing in the system Browser. However mouse point is off by about<br>
15mm at 7o'clock position.  Platform is 32-bit Linux Chrome Version<br>
<a href="tel:48.0.2564.116" value="+14802564116">48.0.2564.116</a>.<br>
(I guess any further discussion on this would be better on squeak-dev)<br>
<br>
cheers -ben<br>
<br>
P.S. reading about "live serialization" the term "serialivation" pops in mind.<br>
<br>
On Thu, Dec 8, 2016 at 2:08 PM, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
><br>
> Hi Ben,<br>
><br>
>     Craig Latta had already used the SqueakJS glue to allow Cog to run in a browser.  See Snowglobe (I wish it were called SnowGlobe).  This allows full performance and as good a browser integration as obtained with SqueakJS.<br>
><br>
> _,,,^..^,,,_ (phone)<br>
><br>
>> On Dec 7, 2016, at 8:05 PM, Ben Coman <<a href="mailto:btc@openinworld.com">btc@openinworld.com</a>> wrote:<br>
>><br>
>><br>
>> I've just bumped into WebAssembly and am curious what opportunities<br>
>> (or not) it might offer us.<br>
>> * <a href="https://medium.com/javascript-scene/what-is-webassembly-the-dawn-of-a-new-era-61256ec5a8f6#.60dghpaek" rel="noreferrer" target="_blank">https://medium.com/javascript-<wbr>scene/what-is-webassembly-the-<wbr>dawn-of-a-new-era-<wbr>61256ec5a8f6#.60dghpaek</a><br>
>><br>
>> One approach could be to just compile our currently generated C code<br>
>> to WevAssembly via LLVM. Ronie's recent effort to produce a<br>
>> non-display minimal VM should help proof of concept here.<br>
>> * <a href="http://webassembly.org/docs/c-and-c++/" rel="noreferrer" target="_blank">http://webassembly.org/docs/c-<wbr>and-c++/</a><br>
>> * <a href="https://hacks.mozilla.org/2015/12/compiling-to-webassembly-its-happening/" rel="noreferrer" target="_blank">https://hacks.mozilla.org/<wbr>2015/12/compiling-to-<wbr>webassembly-its-happening/</a><br>
>> * <a href="http://cultureofdevelopment.com/blog/build-your-first-thing-with-web-assembly/" rel="noreferrer" target="_blank">http://cultureofdevelopment.<wbr>com/blog/build-your-first-<wbr>thing-with-web-assembly/</a><br>
>><br>
>> An obvious downside would be having a VM running on a VM.  But<br>
>> WebAssembly doesn't do garbage collection so at least it wouldn't<br>
>> double up on that.  Possibly there would be some double-up/conflict on<br>
>> JIT-ing, but there seems like there will be a facility for adding JIT<br>
>> and optimisation libraries, so possibly past investment in Cog is not<br>
>> lost.  Also perhaps(??) while WebAssembly is in its formative stage<br>
>> right now some primitives can be added to facilitate how Cog operates.<br>
>> * <a href="http://webassembly.org/docs/future-features/#platform-independent-just-in-time-jit-compilation" rel="noreferrer" target="_blank">http://webassembly.org/docs/<wbr>future-features/#platform-<wbr>independent-just-in-time-jit-<wbr>compilation</a><br>
>> * <a href="http://webassembly.org/docs/jit-library/" rel="noreferrer" target="_blank">http://webassembly.org/docs/<wbr>jit-library/</a><br>
>><br>
>> Another approach may be to start with SqueakJS, and work out how the<br>
>> Cog JIT could be plugged into WebAssembly as a library that SqueakJS<br>
>> (and others?) could use.  If its architecturally possible this might<br>
>> broaden the exposure of Cog(??). What would WebAssembly require to<br>
>> facilitate using Cog?<br>
>><br>
>> Of course all plates are full, but now seems the ideal time time to<br>
>> get involved.<br>
>> WebAssembly browser preview seeking community feedback concluding Q1 2017.<br>
>> <a href="https://www.infoq.com/news/2016/11/webassembly-browser-preview" rel="noreferrer" target="_blank">https://www.infoq.com/news/<wbr>2016/11/webassembly-browser-<wbr>preview</a><br>
>> <a href="http://webassembly.org/roadmap/" rel="noreferrer" target="_blank">http://webassembly.org/<wbr>roadmap/</a><br>
>> <a href="https://github.com/WebAssembly/design" rel="noreferrer" target="_blank">https://github.com/<wbr>WebAssembly/design</a><br>
>><br>
>> Chrome nightly builds available to test it<br>
>> <a href="http://thenextweb.com/dd/2016/03/15/webassembly-lands-chrome-canary-offering-glimpse-future-web/" rel="noreferrer" target="_blank">http://thenextweb.com/dd/2016/<wbr>03/15/webassembly-lands-<wbr>chrome-canary-offering-<wbr>glimpse-future-web/</a><br>
>><br>
>> It would be amazing to run Cog in a web browser, and thus facilitate<br>
>> all our favourite Smalltalk dialects.<br>
>><br>
>> Side thought: Craig's work to incrementally download a running image<br>
>> could be useful to reducing web page startup time.<br>
>><br>
>> cheers -ben<br>
</blockquote></div><br></div>