<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 2, 2022 at 1:14 PM Jecel Assumpcao Jr <<a href="mailto:jecel@merlintec.com">jecel@merlintec.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yoshiki Ohshima wrote on Tue, 2 Aug 2022 10:53:17 -0700<br>
> (I am working on a few <a href="http://croquet.io" rel="noreferrer" target="_blank">croquet.io</a> projects.)<br>
<br>
Great!<br>
<br>
> Trying to run the current way of how Squeak works and making<br>
> it "croquetified" has some challenges. One is that a Squeak image<br>
> typically uses 50MB, 100MB, or more memory, and that means<br>
> that the "snapshots" that Croquet takes and sends over the network<br>
> now and then can be quite expensive.<br>
<br>
The image for Croquet 0.2 (2005) was 16MB and that had a lot of content<br>
like textures and pictures in it, but you have a good point.<br></blockquote><div><br></div><div>Well, but an elaborated avatar alone can be bigger than 16MB; so yes, the landscape has changed a bit.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> (At the same time, as we know, most of the contents in an image is<br>
> read only; we can imagine to have a different image structure<br>
> where the read only part is separate and only the new stuff is exchanged.)<br>
<br>
Yes, just like the idea of separating the sources into two files<br>
(.sources and .changes) is to avoid having the same things stored over<br>
and over on disk or copied over the network.<br>
<br>
Smalltalk/V had such a separation where the bulk of the image was in<br>
read-only .dll files while the small v.exe file only had what you<br>
created yourself. So it is certainly possible.<br></blockquote><div><br></div><div>And there are many others who would chime in to say that "Oh, I did that a copy on write Smalltalk thingy"^^;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> Another issue is to ensure determinism. There may not be too many<br>
> issues around it, as the old Squeak based Croquet has shown; but the<br>
> current Morphic itself probably does not work out of the box in this regard.<br>
<br>
I have not tried Croquet in a recent Squeak image, but I am not aware of<br>
any problems.<br></blockquote><div><br></div><div>Another thing, besides transcendental functions, is that a whileTrue: kind of loop needs to break away at the same logical time, and Cmd-. by one person would break out at the same time, etc.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> An alternative approach is to have a different execution engine, or a translator<br>
> from Smalltalk to JavaScript. I actually gave a talk recently on that idea (and<br>
> other things):<br>
> <a href="https://youtu.be/E3og3l5kKes?t=1353" rel="noreferrer" target="_blank">https://youtu.be/E3og3l5kKes?t=1353</a><br>
> <br>
> If you enable English subtitles on YouTube, you can get the gist of what I was<br>
> talking about. The implementation of it is available here:<br>
> <a href="https://github.com/yoshikiohshima/smallroom" rel="noreferrer" target="_blank">https://github.com/yoshikiohshima/smallroom</a><br>
<br>
Thanks for the links! I have been watching the videos for the talks from<br>
"Camp Smalltalk Supreme" last month in Canada and the idea of<br>
"transpiling" Smalltalk to Javascript seems to be very popular.<br>
<br>
That said, given that there is already one Croquet implementation in<br>
Squeak it seems that fixing any problems with that would be a lot less<br>
work than dealing with Javascript.<br></blockquote><div><br></div><div>I am happy to see if somebody tries to do the full Squeak image based environment that can do collaborative development  and all that, but looking at the old Croquet architecture without having a real model view separation sounds very hard to me, unfortunately.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> On Tue, Aug 2, 2022 at 5:30 AM Jiri R. wrote:<br>
> <br>
> Hi,<br>
> The is <a href="http://croquet.io" rel="noreferrer" target="_blank">croquet.io</a> which allows "multiple users to work or play together within<br>
> a single shared distributed environment". I wonder whether it is possible to take<br>
> a squeak image and make it that single shared distributed environment. So<br>
> multiple users would have some sort of UI (with system browser, workspaces, ..)<br>
> and be able to work on a single underlining model (the squeak image).<br>
<br>
The current <a href="http://croquet.io" rel="noreferrer" target="_blank">croquet.io</a> is a new implementation in Javascript of the<br>
ideas for the old Croquet project in Squeak from 2003, which was forked<br>
as the academic OpenCobalt, the commercial Qwaq/Terf and the current<br>
commercial 3DICC.<br>
<br>
An older project called Nebraska used a different approach to allow<br>
people on different computers to work together on Squeak projects. There<br>
was another project from Japan similar to Nebraska that was very<br>
interesting but I can't remember its name, unfortunately.<br>
<br>
<a href="http://wiki.squeak.org/squeak/2901" rel="noreferrer" target="_blank">http://wiki.squeak.org/squeak/2901</a><br>
<br>
<a href="http://www.opencobalt.net/" rel="noreferrer" target="_blank">http://www.opencobalt.net/</a><br>
<br>
<a href="https://www.3dicc.com/" rel="noreferrer" target="_blank">https://www.3dicc.com/</a><br>
<br>
<a href="https://wiki.squeak.org/squeak/1356" rel="noreferrer" target="_blank">https://wiki.squeak.org/squeak/1356</a><br>
<br>
-- Jecel<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">-- Yoshiki<div><br></div></div></div>