<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 7, 2016 at 7:49 AM, Eliot Miranda <span dir="ltr"><<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
<br>
> On May 6, 2016, at 10:41 PM, Tobias Pape <<a href="mailto:Das.Linux@gmx.de">Das.Linux@gmx.de</a>> wrote:<br>
><br>
><br>
><br>
>> On 07.05.2016, at 00:20, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>><br>
>>> On May 6, 2016, at 1:37 PM, <a href="mailto:commits@squeakvm.org">commits@squeakvm.org</a> wrote:<br>
>>><br>
>>><br>
>>> Revision: 3704<br>
>>> Author: nice<br>
>>> Date: 2016-05-06 13:37:49 -0700 (Fri, 06 May 2016)<br>
>>> Log Message:<br>
>>> -----------<br>
>>> converting int to pointer is 64bits risky, better use long even for dummy<br>
>><br>
>> It isn't risky, it's broken :-)<br>
><br>
><br>
> What about intptr_t then?<br>
<br>
</span>Rejected because it's a pretentious neologism, and because it's not a basic type. long however, is a basic type, is big enough to hold a pointer, is not pretentious, and is, in fact what intptr_t is defined in terms of anyway.<br></blockquote><div><br></div><div>Not on all platforms, which is why intptr_t exists. long is only required to be at least 32 bits, not to be wide enough to hold a pointer. Windows is an LLP64 system.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
If we have to add support for all the possible renaming a if the basic integer types in the type inference machinery we'll have numbers in the double digits. KISS.<br>
<br>
<br>
><br>
> Best regards<br>
> -tobias<br>
</blockquote></div><br></div></div>