Parallel Rogue-like benchmark

logicchains jonathan.t.barnard at gmail.com
Fri Nov 8 03:47:01 PST 2013


Ah, right. I'll bear it in mind if I'm ever writing 
cross-architectural code in D.

On Friday, 8 November 2013 at 09:37:56 UTC, Marco Leise wrote:
> Am Fri, 08 Nov 2013 09:58:38 +0100
> schrieb "logicchains" <jonathan.t.barnard at gmail.com>:
>
>> That's interesting. Is there a particular reason for using 
>> size_t for array indexing rather than int?
>
> It is the natural representation of an array index. It is
> unsigned and spans the whole addressable memory area.
> The _t indicates that its size depends on the target
> architecture.



More information about the Digitalmars-d mailing list