[Info-vax] VMS process communication
Arne Vajhøj
arne at vajhoej.dk
Mon Mar 13 09:42:54 EDT 2023
On 3/13/2023 9:32 AM, Simon Clubley wrote:
> On 2023-03-10, Arne Vajhøj <arne at vajhoej.dk> wrote:
>>
>> So /POINTER=64 is default. I should make a note about that.
>>
>> Curious about long being 64 bit.
>>
>> So:
>> Alpha & Itanium x86-64
>> short 16 16
>> int 32 32
>> long 32 64
>> long long 64 ?
>>
>> ?
>>
>> I guess it is way overdue to always use intxx_t!
>
> Even better is to use uintXX_t unless you really want a signed integer. :-)
>
> A big mistake languages made (IMHO) was to make their integers signed
> by default, instead of you needing to ask for a signed integer if you
> really needed one.
That is not really C specific.
Fortran INTEGER is signed. Pascal INTEGER is signed (even though Pascal
got CARDINAL for unsigned).
Java does not have unsigned integers.
Arne
More information about the Info-vax
mailing list