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

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Craig A. Berry" <craigberry@nospam.mac.com>
Newsgroups: comp.os.vms
Subject: Re: New VSI post on Youtube
Date: Wed, 14 Aug 2024 20:26:00 -0500
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <v9jlfa$m0aq$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> <v9itvu$fql6$2@dont-email.me>
 <v9iult$h5ab$1@dont-email.me> <v9j1o8$fql6$3@dont-email.me>
 <v9jifr$ljck$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 03:26:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c7198af251ea8ecbb72df2de5ae35dc9";
	logging-data="721242"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19Vg024fZ+aLzmAjSwgzz2cZLIlHytk498="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8EJ3ZK7NzqocV61ud1YXS5Ix9Ak=
Content-Language: en-US
In-Reply-To: <v9jifr$ljck$2@dont-email.me>
Bytes: 2362


On 8/14/24 7:35 PM, Stephen Hoffman wrote:
> On 2024-08-14 19:49:28 +0000, Robert A. Brooks said:
> 
>> On 8/14/2024 2:57 PM, Arne Vajhøj wrote:
>>
>>> compile/POINTER_SIZE=32, LINK/SEG=CODE=P0 etc. can all help get stuff 
>>> working.
>>>
>>> But it is not the right long term solution.
>>   For C++, the default pointer size should have remained 32.
>> It was a mistake to change the default from what it was on Alpha and 
>> IA64.
> 
> It was a mistake to use 32 and not 64 on Alpha and Itanium, but that 
> pain will continue for the foreseeable future.

It is past time to change the default.  I suspect a lot of the
difficulties in porting are not just from pointer sizes but also integer
sizes.  Specifying "long" because the docs for an API say to use a
longword is a 40-year-old habit that will be hard to break, and not all
of the APIs have 64-bit equivalents.  A lot of things probably assume
"long" is the same size as "int" even though that is now no longer the
case.  As far as I know there is no compiler switch to say
/DATA_MODEL=ILP32 to override the new default of LP64.