<br><br><div class="gmail_quote">On Tue, Jul 1, 2008 at 1:21 PM, tim Rowledge &lt;<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
On 1-Jul-08, at 12:25 PM, Eliot Miranda wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[snip]<div class="Ih2E3d"><br>
<br>
Gettng rid of both obsolete tables is a really good thing (and I&#39;ve already done it).<br>
</div></blockquote>
Good<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Getting rid of indexed primitives for the core does not save anything. &nbsp;There still has to be a table somewhere that maps the primitive name to the primitive function. &nbsp;All you do is replace a table mapping indices to functions with one mapping strings to functions. You can&#39;t reply on the OS to do the lookup because you won&#39;t be able to strip VM executables if you do and that really costs space.<br>

</blockquote></div>
Sure; there&#39;s always got to be some way of looking up things. It will always take some space and time. But surely trading space/time for more flexible and smarter is what Smalltalk is all about?</blockquote><div><br>
Smalltalk is about a lot of things. &nbsp;One is minimality (everything&#39;s an object). &nbsp;Use Occam&#39;s razor. &nbsp;Named primitives for the core prims is a flourish one doesn&#39;t need. &nbsp;As my first wife was fond of saying &quot;Don&#39;t sweat the petty stuff. &nbsp;Pet the sweaty stuff.&quot;<br>
<br>More seriously, the VM should be as minimal as possible and I&#39;ve shown (I think) that e.g. named primitive support can be lifted into the image and be much more flexible and extensible there. &nbsp;But the same can&#39;t be done with the core primitives. &nbsp;We can&#39;t have a circularity were the system needs to use core primitives to bind core primitives. &nbsp; So (I tell myself) keep it simple stupid. &nbsp;Just use an index.</div>
</div><br>