Bartosz about Chapel

Walter Bright newshound2 at digitalmars.com
Thu Nov 10 11:58:19 PST 2011


On 11/10/2011 4:25 AM, Nick Sabalausky wrote:
> "Walter Bright"<newshound2 at digitalmars.com>  wrote in message
> news:j9g65s$2g1d$1 at digitalmars.com...
>>
>> 3. the reality that CPUs tend to have 32 as the optimal size, and 'int'
>> being a natural thing to type, it tends to be the default one types in.
>> Otherwise, how would you explain that one should use int(32) rather than
>> int(16) for routine integer use? It just seems (to me) that it would
>> encourage the use of inefficient integer types.
>>
>
> FWIW, I read that Chapel also has just plain "int" by itself which is 32
> bits.

:-)


More information about the Digitalmars-d mailing list