About Andrei's interview, part 3

bearophile bearophileHUGS at lycos.com
Thu Aug 26 05:38:13 PDT 2010


Daniel Gibson:
> I'd suggest to always write the length as a (u)long - or uint,
> char-arrays/strings that are bigger than 4GB are just insane, anyway.
> (Java uses short in a similar method, IIRC).

A "long" suffices there, no need to use a "cent".

Bye,
bearophile


More information about the Digitalmars-d mailing list