<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Eliot,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Sep 2016, at 20:46, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com" class="">eliot.miranda@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Hi Max,<br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Sep 22, 2016 at 11:42 AM, Max Leske<span class="Apple-converted-space">&nbsp;</span><span dir="ltr" class="">&lt;<a href="mailto:maxleske@gmail.com" target="_blank" class="">maxleske@gmail.com</a>&gt;</span><span class="Apple-converted-space">&nbsp;</span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">&nbsp;<br class=""><div style="word-wrap: break-word;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 22 Sep 2016, at 20:28, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank" class="">eliot.miranda@gmail.com</a>&gt; wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi Bert, Hi All,<div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Sep 15, 2016 at 2:55 PM,<span class="Apple-converted-space">&nbsp;</span><span class="Apple-converted-space">&nbsp;</span><span dir="ltr" class="">&lt;<a href="mailto:commits@source.squeak.org" target="_blank" class="">commits@source.squeak.org</a>&gt;</span><span class="Apple-converted-space">&nbsp;</span>wrote:</div><div class="gmail_quote">[snip]<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><a href="http://lists.squeakfoundation.org/pipermail/packages/2016-September/068930.html" rel="noreferrer" target="_blank" class="">http://lists.squeakfoundation.<wbr class="">org/pipermail/packages/2016-Se<wbr class="">ptember/068930.html</a><br class=""><br class="">Name: System-bf.916<br class="">Ancestors: System-bf.915<br class=""><br class="">Replace VM-level ImageSegment loading with a Smalltalk implementation for old (interpreter-era) projects.<br class=""><br class="">Also removes support for writing segments.<br class=""><br class="">This overrides the Spur support introduced in System-eem.758.<br class=""></blockquote><div class=""><br class=""></div><div class="">&nbsp;So one question is should we delete VM support for ImageSegment from the Spur VM?&nbsp; There's at least 1.5k of generated source for the Spur ImageSegment load and save support, some 2% of the interpreter/primitives source code.&nbsp; That's a lot, and the code is complex and ugly.&nbsp; If it never really worked before IMO we should nuke it asap.&nbsp; If it worked in some fashion perhaps we can schedule its demise for the 6.0 release's VM.</div><div class=""><br class=""></div><div class="">What do others think?</div></div></div></div></div></blockquote><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">And when would that be?</div></div></div></div></div></blockquote><div><br class=""></div><div>Can’t really say but I'm hoping to get rid of ImageSegment within the next 2 years (very rough estimate).</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_extra"><div class="gmail_quote"><div class="">&nbsp; Do you mean that you use it in ways not covered by Bert'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 class=""></div><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 class=""></div><div><br class=""></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 class=""></div><div>Cheers,</div><div>Max</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_extra"><div class="gmail_quote"><div class="">&nbsp;</div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div style="word-wrap: break-word;" class=""><div class=""><div class=""><br class=""></div><div class="">Max</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""><br class=""></div></div><div data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div class=""><span style="font-size: small; border-collapse: separate;" class=""><div class="">_,,,^..^,,,_<br class=""></div><div class="">best,&nbsp;Eliot</div></span></div></div></div></div></div></div></blockquote></div><br class=""></div><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space">&nbsp;</span><br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><span style="font-size: small; border-collapse: separate;" class=""><div class="">_,,,^..^,,,_<br class=""></div><div class="">best,&nbsp;Eliot</div></span></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>