<div dir="ltr">Hi Max,<div><br></div><div>I&#39;d be interested to learn how you are using ImageSegments. Is it using CodeLoader?</div><div><br></div><div>- Bert -<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 9:08 PM, Max Leske <span dir="ltr">&lt;<a href="mailto:maxleske@gmail.com" target="_blank">maxleske@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi Eliot,<div><br><div><span class="gmail-"><blockquote type="cite"><div>On 22 Sep 2016, at 20:46, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr" style="font-family:helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Hi Max,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 11:42 AM, Max Leske<span> </span><span dir="ltr">&lt;<a href="mailto:maxleske@gmail.com" target="_blank">maxleske@gmail.com</a>&gt;</span><span> </span>wro<wbr>te:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On 22 Sep 2016, at 20:28, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr">Hi Bert, Hi All,<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 15, 2016 at 2:55 PM,<span> </span><span> </span><span dir="ltr">&lt;<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.<wbr>org</a>&gt;</span><span> </span>wrote:</div><div class="gmail_quote">[snip]<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="http://lists.squeakfoundation.org/pipermail/packages/2016-September/068930.html" rel="noreferrer" target="_blank">http://lists.squeakfoundation.<wbr>org/pipermail/packages/2016-Se<wbr>ptember/068930.html</a><br><br>Name: System-bf.916<br>Ancestors: System-bf.915<br><br>Replace VM-level ImageSegment loading with a Smalltalk implementation for old (interpreter-era) projects.<br><br>Also removes support for writing segments.<br><br>This overrides the Spur support introduced in System-eem.758.<br></blockquote><div><br></div><div> So one question is should we delete VM support for ImageSegment from the Spur VM?  There&#39;s at least 1.5k of generated source for the Spur ImageSegment load and save support, some 2% of the interpreter/primitives source code.  That&#39;s a lot, and the code is complex and ugly.  If it never really worked before IMO we should nuke it asap.  If it worked in some fashion perhaps we can schedule its demise for the 6.0 release&#39;s VM.</div><div><br></div><div>What do others think?</div></div></div></div></div></blockquote><div><br></div><div>As long as you don’t remove it from the Cog VM’s until I no longer need it I’m fine with that.</div></div></div></blockquote><div><br></div><div>And when would that be?</div></div></div></div></div></blockquote><div><br></div></span><div>Can’t really say but I&#39;m hoping to get rid of ImageSegment within the next 2 years (very rough estimate).</div><span class="gmail-"><br><blockquote type="cite"><div><div dir="ltr" style="font-family:helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div class="gmail_extra"><div class="gmail_quote"><div>  Do you mean that you use it in ways not covered by Bert&#39;s modifications (which render the VM support superfluous), or do you mean that you use ImageSegment as a naive consumer and are happy just so long as it works?</div></div></div></div></div></blockquote><div><br></div></span><div>Speed is important to me, as I use ImageSegment to create snapshots of our applications (and hence I need write support, which Bert apparently removed). Those snapshots can exceed 90 MB and the graphs include thousands of objects. I fear that a pure Smalltalk implementation would not be fast enough.</div><div><br></div><div><br></div><div>On the other hand, we would simply not move to a VM version without ImageSegment support, so that case may give me the boost I need to get rid of ImageSegment :) Currently we’re preparing to move to our first Cog VM in production. If you can give me 2 or 3 months, so that I know the version we use works for us, you could then remove ImageSegment support and we would start replacing ImageSegment with something else so we could keep updating our VM.</div><div><br></div><div>Cheers,</div><div>Max</div><span class="gmail-"><br><blockquote type="cite"><div><div dir="ltr" style="font-family:helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><div><br></div><div>Max</div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div></div><div><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div></blockquote></div><br></div><br></blockquote></div><br><br clear="all"><div><br></div>--<span> </span><br><div><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div></blockquote></span></div><br></div></div><br><br>
<br></blockquote></div><br></div></div></div>