<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br>Pointer to struct seems like the most obvious choice.&nbsp;</div><div><br>- Bert -<div><br></div></div><div><br>On 06.04.2013, at 17:15, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><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. &nbsp;But the milk is already spilt :)<br>
&gt;<br>
&gt; I'm glad you said that. &nbsp;I'm reminded of House of Cards. &nbsp;"You might think<br>
&gt; so but I couldn't possibly comment." ;)<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? &nbsp;void pointers are ok except that they have to be cast all the time. &nbsp;char * is poor; too easily confused with other pointers. &nbsp;sqObj * (where sqObj is some opaque struct) is good. &nbsp;Integral types are easy to deal with. &nbsp;But signedness is the major thing to avoid. &nbsp;SO either unsigned or pointer. &nbsp;But which?</div>
<div>&nbsp;</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>
</div></blockquote></body></html>