Deutsch   English   Français   Italiano  
<v9l1ke$vakm$1@dont-email.me>

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

Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: New VSI post on Youtube
Date: Thu, 15 Aug 2024 09:59:41 -0400
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <v9l1ke$vakm$1@dont-email.me>
References: <v9ehs5$3mqbj$1@dont-email.me> <v9idff$f9k4$1@dont-email.me>
 <v9iqln$hrs3$1@dont-email.me> <v9iro6$fql6$1@dont-email.me>
 <66bcf876$0$717$14726298@news.sunsite.dk>
 <66bcfbe3$0$717$14726298@news.sunsite.dk> <v9kske$uqhh$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 15 Aug 2024 16:00:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="56cfa8805eecc11bff36a6991ea569e3";
	logging-data="1026710"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/nfwVR/F3F5pbe8W4682GV/thvOq8+x7E="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fUEQhbGSvqHwnSpWTY/FgJUuZz8=
In-Reply-To: <v9kske$uqhh$2@dont-email.me>
Content-Language: en-US
Bytes: 1942

On 8/15/2024 8:34 AM, Simon Clubley wrote:
> On 2024-08-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 8/14/2024 2:33 PM, Arne Vajhøj wrote:
>>> And it has different size of long and pointers. Causing problems
>>> for two cases:
>>> * code that make implicit assumptions that those are 32 bit
>>> * mixing C and C++
>>
>> I am getting more and more convinced that C and C++
>> code should completely switch to the explicit length
>> model.

> That works great until you need to interface to the OS unfortunately.

Encapsulate and handle the conversion between stdint API and
various CRTL/OS API's.

Do test builds on all sorts of platforms with high warning level to
see if someone went unnoticed.

Arne