toString vs. toUtf8

Sean Kelly sean at f4.ca
Mon Nov 19 20:11:27 PST 2007


Jason House wrote:
> Robert DaSilva wrote:
> 
>> Jason House wrote:
>>>
>>> If that's done, the size of types become obvious when the programmer
>>> cares about them and may make size-sensitive code more obvious.
>> Even on 64-bit systems int is 32-bit.
> 
> Are you talking about what D does or what is most efficient on a 64 bit
> system?  If 32-bit integers are less efficient, then it's a crime to make
> size-tolerant code use an inefficient size.

You could always use tango.stdc.stdint.int_fast32_t ;-)


Sean



More information about the Digitalmars-d mailing list