<br><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 5:19 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</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 Thu, Apr 04, 2013 at 01:25:10PM -0700, Eliot Miranda wrote:<br>
&gt;<br>
&gt; On Thu, Apr 4, 2013 at 3:17 AM, Nicolas Cellier &lt;<br>
&gt; <a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Yes, I always wanted to ask what oops signed-ness was good for?<br>
&gt; &gt; IMO, they could simply be declared usqInt.<br>
&gt; &gt;<br>
&gt;<br>
&gt; +10 raisedTo: SmallInteger maxVal.  But the milk is already spilt :)<br>
&gt;<br>
&gt; I&#39;m glad you said that.  I&#39;m reminded of House of Cards.  &quot;You might think<br>
&gt; so but I couldn&#39;t possibly comment.&quot; ;)<br>
&gt;<br>
&gt; It might be worth-while trying to make this change and fixing the very few<br>
&gt; places where signedness is important (the SmalInteger arithmetic<br>
&gt; primitives).<br>
&gt;<br>
<br>
</div>IMO an object pointer should be declared sqOop to clearly distinguish<br>
it from some something that is intended to be used as an integer. </blockquote><div><br></div><div>OK, but is sqOop a void pointer or what?  void pointers are ok except that they have to be cast all the time.  char * is poor; too easily confused with other pointers.  sqObj * (where sqObj is some opaque struct) is good.  Integral types are easy to deal with.  But signedness is the major thing to avoid.  SO either unsigned or pointer.  But which?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And<br>
a (32- or 64-bit) location in the object memory should have its own type<br>
declaration that would just coincidentally be the same size as a sqOop<br>
in the current implementations. And maybe there should be one more type<br>
definition to represent the 32-bit words in an indexable object.<br>
<br>
Dave<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>