<div dir="ltr"><div>Considering there's quite some code relying on `Smalltalk platformName = 'Win32'`, I'm certain the Windows 64bit VM also returns `Win32`. We might want to clean this up, but it will be hard to provide backward compatibility. In 64bit GraalSqueak, we also return 'Win32' (see [1])</div><div><br></div><div>Fabio</div><div><br></div><div>[1] <a href="https://github.com/hpi-swa/graalsqueak/blob/9ce025f5f891a6369881551897e39a604cd6e617/src/de.hpi.swa.graal.squeak/src/de/hpi/swa/graal/squeak/util/OSDetector.java#L37">https://github.com/hpi-swa/graalsqueak/blob/9ce025f5f891a6369881551897e39a604cd6e617/src/de.hpi.swa.graal.squeak/src/de/hpi/swa/graal/squeak/util/OSDetector.java#L37</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 22, 2019 at 10:18 AM John Pfersich via Squeak-dev <<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</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"><div dir="auto">I dunno, my Squeak download says its 64 bit, but Smalltalk platformName answers Win32 still; isn’t the 64 bit exe still experimental?<div><br><div dir="ltr"><span style="font-size:13pt">/————————————————————/</span><div><span style="font-size:13pt">For encrypted mail use <a href="mailto:jgpfersich@protonmail.com" target="_blank">jgpfersich@protonmail.com</a></span><div>Get a free account at ProtonMail.com</div><div>Web: <a href="http://www.objectnets.net" target="_blank">www.objectnets.net</a> and <a href="http://www.objectnets.org" target="_blank">www.objectnets.org</a></div></div></div><div dir="ltr"><br><blockquote type="cite">On Oct 21, 2019, at 18:10, Chris Muller <<a href="mailto:ma.chris.m@gmail.com" target="_blank">ma.chris.m@gmail.com</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>I was trying to find out all possible values of this message.  Browsing senders reveals a need to factor this out into a first-class SqueakPlatform -- we have way too many places which employ switch statements to determine what to do:</div><div><br></div><div>    Smalltalk platformName = "Mac OS" </div><div>       ifTrue: </div><div>          [ #('/System/Library/Fonts' '/Library/Fonts') do: [:fontDir | aBlock value: fontDir]. ]</div><div><br></div><div>Others check for "Win32", I'm not sure what #platformName is answering on 64-bit VM on Windows these days, could someone running Windows please tell me?<br></div><div><br></div><div>Still others check for "Risc OS" or "unix".  So, the full list I have so far is:<br></div><div><br></div><div>    unix</div><div>    Win32</div><div>    Mac OS</div><div>    Risc OS</div><div><br></div><div>If you know of any others, please let me know.</div><div><br></div><div> - Chris</div></div>
<span></span><br></div></blockquote></div></div><br>
</blockquote></div></div>