Static arrays size limit, int

Walter Bright newshound1 at digitalmars.com
Thu Nov 19 13:07:59 PST 2009


bearophile wrote:
> Most/all PC CPUs & operating systems are probably going to become 64
bit, but in D int values are 32 bit, so some years from now, when
everything is 64 bit D programs will probably keep containing:
> int i; Unless D programmers will train themselves to nearly never use
> int and
usually use:
> long i;


Just use size_t.



More information about the Digitalmars-d mailing list