<html><body bgcolor="#FFFFFF"><div>If you could make Slang suck less, what would you change?<br><br>On Oct 4, 2010, at 8:47 PM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><br><br><div class="gmail_quote">On Mon, Oct 4, 2010 at 1:04 PM, Colin Putney <span dir="ltr">&lt;<a href="mailto:colin@wiresong.com"><a href="mailto:colin@wiresong.com">colin@wiresong.com</a></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Mon, Oct 4, 2010 at 11:56 AM, Andreas Raab &lt;<a href="mailto:andreas.raab@gmx.de"><a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a></a>&gt; wrote:<br>
<br>
&gt; In practice, there is a *huge* advantage for porting if all you need is a C<br>
&gt; compiler and a bit of knowledge about the underlying OS support.<br>
<br>
</div>This brings up a question that I've been wondering about for a while.<br>
How useful is Slang these days?<br>
<br>
I can totally see how it would have been faster to get the new VM up<br>
and running in Apple Smalltalk in the first place, but I'm wondering<br>
if these days it's more trouble than it's worth. Most dynamic<br>
languages (eg, Ruby, Python, Perl, Javascript) are implemented in<br>
straight, idiomatic C and benefit a lot from the fact that many, many<br>
people already have the skills needed to work with the language and<br>
toolchain.<br>
<br>
In contrast, the Squeak VM is written in a language that almost nobody<br>
knows, using tools that almost nobody understands. Outside of the<br>
current maintainers it's a very short list, and many of the people on<br>
it aren't active in the community anymore. "Implemented in its self"<br>
is kind of neat, but as a practical matter, Slang is not Smalltalk,<br>
and a developer skilled in both C and Smalltalk still has a lot to<br>
learn before he can contribute to the VM.<br>
<br>
So here's a question to the folks that are actively hacking on the VM:<br>
is Slang still beneficial in your day-to-day work? Do you write and<br>
debug using the simulator? Is it worth the high barriers to entry for<br>
the uninitiated?<br></blockquote><div><br></div><div>Slang sucks. Developing in Smalltalk is great. &nbsp;I like using Slang to being continually hit over the head by an ungiving guru; plenty of pain but no enlightenment. &nbsp;The problem is you write Smalltalk that works, push it out and when it doesn't work due to some internal Slang issue you're in a lot of pain. &nbsp;Do you try and fix Slang, do you mangle your Smalltalk to function within its limitations (and forget to comment why, e.g. :: &nbsp;</div>
<div><br></div><div><div>loadNewPlugin: pluginString</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>| plugin plugins simulatorClasses |</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>transcript cr; show: 'Looking for module ', pluginString.</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>"but *why*??"</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>(#('FloatArrayPlugin' 'Matrix2x3Plugin') includes: pluginString) ifTrue:</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>[transcript show: ' ... defeated'. ^nil].</div></div><div><br></div><div>Seriously, if anyone knows why these two are disabled *please* let me know.</div>
<div><br></div><div>Yes I write and debug using the simulator. &nbsp;Yes it is worth the high barriers. &nbsp;But Slang is still a massive, fragile hack.</div><div><br></div><div>HTH</div><div>Eliot</div><div><br></div><div><br></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
Colin<br>
</font></blockquote></div><br>
</div></blockquote></body></html>