Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

In computing, the mean time to failure keeps getting shorter.


computers / comp.os.vms / Re: VMS process communication

SubjectAuthor
* VMS process communicationArne Vajhøj
+* Re: VMS process communicationJohn Forkosh
|`- Re: VMS process communicationArne Vajhøj
+* Re: VMS process communicationDave Froble
|+* Re: VMS process communicationSingle Stage to Orbit
||`* Re: VMS process communicationCraig A. Berry
|| `* Re: VMS process communicationArne Vajhøj
||  +- Re: VMS process communicationDave Froble
||  +* Re: VMS process communicationArne Vajhøj
||  |`* Re: VMS process communicationJan-Erik Söderholm
||  | `* Re: VMS process communicationSingle Stage to Orbit
||  |  `* Re: VMS process communicationArne Vajhøj
||  |   `* Re: VMS process communicationJan-Erik Söderholm
||  |    +* Re: VMS process communicationArne Vajhøj
||  |    |`- Re: VMS process communicationArne Vajhøj
||  |    `- Re: VMS process communicationStephen Hoffman
||  `* Re: VMS process communicationArne Vajhøj
||   `* Re: VMS process communicationIan Miller
||    `* Re: VMS process communicationJohn Reagan
||     `* Re: VMS process communicationArne Vajhøj
||      `- Re: VMS process communicationArne Vajhøj
|+* Re: VMS process communicationMarc Van Dyck
||`- Re: VMS process communicationSingle Stage to Orbit
|`* Re: VMS process communicationLee Gleason
| +* Re: VMS process communicationDave Froble
| |`* Re: VMS process communicationRobert A. Brooks
| | +- Re: VMS process communicationDave Froble
| | `- Re: VMS process communicationRichard Maher
| `* Re: VMS process communicationArne Vajhøj
|  `* Re: VMS process communicationDave Froble
|   `* Re: VMS process communicationArne Vajhøj
|    +- Re: VMS process communicationStephen Hoffman
|    +- Re: VMS process communicationRichard Maher
|    `- Re: VMS process communicationDave Froble
+* Re: VMS process communicationBob Gezelter
|+* Re: VMS process communicationSimon Clubley
||`* Re: VMS process communicationBob Gezelter
|| `* Re: VMS process communicationDave Froble
||  `* Re: VMS process communicationStephen Hoffman
||   `* Re: VMS process communicationDave Froble
||    `* Re: VMS process communicationStephen Hoffman
||     `* Re: VMS process communicationDave Froble
||      `* Re: VMS process communicationSimon Clubley
||       `* Re: VMS process communicationDave Froble
||        `- Re: VMS process communicationFred. Zwarts
|+- Re: VMS process communicationStephen Hoffman
|`- Re: VMS process communicationArne Vajhøj
+* Re: VMS process communicationMarc Van Dyck
|`* Re: VMS process communicationArne Vajhøj
| +- Re: VMS process communicationCraig A. Berry
| `* Re: VMS process communicationDave Froble
|  +- Re: VMS process communicationArne Vajhøj
|  `* Re: VMS process communicationJan-Erik Söderholm
|   `* Re: VMS process communicationRichard Maher
|    +* Re: VMS process communicationDave Froble
|    |`- Re: VMS process communicationRichard Maher
|    +* Re: VMS process communicationArne Vajhøj
|    |`* Re: VMS process communicationArne Vajhøj
|    | `* Re: VMS process communicationSimon Clubley
|    |  `- Re: VMS process communicationArne Vajhøj
|    `* Re: VMS process communicationStephen Hoffman
|     `* Re: VMS process communicationRichard Maher
|      `- Re: VMS process communicationStephen Hoffman
`* Re: VMS process communicationArne Vajhøj
 +* Re: VMS process communicationSimon Clubley
 |`* Re: VMS process communicationArne Vajhøj
 | `* Re: VMS process communicationArne Vajhøj
 |  +* Re: VMS process communicationCraig A. Berry
 |  |+* Re: VMS process communicationArne Vajhøj
 |  ||`* Re: VMS process communicationSimon Clubley
 |  || `* Re: VMS process communicationArne Vajhøj
 |  ||  `* Re: VMS process communicationSimon Clubley
 |  ||   +* Re: VMS process communicationArne Vajhøj
 |  ||   |`* Re: VMS process communicationDave Froble
 |  ||   | +- Re: VMS process communicationArne Vajhøj
 |  ||   | `* Re: VMS process communicationSimon Clubley
 |  ||   |  `* Re: VMS process communicationDave Froble
 |  ||   |   `* Re: VMS process communicationArne Vajhøj
 |  ||   |    +* Re: VMS process communicationArne Vajhøj
 |  ||   |    |`* Re: VMS process communicationSimon Clubley
 |  ||   |    | `* Re: VMS process communicationArne Vajhøj
 |  ||   |    |  `- Re: VMS process communicationSimon Clubley
 |  ||   |    `* Re: VMS process communicationbill
 |  ||   |     +* Re: VMS process communicationArne Vajhøj
 |  ||   |     |`* Re: VMS process communicationSteven Schweda
 |  ||   |     | `* Re: VMS process communicationArne Vajhøj
 |  ||   |     |  +* Re: VMS process communicationSteven Schweda
 |  ||   |     |  |+* Re: VMS process communicationScott Dorsey
 |  ||   |     |  ||+* Re: VMS process communicationSteven Schweda
 |  ||   |     |  |||`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  ||`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  |`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  `* Re: VMS process communicationDave Froble
 |  ||   |     |   +- Re: VMS process communicationSteven Schweda
 |  ||   |     |   `* Re: VMS process communicationArne Vajhøj
 |  ||   |     |    +- Re: VMS process communicationDave Froble
 |  ||   |     |    +* Re: VMS process communicationSteven Schweda
 |  ||   |     |    |`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |    `* Re: VMS process communicationJohnny Billquist
 |  ||   |     |     +* Re: VMS process communicationSteven Schweda
 |  ||   |     |     |`* Re: VMS process communicationJohnny Billquist
 |  ||   |     |     +* Re: VMS process communicationScott Dorsey
 |  ||   |     |     `* Re: VMS process communicationArne Vajhøj
 |  ||   |     `- Re: VMS process communicationDave Froble
 |  ||   `- Re: VMS process communicationJohnny Billquist
 |  |`* Re: VMS process communicationCraig A. Berry
 |  +* Re: VMS process communicationAndreas Gruhl
 |  +* Re: VMS process communicationJOUKJ
 |  +- Re: VMS process communicationSimon Clubley
 |  `* Re: VMS process communicationArne Vajhøj
 `- Re: VMS process communicationArne Vajhøj

Pages:123456789
Re: VMS process communication

<tun98s$3pcuj$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27147&group=comp.os.vms#27147

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 09:42:54 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <tun98s$3pcuj$3@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 13:42:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="3978195"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FhZj1IUNUKTUBJS2zYwH3GHpzyEZ50Ns="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:YRYU29Y4Y2Qja4A0rvyED4F88us=
Content-Language: en-US
In-Reply-To: <tun8lr$3pcth$2@dont-email.me>
 by: Arne Vajhøj - Mon, 13 Mar 2023 13:42 UTC

On 3/13/2023 9:32 AM, Simon Clubley wrote:
> On 2023-03-10, Arne Vajhøj <arne@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

Re: VMS process communication

<tunab8$3pj4p$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27151&group=comp.os.vms#27151

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 14:01:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <tunab8$3pj4p$3@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me> <tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me> <tun98s$3pcuj$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 14:01:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6d7a3112608519bf4be3df7383d075af";
logging-data="3984537"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18skFd0QjBraQlQ9Om7TO0qgf9G9hKquzU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Lelpr20Qr4P9uv89tokpAWy0xnk=
 by: Simon Clubley - Mon, 13 Mar 2023 14:01 UTC

On 2023-03-13, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 3/13/2023 9:32 AM, Simon Clubley wrote:
>>
>> 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.
>

Notice I didn't say C, but "languages". :-)

I consider it a general design flaw in languages, probably based on the
need to mirror underlying early architecture and then it just became
established as the default.

> Fortran INTEGER is signed. Pascal INTEGER is signed (even though Pascal
> got CARDINAL for unsigned).
>
> Java does not have unsigned integers.
>

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS process communication

<tunbe4$3ptro$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27153&group=comp.os.vms#27153

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 10:19:49 -0400
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <tunbe4$3ptro$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 14:19:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="3995512"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XRcyeJ5y79M/I559gcilG8vWb6434/Ww="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:G5DiqgeItofnXpdq3Q6YOQmdDFI=
Content-Language: en-US
In-Reply-To: <tunab8$3pj4p$3@dont-email.me>
 by: Arne Vajhøj - Mon, 13 Mar 2023 14:19 UTC

On 3/13/2023 10:01 AM, Simon Clubley wrote:
> On 2023-03-13, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 3/13/2023 9:32 AM, Simon Clubley wrote:
>>>
>>> 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.
>
> Notice I didn't say C, but "languages". :-)
>
> I consider it a general design flaw in languages, probably based on the
> need to mirror underlying early architecture and then it just became
> established as the default.

I consider it rather natural to have integers signed by default.

Except byte that I like unsigned.

I really like C# where short, int and long are signed while
byte is unsigned - and one can pick ushort, uint, ulong and
sbyte when one want the other way.

Arne

Re: VMS process communication

<tuno8l$3s96e$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27157&group=comp.os.vms#27157

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 13:58:48 -0400
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <tuno8l$3s96e$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tjmvjp$159q$1@gioia.aioe.org> <tjohvn$ghkg$2@dont-email.me>
<tjprdq$srd$1@gioia.aioe.org> <tug5rg$245tn$1@dont-email.me>
<8636cc3e-df45-4e69-855c-dd87ec4593d6n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 17:58:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="4072654"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/JkdCoTEfdy+2LF5rthN5jJJUGoFkRkD8="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:S6OBf60AxRcFMBjiiEVm/x2Ajlw=
Content-Language: en-US
In-Reply-To: <8636cc3e-df45-4e69-855c-dd87ec4593d6n@googlegroups.com>
 by: Arne Vajhøj - Mon, 13 Mar 2023 17:58 UTC

On 3/13/2023 5:56 AM, Andreas Gruhl wrote:
> Arne Vajhøj schrieb am Freitag, 10. März 2023 um 22:01:40 UTC+1:
>> Pre-release for comments:
>>
>> https://www.vajhoej.dk/arne/articles/vms64.html

> I like to add, that you can successfully access the lower 2 GB of P2
> (%X00000000 80000000..%X00000000 FFFFFFFF) with 32 bit
> pointers and descriptors.
> You only have to treat the pointers as unsigned instead of signed
> avoiding them to be interpreted as S0/S1 addresses.
> We successfully use this in Pascal, which is missing 64-Bit descriptors.
> The caller of a routine can then simply pass a structure in lower P2
> without any special adaptions (except having to use the compiler
> qualifier /USAGE=64BIT_TO_DESCR).
> The routine itself has to do some additional work. It must extract the
> structure's address from the descriptor and copy it to a 64-Bit Pointer
> WITHOUT sign extension.
> This makes the structure directly accessible although it resides in P2.

Is /USAGE=64BIT_TO_DESCR new for x86-64?

Arne

Re: VMS process communication

<tunp6s$3sc9i$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27158&group=comp.os.vms#27158

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 13:14:52 -0500
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tunp6s$3sc9i$1@dont-email.me>
References: <tugdbo$25f5e$1@dont-email.me>
<memo.20230313134038.11588B@jgd.cix.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 13 Mar 2023 18:14:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8d4553e53700e806342776a38a23025e";
logging-data="4075826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2m2gQlnUZO0ZBRNaWeBcXfXdd5pYwf8o="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.8.0
Cancel-Lock: sha1:8N18CZl/6NyPo1ax+Kl8aOMDcjI=
Content-Language: en-US
In-Reply-To: <memo.20230313134038.11588B@jgd.cix.co.uk>
 by: Craig A. Berry - Mon, 13 Mar 2023 18:14 UTC

On 3/13/23 8:40 AM, John Dallman wrote:
> In article <tugdbo$25f5e$1@dont-email.me>, craigberry@nospam.mac.com
> (Craig A. Berry) wrote:
>
>> Looks good. Thanks for doing that. You may be interested in the
>> following tidbits that showed up in the release notes for the new
>> clang++ compiler:
>>
>> 1.3 Differences Between C++ on OpenVMS Itanium and OpenVMS x86
>>
>> The datatypes 'long', 'size_t', 'nullptr_t', 'ptrdiff_t' are 64-bits
>> wide on OpenVMS x86 but only 32-bits wide on OpenVMS Itanium.
>
> Have you got a link for that?

As far as I know it's only available in the service portal for people
with a support contract. I assume it will become part of the standard,
publicly-available docs once that compiler is out of field test.

Re: VMS process communication

<tunsbe$3t2ii$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27160&group=comp.os.vms#27160

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 15:08:32 -0400
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <tunsbe$3t2ii$1@dont-email.me>
References: <tunp6s$3sc9i$1@dont-email.me>
<memo.20230313185353.11588C@jgd.cix.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 13 Mar 2023 19:08:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="4098642"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1ziYuZukLprhagxlyssMO3rxVTWFBfMQ="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:dhw479/TBGleczn6UjOhM4JRm3w=
In-Reply-To: <memo.20230313185353.11588C@jgd.cix.co.uk>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 13 Mar 2023 19:08 UTC

On 3/13/2023 2:53 PM, John Dallman wrote:
> In article <tunp6s$3sc9i$1@dont-email.me>, craigberry@nospam.mac.com
> (Craig A. Berry) wrote:
>> On 3/13/23 8:40 AM, John Dallman wrote:
>>> Have you got a link for that?
>>
>> As far as I know it's only available in the service portal for
>> people with a support contract. I assume it will become part of the
>> standard, publicly-available docs once that compiler is out of field
>> test.
>
> Makes sense, thanks. It makes porting C/C++ applications to VMS a good
> deal simpler.

I believe it always have been the message that:
* Fortran, Pascal, Cobol, Basic and C will get all the DCL command
qualifiers, VMS specific language extensions and VMS specific CRTL
functions needed to compile old existing code
* C++ would be clang ported to VMS close to "as is"

When such a high level idea meet reality, then things can change
a little.

But it makes sense. There are probably not that many old
VMS specific C++ applications out there. For the simple
reason that when C++ for VMS showed up and became
reasonable stable, then VMS was no longer a common
platform choice for new applications.

But there are a lot of stuff developed on *nix and Windows
that need a C++ compiler with support for newer C++ standards
to be able to build on VMS. Including latest versions of
MySQL/MariaDB and OpenJDK.

Arne

Re: VMS process communication

<tunstv$3t5jp$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27161&group=comp.os.vms#27161

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 15:17:41 -0400
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <tunstv$3t5jp$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 19:18:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dc776598f8f7166b04fd5060a0bd9e76";
logging-data="4101753"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yAPPy37RnR2w7s5hKIKbvmq+s2T/hX/0="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:z5NAUnQAJ4+kkbpOzTKAPZpcEg0=
In-Reply-To: <tunbe4$3ptro$1@dont-email.me>
 by: Dave Froble - Mon, 13 Mar 2023 19:17 UTC

On 3/13/2023 10:19 AM, Arne Vajhøj wrote:
> On 3/13/2023 10:01 AM, Simon Clubley wrote:
>> On 2023-03-13, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 3/13/2023 9:32 AM, Simon Clubley wrote:
>>>>
>>>> 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.
>>
>> Notice I didn't say C, but "languages". :-)
>>
>> I consider it a general design flaw in languages, probably based on the
>> need to mirror underlying early architecture and then it just became
>> established as the default.
>
> I consider it rather natural to have integers signed by default.

The way most/all people consider math, numbers can be either positive or
negative. Yes, "natural". Computer languages were developed using this
concept. While unsigned numbers are useful, they aren't something people
normally consider. Not sure where Simon is coming from with his assertions.

> Except byte that I like unsigned.
>
> I really like C# where short, int and long are signed while
> byte is unsigned - and one can pick ushort, uint, ulong and
> sbyte when one want the other way.

The problem with all of those is they are vague, and are defined differently on
different HW and software. Precision is to be desired.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<tunt62$3t5jp$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27162&group=comp.os.vms#27162

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 15:22:02 -0400
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <tunt62$3t5jp$2@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tjmvjp$159q$1@gioia.aioe.org> <tjohvn$ghkg$2@dont-email.me>
<tjprdq$srd$1@gioia.aioe.org> <tug5rg$245tn$1@dont-email.me>
<tumth6$25eh$1@news.cyber23.de> <tun5hl$3oae8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 19:22:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dc776598f8f7166b04fd5060a0bd9e76";
logging-data="4101753"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/14LTsJDK/HAizcTvhQ9CMGZC1Q6Yq+kg="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:W4mwyRaL1s2EW5MsaM6VR5ahzw8=
In-Reply-To: <tun5hl$3oae8$1@dont-email.me>
 by: Dave Froble - Mon, 13 Mar 2023 19:22 UTC

On 3/13/2023 8:39 AM, Jan-Erik Söderholm wrote:
> Den 2023-03-13 kl. 11:22, skrev JOUKJ:
>> Arne Vajhøj wrote:
>>>
>>> Pre-release for comments:
>>>
>>> https://www.vajhoej.dk/arne/articles/vms64.html
>>>
>>> Arne
>
>
> A bit pre-dated also... :-)
>
>
> Article history:
> Version Date Description
> 0.9 March 10th 20223 Pre-release
>
>

Ah, the extreme power and capability of a keystroke, even time travel.

:-)

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<tunui5$3tcre$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27163&group=comp.os.vms#27163

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 15:46:15 -0400
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <tunui5$3tcre$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 19:46:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="4109166"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fSThUyjGO3gdLKMk5nfe5pTSl7ZV1+gc="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:GjddqZwsCFGFjDVxGClnWlYizHw=
In-Reply-To: <tunstv$3t5jp$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 13 Mar 2023 19:46 UTC

On 3/13/2023 3:17 PM, Dave Froble wrote:
> On 3/13/2023 10:19 AM, Arne Vajhøj wrote:
>> I really like C# where short, int and long are signed while
>> byte is unsigned - and one can pick ushort, uint, ulong and
>> sbyte when one want the other way.
>
> The problem with all of those is they are vague, and are defined
> differently on different HW and software.  Precision is to be desired.

In C the types short, int and long are vaguely defined.

Not in C# and Java - there they are 16, 32 and 64 bit two's complement.
Only aspect left optional is big vs little endian.

Arne

Re: VMS process communication

<02aced24-4e33-4759-b7d3-577e1e16e930n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27168&group=comp.os.vms#27168

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:c16:b0:742:71fa:1f63 with SMTP id l22-20020a05620a0c1600b0074271fa1f63mr2730573qki.0.1678745308849;
Mon, 13 Mar 2023 15:08:28 -0700 (PDT)
X-Received: by 2002:ad4:58d3:0:b0:56f:184:8814 with SMTP id
dh19-20020ad458d3000000b0056f01848814mr2447137qvb.8.1678745308571; Mon, 13
Mar 2023 15:08:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 13 Mar 2023 15:08:28 -0700 (PDT)
In-Reply-To: <memo.20230313185353.11588C@jgd.cix.co.uk>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:191:200:fa0:acdf:576d:3ddd:d356;
posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 2601:191:200:fa0:acdf:576d:3ddd:d356
References: <tunp6s$3sc9i$1@dont-email.me> <memo.20230313185353.11588C@jgd.cix.co.uk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <02aced24-4e33-4759-b7d3-577e1e16e930n@googlegroups.com>
Subject: Re: VMS process communication
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Mon, 13 Mar 2023 22:08:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2166
 by: John Reagan - Mon, 13 Mar 2023 22:08 UTC

On Monday, March 13, 2023 at 2:53:57 PM UTC-4, John Dallman wrote:
> In article <tunp6s$3sc9i$1...@dont-email.me>, craig...@nospam.mac.com
> (Craig A. Berry) wrote:
>
> > On 3/13/23 8:40 AM, John Dallman wrote:
> > > Have you got a link for that?
> >
> > As far as I know it's only available in the service portal for
> > people with a support contract. I assume it will become part of the
> > standard, publicly-available docs once that compiler is out of field
> > test.
> Makes sense, thanks. It makes porting C/C++ applications to VMS a good
> deal simpler.
>
> John
That /USAGE qualifier is a Pascal qualifier. It asks the Pascal compiler to violate
the Calling Standard and not sign-extend a 32-bit pointer to duplicate what you can
get (by accident) on Itanium.

It wouldn't be a C or C++ qualifier since neither of those compilers do anything with
descriptors behind your back.

Re: VMS process communication

<8a6020e4-d49c-4f35-a9b3-f835b2e3b0afn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27169&group=comp.os.vms#27169

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:4f8e:0:b0:56e:9197:4ccd with SMTP id em14-20020ad44f8e000000b0056e91974ccdmr2304452qvb.0.1678745649834;
Mon, 13 Mar 2023 15:14:09 -0700 (PDT)
X-Received: by 2002:a05:6214:18c1:b0:571:a8b0:48b1 with SMTP id
cy1-20020a05621418c100b00571a8b048b1mr2351003qvb.0.1678745649624; Mon, 13 Mar
2023 15:14:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 13 Mar 2023 15:14:09 -0700 (PDT)
In-Reply-To: <tunsbe$3t2ii$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:191:200:fa0:acdf:576d:3ddd:d356;
posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 2601:191:200:fa0:acdf:576d:3ddd:d356
References: <tunp6s$3sc9i$1@dont-email.me> <memo.20230313185353.11588C@jgd.cix.co.uk>
<tunsbe$3t2ii$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8a6020e4-d49c-4f35-a9b3-f835b2e3b0afn@googlegroups.com>
Subject: Re: VMS process communication
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Mon, 13 Mar 2023 22:14:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3096
 by: John Reagan - Mon, 13 Mar 2023 22:14 UTC

On Monday, March 13, 2023 at 3:08:34 PM UTC-4, Arne Vajhøj wrote:
> On 3/13/2023 2:53 PM, John Dallman wrote:
> > In article <tunp6s$3sc9i$1...@dont-email.me>, craig...@nospam.mac.com
> > (Craig A. Berry) wrote:
> >> On 3/13/23 8:40 AM, John Dallman wrote:
> >>> Have you got a link for that?
> >>
> >> As far as I know it's only available in the service portal for
> >> people with a support contract. I assume it will become part of the
> >> standard, publicly-available docs once that compiler is out of field
> >> test.
> >
> > Makes sense, thanks. It makes porting C/C++ applications to VMS a good
> > deal simpler.
> I believe it always have been the message that:
> * Fortran, Pascal, Cobol, Basic and C will get all the DCL command
> qualifiers, VMS specific language extensions and VMS specific CRTL
> functions needed to compile old existing code
> * C++ would be clang ported to VMS close to "as is"
>
There has been a constant drumbeat from customers (including many here
on this forum) about our odd choice of long=32-bit; ptrdiff_t=32-bit;
size_t=32-bit all while you can say /POINTER=64. For C++/clang, we just
get what clang gives you for a 64-bit compiler.

We have yet to provide a similar setting for the C frontend as so far it hasn't been
necessary.

We have modified/enhanced some headers to replace "long" with "int" to make sure
that certain fields that are 32-bits are still 32-bits with both x86 C and x86 C++.

My desire is to limit the # of clang OpenVMS-isms to those actually needed and to
skip the ones that have been just dragged forward from VAX for no real reason other
than just the fear of pissing off a customer. I'm in the "if you need it, ask and we'll
talk about it" camp.

Re: VMS process communication

<tuoh7h$ig4$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27170&group=comp.os.vms#27170

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 21:04:51 -0400
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <tuoh7h$ig4$1@dont-email.me>
References: <tunp6s$3sc9i$1@dont-email.me>
<memo.20230313185353.11588C@jgd.cix.co.uk>
<02aced24-4e33-4759-b7d3-577e1e16e930n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 14 Mar 2023 01:04:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="15b7c66e2064bc35fa04549b60c342ba";
logging-data="18948"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Yk/m9yYQzT0XhNXdg+NiNbFpqqCLMXIw="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:szVJbywA0S8D6AhocgA9GgMtj2I=
Content-Language: en-US
In-Reply-To: <02aced24-4e33-4759-b7d3-577e1e16e930n@googlegroups.com>
 by: Arne Vajhøj - Tue, 14 Mar 2023 01:04 UTC

On 3/13/2023 6:08 PM, John Reagan wrote:
> That /USAGE qualifier is a Pascal qualifier. It asks the Pascal compiler to violate
> the Calling Standard and not sign-extend a 32-bit pointer to duplicate what you can
> get (by accident) on Itanium.

Is it x86-64 only?

The value is not accepted with Pascal 6.2 on neither Alpha nor Itanium.

Arne

Re: VMS process communication

<919f67f9-292a-4f9c-9b3a-f9336e4eb0e5n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27171&group=comp.os.vms#27171

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:48c5:0:b0:56e:b401:ee3f with SMTP id v5-20020ad448c5000000b0056eb401ee3fmr2478102qvx.7.1678759564651;
Mon, 13 Mar 2023 19:06:04 -0700 (PDT)
X-Received: by 2002:a05:6214:8c9:b0:571:1539:9440 with SMTP id
da9-20020a05621408c900b0057115399440mr2527541qvb.0.1678759564436; Mon, 13 Mar
2023 19:06:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 13 Mar 2023 19:06:04 -0700 (PDT)
In-Reply-To: <tuoh7h$ig4$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:191:200:fa0:acdf:576d:3ddd:d356;
posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 2601:191:200:fa0:acdf:576d:3ddd:d356
References: <tunp6s$3sc9i$1@dont-email.me> <memo.20230313185353.11588C@jgd.cix.co.uk>
<02aced24-4e33-4759-b7d3-577e1e16e930n@googlegroups.com> <tuoh7h$ig4$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <919f67f9-292a-4f9c-9b3a-f9336e4eb0e5n@googlegroups.com>
Subject: Re: VMS process communication
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Tue, 14 Mar 2023 02:06:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2165
 by: John Reagan - Tue, 14 Mar 2023 02:06 UTC

On Monday, March 13, 2023 at 9:04:53 PM UTC-4, Arne Vajhøj wrote:
> On 3/13/2023 6:08 PM, John Reagan wrote:
> > That /USAGE qualifier is a Pascal qualifier. It asks the Pascal compiler to violate
> > the Calling Standard and not sign-extend a 32-bit pointer to duplicate what you can
> > get (by accident) on Itanium.
> Is it x86-64 only?
>
> The value is not accepted with Pascal 6.2 on neither Alpha nor Itanium.
>
> Arne
There hasn't been a Alpha or Itanium release with it. Since neither Alpha or Itanium
put code into P2 space that first chunk of memory is where a 64-bit NEW would
get memory from. With code in P2 space on x86, that shoves the 64-bit heap
up more and you need to get help from the compiler. It has never been a good thing
to pass around P2 addresses in the 32-bit field of descriptors.

Re: VMS process communication

<tuprl8$beme$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27174&group=comp.os.vms#27174

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 13:08:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <tuprl8$beme$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me> <tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me> <tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me> <tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
Injection-Date: Tue, 14 Mar 2023 13:08:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="555aa2b4efdd41b1e502f3f657d302f6";
logging-data="375502"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LvXT22K95qzUr9AZ8lpEFH1MRRI8w7os="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Ms255CD/eOSGKtMwtDZLEfUrw4Y=
 by: Simon Clubley - Tue, 14 Mar 2023 13:08 UTC

On 2023-03-13, Dave Froble <davef@tsoft-inc.com> wrote:
>
> The way most/all people consider math, numbers can be either positive or
> negative. Yes, "natural". Computer languages were developed using this
> concept. While unsigned numbers are useful, they aren't something people
> normally consider. Not sure where Simon is coming from with his assertions.
>

Much of the time you don't need signed integers and the problem you are
trying to solve is a better match with unsigned integers.

Let me put it this way: How many filesystems and file sizes and other
limits through computing history are half the maximum size they should
be because everyone used signed integers instead of unsigned integers ?

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS process communication

<tupshn$ci2$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27175&group=comp.os.vms#27175

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.185.159.157.200!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 14:24:06 +0100
Organization: MGT Consulting
Message-ID: <tupshn$ci2$1@news.misty.com>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 13:24:07 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="12866"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.8.0
Content-Language: en-US
In-Reply-To: <tunab8$3pj4p$3@dont-email.me>
 by: Johnny Billquist - Tue, 14 Mar 2023 13:24 UTC

On 2023-03-13 15:01, Simon Clubley wrote:
> On 2023-03-13, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 3/13/2023 9:32 AM, Simon Clubley wrote:
>>>
>>> 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.
>>
>
> Notice I didn't say C, but "languages". :-)
>
> I consider it a general design flaw in languages, probably based on the
> need to mirror underlying early architecture and then it just became
> established as the default.

I don't think there is anything in the underlying architecture that
leads one way or another on this topic (no matter which architecture).

I think it's much more likely that the chose to have them signed as most
people when they work with integers expect them to be able to represent
both positive and negative numbers.

Johnny

Re: VMS process communication

<tuqbdf$ed62$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27177&group=comp.os.vms#27177

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 13:37:26 -0400
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <tuqbdf$ed62$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
<tuprl8$beme$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 14 Mar 2023 17:37:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1fe031f399c80835b58092728b169736";
logging-data="472258"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193el+Sw6Bvve2WVl85zC7Do0lQBXgJ+Z4="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:H7kxH9IJaFXKgSbOuqZ7gDlLwoE=
In-Reply-To: <tuprl8$beme$1@dont-email.me>
 by: Dave Froble - Tue, 14 Mar 2023 17:37 UTC

On 3/14/2023 9:08 AM, Simon Clubley wrote:
> On 2023-03-13, Dave Froble <davef@tsoft-inc.com> wrote:
>>
>> The way most/all people consider math, numbers can be either positive or
>> negative. Yes, "natural". Computer languages were developed using this
>> concept. While unsigned numbers are useful, they aren't something people
>> normally consider. Not sure where Simon is coming from with his assertions.
>>
>
> Much of the time you don't need signed integers and the problem you are
> trying to solve is a better match with unsigned integers.
>
> Let me put it this way: How many filesystems and file sizes and other
> limits through computing history are half the maximum size they should
> be because everyone used signed integers instead of unsigned integers ?
>
> Simon.
>

Understand, I think unsigned numbers would be very useful. I wish Basic support
such. But my point is, they are not so "natural" to humans, and after all,
humans are the users of computers. So development followed what people do.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<tuqd0p$e1tt$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27178&group=comp.os.vms#27178

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 14:05:17 -0400
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <tuqd0p$e1tt$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
<tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 18:05:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="15b7c66e2064bc35fa04549b60c342ba";
logging-data="460733"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rRf3BH1NUs1ZIfuo43RQxHdm4uV/bvO0="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:4xNcT+H6c9ZHUd3wYMo44LjgyJI=
In-Reply-To: <tuqbdf$ed62$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Tue, 14 Mar 2023 18:05 UTC

On 3/14/2023 1:37 PM, Dave Froble wrote:
> On 3/14/2023 9:08 AM, Simon Clubley wrote:
>> On 2023-03-13, Dave Froble <davef@tsoft-inc.com> wrote:
>>> The way most/all people consider math, numbers can be either positive or
>>> negative.  Yes, "natural".  Computer languages were developed using this
>>> concept.  While unsigned numbers are useful, they aren't something
>>> people
>>> normally consider.
>>
>> Much of the time you don't need signed integers and the problem you are
>> trying to solve is a better match with unsigned integers.
>>
>> Let me put it this way: How many filesystems and file sizes and other
>> limits through computing history are half the maximum size they should
>> be because everyone used signed integers instead of unsigned integers ?

When it involves data size and the demand grow x2 every 2 years or so,
then that extra bit will not save they day for long.

> Understand, I think unsigned numbers would be very useful.  I wish Basic
> support such.

I miss them in Java as well.

>   But my point is, they are not so "natural" to humans, and
> after all, humans are the users of computers.  So development followed
> what people do.

If you stop 100 random people on the street and ask about integers, then
99 will include negative numbers, that is the common definition in
math/english/danish/whatever.

Those that remember their math will remember the term natural
numbers to exclude negative numbers.

Arne

Re: VMS process communication

<tuqd6n$e1tt$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27179&group=comp.os.vms#27179

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 14:08:28 -0400
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <tuqd6n$e1tt$2@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
<tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me>
<tuqd0p$e1tt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 18:08:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="15b7c66e2064bc35fa04549b60c342ba";
logging-data="460733"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ASW6lxIdQ81mjGe6gbRN9jBPlbGhDgho="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:jkYXgslPqPVu9sUfaR7EmyfLUgw=
Content-Language: en-US
In-Reply-To: <tuqd0p$e1tt$1@dont-email.me>
 by: Arne Vajhøj - Tue, 14 Mar 2023 18:08 UTC

On 3/14/2023 2:05 PM, Arne Vajhøj wrote:
> On 3/14/2023 1:37 PM, Dave Froble wrote:
>> On 3/14/2023 9:08 AM, Simon Clubley wrote:
>>> On 2023-03-13, Dave Froble <davef@tsoft-inc.com> wrote:
>>>> The way most/all people consider math, numbers can be either
>>>> positive or
>>>> negative.  Yes, "natural".  Computer languages were developed using
>>>> this
>>>> concept.  While unsigned numbers are useful, they aren't something
>>>> people
>>>> normally consider.
>>>
>>> Much of the time you don't need signed integers and the problem you are
>>> trying to solve is a better match with unsigned integers.
>>>
>>> Let me put it this way: How many filesystems and file sizes and other
>>> limits through computing history are half the maximum size they should
>>> be because everyone used signed integers instead of unsigned integers ?
>
> When it involves data size and the demand grow x2 every 2 years or so,
> then that extra bit will not save they day for long.
>
>> Understand, I think unsigned numbers would be very useful.  I wish
>> Basic support such.
>
> I miss them in Java as well.
>
>>               But my point is, they are not so "natural" to humans,
>> and after all, humans are the users of computers.  So development
>> followed what people do.
>
> If you stop 100 random people on the street and ask about integers, then
> 99 will include negative numbers, that is the common definition in
> math/english/danish/whatever.
>
> Those that remember their math will remember the term natural
> numbers to exclude negative numbers.

Note that it is really highly unlikely that a given
problem domain actually need types:

-2147483648..2147483647
0..4294967295

It is way more likely to have a need for types like:

1..100
0..99
-10..10
etc.

But that is not in fashion today (Pascal, Modula-2,
Oberon, Ada etc. are rare today).

Arne

Re: VMS process communication

<tuqeii$ev5f$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27180&group=comp.os.vms#27180

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 18:31:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <tuqeii$ev5f$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me> <tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me> <tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me> <tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me> <tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me> <tuqd0p$e1tt$1@dont-email.me> <tuqd6n$e1tt$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 18:31:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="555aa2b4efdd41b1e502f3f657d302f6";
logging-data="490671"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MALAX9hVAze7XLmjYHakrhEAheZnZxmQ="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:7CE1QsQEC9dXOIOyDPSpk02odaI=
 by: Simon Clubley - Tue, 14 Mar 2023 18:31 UTC

On 2023-03-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> It is way more likely to have a need for types like:
>
> 1..100
> 0..99
> -10..10
> etc.
>
> But that is not in fashion today (Pascal, Modula-2,
> Oberon, Ada etc. are rare today).
>

Unfortunately. :-(

Are there any languages other than the Wirth-inspired ones which do
have them as part of the core language ?

BTW, given what the Rust people claim about Rust's target markets,
I consider that to be a surprising omission from Rust, given that they
had all these languages to look at when they were designing Rust.

Such types are used to help model the underlying problem more accurately,
which is exactly the kind of thing the Rust people (and any other such
language designers) should have latched onto.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS process communication

<tuqf9n$en70$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27181&group=comp.os.vms#27181

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 14:44:11 -0400
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <tuqf9n$en70$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
<tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me>
<tuqd0p$e1tt$1@dont-email.me> <tuqd6n$e1tt$2@dont-email.me>
<tuqeii$ev5f$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 18:44:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="15b7c66e2064bc35fa04549b60c342ba";
logging-data="482528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189+epqGEoifIu1EY47g7HtSxInR/+bbfU="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:zYB6Y8YFJ/oMx1v7hwny/3NndG8=
Content-Language: en-US
In-Reply-To: <tuqeii$ev5f$1@dont-email.me>
 by: Arne Vajhøj - Tue, 14 Mar 2023 18:44 UTC

On 3/14/2023 2:31 PM, Simon Clubley wrote:
> On 2023-03-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>
>> It is way more likely to have a need for types like:
>>
>> 1..100
>> 0..99
>> -10..10
>> etc.
>>
>> But that is not in fashion today (Pascal, Modula-2,
>> Oberon, Ada etc. are rare today).
>>
>
> Unfortunately. :-(
>
> Are there any languages other than the Wirth-inspired ones which do
> have them as part of the core language ?

Not that I am aware of.

> BTW, given what the Rust people claim about Rust's target markets,
> I consider that to be a surprising omission from Rust, given that they
> had all these languages to look at when they were designing Rust.

A large chunk of Rust target market is the low level
near to the hardware market and there it may actually
be the requirement that there is N bits to fill out.

But in the much bigger business related market then there is
rarely a bit requirements - most likely those defining the
requirements do not know what a bit is.

Arne

Re: VMS process communication

<k7bu4eFrikcU5@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27182&group=comp.os.vms#27182

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (bill)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 14:53:01 -0400
Lines: 12
Message-ID: <k7bu4eFrikcU5@mid.individual.net>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
<tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me>
<tuqd0p$e1tt$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Dnd+ajC134qv0UXemxRMuQVUXvyfl44vYzNXCaefU6kVoK3lOk
Cancel-Lock: sha1:9GnZXdBcXHw6xQgIqDJf/n4BnGc=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Content-Language: en-US
In-Reply-To: <tuqd0p$e1tt$1@dont-email.me>
 by: bill - Tue, 14 Mar 2023 18:53 UTC

On 3/14/2023 2:05 PM, Arne Vajhøj wrote:
>
>
> If you stop 100 random people on the street and ask about integers, then
> 99 will include negative numbers,

If you stop 100 random people on the street and ask about integers, then
99 won't have a clue what you are talking about.

bill

Re: VMS process communication

<tuqg7u$en70$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27183&group=comp.os.vms#27183

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 15:00:18 -0400
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tuqg7u$en70$2@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
<tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me>
<tuqd0p$e1tt$1@dont-email.me> <k7bu4eFrikcU5@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 19:00:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="15b7c66e2064bc35fa04549b60c342ba";
logging-data="482528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Dmo4bzel7i3w1a1kmExWnT5ZaFx5eJKE="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:OdzsXZ5ZvzlVu7JBgxl+f7qZ6e0=
In-Reply-To: <k7bu4eFrikcU5@mid.individual.net>
Content-Language: en-US
 by: Arne Vajhøj - Tue, 14 Mar 2023 19:00 UTC

On 3/14/2023 2:53 PM, bill wrote:
> On 3/14/2023 2:05 PM, Arne Vajhøj wrote:
>> If you stop 100 random people on the street and ask about integers, then
>> 99 will include negative numbers,
>
> If you stop 100 random people on the street and ask about integers, then
> 99 won't have a clue what you are talking about.

Those that remember their math should think of Z.

The rest should vaguely remember that "numbers without decimals" are
called integers.

Arne

Re: VMS process communication

<bf214680-513c-442c-8a07-8cb18957f0f4n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27184&group=comp.os.vms#27184

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a7b:c2a1:0:b0:3e2:2476:b8b6 with SMTP id c1-20020a7bc2a1000000b003e22476b8b6mr4493496wmk.3.1678824086873;
Tue, 14 Mar 2023 13:01:26 -0700 (PDT)
X-Received: by 2002:ac8:561c:0:b0:3bf:c38c:98ee with SMTP id
28-20020ac8561c000000b003bfc38c98eemr9803171qtr.5.1678824086133; Tue, 14 Mar
2023 13:01:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 14 Mar 2023 13:01:25 -0700 (PDT)
In-Reply-To: <tuqg7u$en70$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=76.76.60.100; posting-account=OjKUgAkAAAAXAqdVEKd-Gc8RltEUx3Xq
NNTP-Posting-Host: 76.76.60.100
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
<tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me>
<tuqd0p$e1tt$1@dont-email.me> <k7bu4eFrikcU5@mid.individual.net> <tuqg7u$en70$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bf214680-513c-442c-8a07-8cb18957f0f4n@googlegroups.com>
Subject: Re: VMS process communication
From: sms.anti...@gmail.com (Steven Schweda)
Injection-Date: Tue, 14 Mar 2023 20:01:26 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Steven Schweda - Tue, 14 Mar 2023 20:01 UTC

> If you stop 100 random people on the street and ask about integers, then
> 99 won't have a clue what you are talking about.

99 might be high, but I'd guess at least 90. Unless you choose the
street _very_ carefully.

> Those that remember their math should think of Z.

You can't remember what you never learned. I live in a country where
store clerks can't make change for a dollar in their heads. Back when I
commonly used cash, and wasn't feeling depressed enough, I could buy
something, hand over some bills, wait for the register to calculate the
change, and then hand over some coins to reduce the number of coins
returned. And watch the puny-brain at the register suffer a complete
intellectual collapse.

So, no, I wouldn't expect 99% of "random people on the street" to
have any idea what an integer is.

> The rest should vaguely remember that "numbers without decimals" are
> called integers.

"should" and "would" are spelled differently for a reason.

Thirty-odd years ago, on a business trip to California, I had
breakfast a few times at a Burger King in Fremont which was convenient
to the motel. I was late enough to miss the morning rush, so I dealt
with the manager, who rang up the sale, entering the purchase total as
the amount tendered. He then made change, correctly, using his head
rather than the register. I was so thrilled by this performance that I
almost wrote a commendation letter to the company. But I realized that
he was violating company policy, and decided not to risk getting him
reprimanded (or worse).

But he was an immigrant, not educated here.

Re: VMS process communication

<tuqk0c$ftig$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27185&group=comp.os.vms#27185

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 20:04:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <tuqk0c$ftig$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me> <tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me> <tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me> <tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me> <tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me> <tuqd0p$e1tt$1@dont-email.me> <tuqd6n$e1tt$2@dont-email.me> <tuqeii$ev5f$1@dont-email.me> <tuqf9n$en70$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 20:04:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="555aa2b4efdd41b1e502f3f657d302f6";
logging-data="521808"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TVTCozWIb6M0P8NsAKvNT0/++YKdqKQU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:ZRMa8HPRjgEdHR+7m6RwjVApWko=
 by: Simon Clubley - Tue, 14 Mar 2023 20:04 UTC

On 2023-03-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 3/14/2023 2:31 PM, Simon Clubley wrote:
>> On 2023-03-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>
>>> It is way more likely to have a need for types like:
>>>
>>> 1..100
>>> 0..99
>>> -10..10
>>> etc.
>>>
>>> But that is not in fashion today (Pascal, Modula-2,
>>> Oberon, Ada etc. are rare today).
>>>
>>
>> Unfortunately. :-(
>>
>> Are there any languages other than the Wirth-inspired ones which do
>> have them as part of the core language ?
>
> Not that I am aware of.
>
>> BTW, given what the Rust people claim about Rust's target markets,
>> I consider that to be a surprising omission from Rust, given that they
>> had all these languages to look at when they were designing Rust.
>
> A large chunk of Rust target market is the low level
> near to the hardware market and there it may actually
> be the requirement that there is N bits to fill out.
>
> But in the much bigger business related market then there is
> rarely a bit requirements - most likely those defining the
> requirements do not know what a bit is.
>

True, but we are not really talking about bit requirements here.

What we are talking about is implementing a model of some real-world
process, where the legal values for a data type in that process are a
subset of the possible values that could fit in it when that data type
is implemented within a program.

Having the above types of ranges directly supported in a language
helps to implement that model more accurately, and allows the language
to enforce that only this subset of values is ever allowed in a program.

That ability has a range of applications both within lower-level and
higher-level languages.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS process communication

<tuqpgn$h5rj$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27186&group=comp.os.vms#27186

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 14 Mar 2023 17:38:07 -0400
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <tuqpgn$h5rj$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
<tugga9$25q5s$3@dont-email.me> <tun8lr$3pcth$2@dont-email.me>
<tun98s$3pcuj$3@dont-email.me> <tunab8$3pj4p$3@dont-email.me>
<tunbe4$3ptro$1@dont-email.me> <tunstv$3t5jp$1@dont-email.me>
<tuprl8$beme$1@dont-email.me> <tuqbdf$ed62$1@dont-email.me>
<tuqd0p$e1tt$1@dont-email.me> <k7bu4eFrikcU5@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 21:38:31 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1fe031f399c80835b58092728b169736";
logging-data="563059"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ONBtlklJDA3Wu2F2f7/jD6hpUhYLCvzM="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:nUUMAW+P57ItL0+Ur45+NM84gIk=
In-Reply-To: <k7bu4eFrikcU5@mid.individual.net>
 by: Dave Froble - Tue, 14 Mar 2023 21:38 UTC

On 3/14/2023 2:53 PM, bill wrote:
> On 3/14/2023 2:05 PM, Arne Vajhøj wrote:
>>
>>
>> If you stop 100 random people on the street and ask about integers, then
>> 99 will include negative numbers,
>
> If you stop 100 random people on the street and ask about integers, then
> 99 won't have a clue what you are talking about.
>
> bill
>
>

Is that like asking "what continent is Europe on"?

My son used this with an old girlfriend when she irritated him. She never
caught on.

Or similar to Jay Leno's "jaywalking" videos?

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Pages:123456789
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor