Deutsch   English   Français   Italiano  
<vrhb77$3frk8$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: Suggested method for returning a string from a C program?
Date: Thu, 20 Mar 2025 15:11:34 +0000
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <vrhb77$3frk8$1@dont-email.me>
References: <vrd77d$3nvtf$2@dont-email.me> <868qp1ra5f.fsf@linuxsc.com>
 <vrdhok$47cb$2@dont-email.me> <20250319115550.0000676f@yahoo.com>
 <vreuj1$1asii$4@dont-email.me> <vreve4$19klp$2@dont-email.me>
 <20250319201903.00005452@yahoo.com> <86r02roqdq.fsf@linuxsc.com>
 <vrh1br$35029$2@dont-email.me> <LRUCP.2$541.0@fx47.iad>
 <vrh71t$3be42$1@dont-email.me> <KFVCP.594649$SZca.498578@fx13.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 20 Mar 2025 16:11:35 +0100 (CET)
Injection-Info: dont-email.me; posting-host="b23726e8530270bdb8279be50ba9c02e";
	logging-data="3665544"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX199+d/enB6zVgQXozcMJnOg"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Y+RxlplRGd/DikXuAWFbR+qjNs4=
Content-Language: en-GB
In-Reply-To: <KFVCP.594649$SZca.498578@fx13.iad>
Bytes: 2526

On 20/03/2025 14:32, Scott Lurndal wrote:
> bart <bc@freeuk.com> writes:
>> On 20/03/2025 13:36, Scott Lurndal wrote:
> then it's surprisingly rare in source code.
>>>
>>> Long is useless, because Microsoft made the mistake of defining
>>> 'long' as 32-bits on 64-bit architectures, while unix and linux
>>> define it as 64-bits.
>>
>> Unix and Linux define it as 32 bits on 32-bit architectures and 64 bits
>> on 64-bit ones.
> 
> That's what I said.  Thanks for the confirmation.  It doesn't change
> the fact that Microsoft didn't define long as 64-bit on 64-bit architectures,
> creating incompatibilities that didn't exist in the 32-bit world
> between the two dominant operating systems.
> 
> Remainder of bart's typical windows-centric complaints elided.
> 

But your typical anti-Microsoft remarks are fine? Since you called it a 
'mistake' to keep 'long' the same between 32/64-bit machines, even 
though both OSes kept 'int' the same.

It was just a choice.

Actually, my remarks didn't criticise either MS or Linux; just stated 
some facts. I did criticise STDINT types.