toString vs. toUtf8
Jason House
jason.james.house at gmail.com
Thu Nov 22 18:59:49 PST 2007
renoX wrote:
> Jason House a écrit :
>> I'd love to see both a fixed and variable size option available. Maybe:
>> int - variable size
>> int32 - fixed size
>> int64 - fixed size
>>
>> If that's done, the size of types become obvious when the programmer
>> cares about them and may make size-sensitive code more obvious.
>
> No!
> Naturally programmers would use 'int' everywhere and this would create
> again portability issue.
What would the portability issue be? If they use int and don't care about
the true size, it'll port fine.
> var_int, int_be32 (bigger or equal 32 bit), int_word: would be ok though.
I'm assuming programmers won't use long windes type definitions if they can
avoid it.
More information about the Digitalmars-d
mailing list