Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Imitation is the sincerest form of television." -- The New Mighty Mouse


computers / comp.os.vms / Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

SubjectAuthor
* 8-bit charactersPhillip Helbig (undress to reply
`* Re: 8-bit charactersStephen Hoffman
 +* Re: 8-bit charactersJan-Erik Söderholm
 |+- Re: 8-bit charactersStephen Hoffman
 |+* Re: 8-bit charactersArne Vajhøj
 ||`* Re: 8-bit charactersLawrence D’Oliveiro
 || `* Re: 8-bit charactersArne Vajhøj
 ||  +* Re: 8-bit charactersCraig A. Berry
 ||  |+* Re: 8-bit charactersArne Vajhøj
 ||  ||+* Re: 8-bit charactersCraig A. Berry
 ||  |||`- Re: 8-bit charactersLawrence D’Oliveiro
 ||  ||`* Re: 8-bit charactersLawrence D’Oliveiro
 ||  || `- Re: 8-bit charactersLawrence D’Oliveiro
 ||  |`- Re: 8-bit charactersLawrence D’Oliveiro
 ||  `* Re: 8-bit charactersLawrence D’Oliveiro
 ||   `- Re: 8-bit charactersArne Vajhøj
 |`* Re: 8-bit charactersPhillip Helbig (undress to reply
 | `- Re: 8-bit charactersMichael Moroney
 `* Re: 8-bit charactersPhillip Helbig (undress to reply
  `* Re: 8-bit charactersMichael Moroney
   +* Re: 8-bit charactersPhillip Helbig (undress to reply
   |`* Re: 8-bit charactersMichael Moroney
   | `* Re: 8-bit charactersPhillip Helbig (undress to reply
   |  `* Re: 8-bit charactersDave Froble
   |   `* Re: 8-bit charactersMichael Moroney
   |    `* Re: 8-bit charactersArne Vajhøj
   |     `* Re: 8-bit charactersRobert A. Brooks
   |      `* Re: 8-bit charactersSimon Clubley
   |       +* Re: 8-bit charactersRobert A. Brooks
   |       |+- Re: 8-bit charactersMichael Moroney
   |       |`* Re: 8-bit charactersStephen Hoffman
   |       | +- Re: 8-bit charactersArne Vajhøj
   |       | `* Impenetrable code, was: Re: 8-bit charactersSimon Clubley
   |       |  `- Re: Impenetrable code, was: Re: 8-bit charactersDave Froble
   |       `* Re: 8-bit charactersJohn Reagan
   |        +* Trigger warnings, was: Re: 8-bit charactersSimon Clubley
   |        |+* Re: Trigger warnings, was: Re: 8-bit charactersDave Froble
   |        ||`* Re: Trigger warnings, was: Re: 8-bit charactersArne Vajhøj
   |        || +* Re: Trigger warnings, was: Re: 8-bit charactersArne Vajhøj
   |        || |`- Re: Trigger warnings, was: Re: 8-bit charactersNorbert Schönartz
   |        || +* Re: Trigger warnings, was: Re: 8-bit charactersSimon Clubley
   |        || |`- Re: Trigger warnings, was: Re: 8-bit charactersArne Vajhøj
   |        || `* Re: Trigger warnings, was: Re: 8-bit charactersDave Froble
   |        ||  `- Re: Trigger warnings, was: Re: 8-bit charactersArne Vajhøj
   |        |`- Re: Trigger warnings, was: Re: 8-bit charactersJohn Reagan
   |        `* Re: 8-bit charactersDave Froble
   |         `* Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |          +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |          |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          | `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |          |  `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          |   +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |          |   |`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          |   `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |          |    +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |          |    |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |          |    | `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          |    `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |           `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            | +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            | |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            | | `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            | `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |  `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |   `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |    `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |     +- Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersStephen Hoffman
   |            |     `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |            |      `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |            |       |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       | `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |            |       |  +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |       |  | +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  | |+* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  | ||+* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  | |||`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  | ||`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersJake Hamby
   |            |       |  | |`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBob Eager
   |            |       |  | `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersStephen Hoffman
   |            |       |  |  `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |       |  |   `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  |    `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |     +- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitRichard Maher
   |            |       |  |     `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  |      `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |       `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  |        `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |         +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  |         |`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |            |       |  |         `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |       |  |          +- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |          `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitSingle Stage to Orbit
   |            |       |  |           +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |           |+- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |           |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitSingle Stage to Orbit
   |            |       |  |           | `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |           `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |       |  `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersRich Alderson
   |            |       `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitDave Froble
   |            `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   +* Re: 8-bit charactersLawrence D’Oliveiro
   `* Re: 8-bit charactersJon Pinkley

Pages:123456789
Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t6qpsn$gf3$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Fri, 27 May 2022 11:14:02 -0400
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <t6qpsn$gf3$1@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
<t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me>
<627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me>
<jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk>
<t66u0b$2t1$1@dont-email.me> <6287868c$0$700$14726298@news.sunsite.dk>
<t687h9$gkf$1@dont-email.me> <t68jm0$e7c$1@dont-email.me>
<t692vb$71s$1@dont-email.me> <t6fv1f$lvh$2@dont-email.me>
<t6gefk$lai$1@dont-email.me> <t6gh98$10j$1@dont-email.me>
<t6gnrn$t6$1@dont-email.me> <t6j4qe$cad$1@dont-email.me>
<t6jgnf$b06$1@dont-email.me> <t6lqse$4hf$2@dont-email.me>
<t6m28s$aau$1@dont-email.me> <t6og6d$tip$1@dont-email.me>
<jfa07bF1nkpU1@mid.individual.net> <t6ojmt$j2e$1@dont-email.me>
<jfaebmF49ksU1@mid.individual.net> <t6qh8h$gdb$1@dont-email.me>
<jfc5v5FechvU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 27 May 2022 15:14:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d923e6d36b6dcd8155fe4b7079c2dd53";
logging-data="16867"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bIMQO4iH1avEn562w8OVjvB/WnRg67dg="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:3ygVvQhIwwHXSODpXSUtOn58U+o=
In-Reply-To: <jfc5v5FechvU1@mid.individual.net>
 by: Dave Froble - Fri, 27 May 2022 15:14 UTC

On 5/27/2022 10:36 AM, Bill Gunshannon wrote:
> On 5/27/22 08:47, Simon Clubley wrote:
>> On 2022-05-26, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>>> On 5/26/22 15:16, Simon Clubley wrote:
>>>>
>>>> Aware of peek and poke in some microcontroller Basic implementations.
>>>> They return/set bytes/words/longwords at the memory location specified.
>>>> You are not writing kernel code (or application code) in 2022 by doing
>>>> the equivalent of "uint32_t *ptr" only in your code instead of using
>>>> structures/records that model the memory block at the given location.
>>>>
>>>> As per the question I just asked, how would you define a record
>>>> structure and access a block of memory through the record structure
>>>> at a random memory location and how would you chain together instances
>>>> of these structures in memory ?
>>>>
>>>> In C, it's easy. You define a struct data type with forward links within
>>>> the structure as required and with pointers of that data type outside
>>>> of the structure as required.
>>>
>>> So, tell me, would you consider a complete Virtual Machine that emulates
>>> a hardware architecture and contains all the primitives for I/O, math
>>> and other necessary function to be an Operating System?
>>>
>>
>> No.
>>
>> The operating system is what runs on top of that emulated environment.
>
> The example I am thinking of contains the emulated architecture and
> everything right up to the user interface. So, it does contain "what
> runs on top of that emulated environment".
>
>>
>> I don't understand how this is related to this thread however.
>
> Tiny Pascal by Herbert Yuen and Kin-Man Chung. Compiler and Pcode
> Interpreter with User Interface all done in NorthStar Basic. In the
> September, October and November 1978 issues of Byte Magazine.
>
> bill
>
>

Was Simon around in 1978 ???

--
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: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<jfccikFfktrU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Fri, 27 May 2022 12:29:07 -0400
Lines: 66
Message-ID: <jfccikFfktrU1@mid.individual.net>
References: <smg4a2$boh$1@gioia.aioe.org> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
<t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me>
<627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me>
<jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk>
<t66u0b$2t1$1@dont-email.me> <6287868c$0$700$14726298@news.sunsite.dk>
<t687h9$gkf$1@dont-email.me> <t68jm0$e7c$1@dont-email.me>
<t692vb$71s$1@dont-email.me> <t6fv1f$lvh$2@dont-email.me>
<t6gefk$lai$1@dont-email.me> <t6gh98$10j$1@dont-email.me>
<t6gnrn$t6$1@dont-email.me> <t6j4qe$cad$1@dont-email.me>
<t6jgnf$b06$1@dont-email.me> <t6lqse$4hf$2@dont-email.me>
<t6m28s$aau$1@dont-email.me> <t6og6d$tip$1@dont-email.me>
<jfa07bF1nkpU1@mid.individual.net> <t6ojmt$j2e$1@dont-email.me>
<jfaebmF49ksU1@mid.individual.net> <t6qh8h$gdb$1@dont-email.me>
<jfc5v5FechvU1@mid.individual.net> <t6qpsn$gf3$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 nLvJvMnQWiVd8Rm4izvlWQfSk6QsG94R8D/d9xPM32c47bjI1I
Cancel-Lock: sha1:VH0EPsPtXbn6vR6kI/W+pOPNdKo=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Content-Language: en-US
In-Reply-To: <t6qpsn$gf3$1@dont-email.me>
 by: Bill Gunshannon - Fri, 27 May 2022 16:29 UTC

On 5/27/22 11:14, Dave Froble wrote:
> On 5/27/2022 10:36 AM, Bill Gunshannon wrote:
>> On 5/27/22 08:47, Simon Clubley wrote:
>>> On 2022-05-26, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>>>> On 5/26/22 15:16, Simon Clubley wrote:
>>>>>
>>>>> Aware of peek and poke in some microcontroller Basic implementations.
>>>>> They return/set bytes/words/longwords at the memory location
>>>>> specified.
>>>>> You are not writing kernel code (or application code) in 2022 by doing
>>>>> the equivalent of "uint32_t *ptr" only in your code instead of using
>>>>> structures/records that model the memory block at the given location.
>>>>>
>>>>> As per the question I just asked, how would you define a record
>>>>> structure and access a block of memory through the record structure
>>>>> at a random memory location and how would you chain together instances
>>>>> of these structures in memory ?
>>>>>
>>>>> In C, it's easy. You define a struct data type with forward links
>>>>> within
>>>>> the structure as required and with pointers of that data type outside
>>>>> of the structure as required.
>>>>
>>>> So, tell me, would you consider a complete Virtual Machine that
>>>> emulates
>>>> a hardware architecture and contains all the primitives for I/O, math
>>>> and other necessary function to be an Operating System?
>>>>
>>>
>>> No.
>>>
>>> The operating system is what runs on top of that emulated environment.
>>
>> The example I am thinking of contains the emulated architecture and
>> everything right up to the user interface.  So, it does contain "what
>> runs on top of that emulated environment".
>>
>>>
>>> I don't understand how this is related to this thread however.
>>
>> Tiny Pascal by Herbert Yuen and Kin-Man Chung.  Compiler and Pcode
>> Interpreter with User Interface all done in NorthStar Basic. In the
>> September, October and November 1978 issues of Byte Magazine.
>>
>> bill
>>
>>
>
> Was Simon around in 1978 ???
>

Hmmm.. Good point.

How about this one. The Software Tools Virtual Operating System.
Paper published in September of 1980 in Communications of the ACM.
Written originally in RATFOR but for those of us who know RATFOR
and Fortran it would be easy to redo in BASIC. Actually, it would
be rather trivial to write a RATFOR compiler that churned out BASIC
instead of Fortran.

While all this stuff is something BASIC was not intended to do
one should never underestimate the power of any language in the
hands of a competent programmer.

bill

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t6r10p$5s5$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Fri, 27 May 2022 17:16:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <t6r10p$5s5$1@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smua6t$3hs$3@dont-email.me> <6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me> <t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me> <627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me> <jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk> <t66u0b$2t1$1@dont-email.me> <6287868c$0$700$14726298@news.sunsite.dk> <t687h9$gkf$1@dont-email.me> <t68jm0$e7c$1@dont-email.me> <t692vb$71s$1@dont-email.me> <t6fv1f$lvh$2@dont-email.me> <t6gefk$lai$1@dont-email.me> <t6gh98$10j$1@dont-email.me> <t6gnrn$t6$1@dont-email.me> <t6j4qe$cad$1@dont-email.me> <t6jgnf$b06$1@dont-email.me> <t6lqse$4hf$2@dont-email.me> <t6m28s$aau$1@dont-email.me> <t6og6d$tip$1@dont-email.me> <jfa07bF1nkpU1@mid.individual.net> <t6ojmt$j2e$1@dont-email.me> <jfaebmF49ksU1@mid.individual.net> <t6qh8h$gdb$1@dont-email.me> <jfc5v5FechvU1@mid.individual.net> <t6qpsn$gf3$1@dont-email.me>
Injection-Date: Fri, 27 May 2022 17:16:09 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f11073b45561cbe3d22e1fcc3c7cf636";
logging-data="6021"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WF3bcVz4E3d4T87Oto2y07VPr5zcVzfU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:k4yqq44JvDPL4nY/RNq/jSpnyX8=
 by: Simon Clubley - Fri, 27 May 2022 17:16 UTC

On 2022-05-27, Dave Froble <davef@tsoft-inc.com> wrote:
>
> Was Simon around in 1978 ???
>

Yes I was, but I wasn't even in secondary school yet at that point. :-)

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t6r1ef$5s5$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Fri, 27 May 2022 17:23:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <t6r1ef$5s5$2@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me> <t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me> <627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me> <jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk> <t66u0b$2t1$1@dont-email.me> <6287868c$0$700$14726298@news.sunsite.dk> <t687h9$gkf$1@dont-email.me> <t68jm0$e7c$1@dont-email.me> <t692vb$71s$1@dont-email.me> <t6fv1f$lvh$2@dont-email.me> <t6gefk$lai$1@dont-email.me> <t6gh98$10j$1@dont-email.me> <t6gnrn$t6$1@dont-email.me> <t6j4qe$cad$1@dont-email.me> <t6jgnf$b06$1@dont-email.me> <t6lqse$4hf$2@dont-email.me> <t6m28s$aau$1@dont-email.me> <t6og6d$tip$1@dont-email.me> <jfa07bF1nkpU1@mid.individual.net> <t6ojmt$j2e$1@dont-email.me> <t6pkvs$vmd$1@dont-email.me> <t6qho2$gdb$2@dont-email.me> <t6qkal$8eq$1@dont-email.me>
Injection-Date: Fri, 27 May 2022 17:23:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f11073b45561cbe3d22e1fcc3c7cf636";
logging-data="6021"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UgRvgx3NMZwPYDKJsl0vvwRHfK68mYfs="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:HHHjuDHvdvYkoreBvCRk2t70G5g=
 by: Simon Clubley - Fri, 27 May 2022 17:23 UTC

On 2022-05-27, Dave Froble <davef@tsoft-inc.com> wrote:
>
> Unable to stifle all my defiance, I'm sure I could do it in Macro-32.
>
>:-)
>

You can do anything you want in Macro-32 if you spend long enough
at it and are stubborn enough. :-)

You already know what I think about whether you should... :-)

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t6r2e4$5s5$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Fri, 27 May 2022 17:40:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <t6r2e4$5s5$3@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smua6t$3hs$3@dont-email.me> <6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me> <t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me> <627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me> <jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk> <t66u0b$2t1$1@dont-email.me> <6287868c$0$700$14726298@news.sunsite.dk> <t687h9$gkf$1@dont-email.me> <t68jm0$e7c$1@dont-email.me> <t692vb$71s$1@dont-email.me> <t6fv1f$lvh$2@dont-email.me> <t6gefk$lai$1@dont-email.me> <t6gh98$10j$1@dont-email.me> <t6gnrn$t6$1@dont-email.me> <t6j4qe$cad$1@dont-email.me> <t6jgnf$b06$1@dont-email.me> <t6lqse$4hf$2@dont-email.me> <t6m28s$aau$1@dont-email.me> <t6og6d$tip$1@dont-email.me> <jfa07bF1nkpU1@mid.individual.net> <t6ojmt$j2e$1@dont-email.me> <jfaebmF49ksU1@mid.individual.net> <t6qh8h$gdb$1@dont-email.me> <jfc5v5FechvU1@mid.individual.net> <t6qpsn$gf3$1@dont-email.me> <t6r10p$5s5$1@dont-email.me>
Injection-Date: Fri, 27 May 2022 17:40:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f11073b45561cbe3d22e1fcc3c7cf636";
logging-data="6021"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EWZkc5ZV86QPWifUdfhKt9jlccDjHo8o="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:fotqC7bNFdtf4QXoH/1PFKNoFrg=
 by: Simon Clubley - Fri, 27 May 2022 17:40 UTC

On 2022-05-27, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
> On 2022-05-27, Dave Froble <davef@tsoft-inc.com> wrote:
>>
>> Was Simon around in 1978 ???
>>
>
> Yes I was, but I wasn't even in secondary school yet at that point. :-)
>

Sorry, that should have said not in _upper_ secondary school at that point.

In the UK, there's primary school, then secondary school (which can be
split between lower secondary school and upper secondary school as it
was for me), and then the sixth form. After that, there's university.

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<jfcqukFqmi5U6@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0...@eager.cx (Bob Eager)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: 27 May 2022 20:34:28 GMT
Lines: 29
Message-ID: <jfcqukFqmi5U6@mid.individual.net>
References: <smg4a2$boh$1@gioia.aioe.org>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
<t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me>
<627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me>
<jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk>
<t66u0b$2t1$1@dont-email.me> <6287868c$0$700$14726298@news.sunsite.dk>
<t687h9$gkf$1@dont-email.me> <t68jm0$e7c$1@dont-email.me>
<t692vb$71s$1@dont-email.me> <t6fv1f$lvh$2@dont-email.me>
<t6gefk$lai$1@dont-email.me> <t6gh98$10j$1@dont-email.me>
<t6gnrn$t6$1@dont-email.me> <t6j4qe$cad$1@dont-email.me>
<t6jgnf$b06$1@dont-email.me> <t6lqse$4hf$2@dont-email.me>
<t6m28s$aau$1@dont-email.me> <t6og6d$tip$1@dont-email.me>
<jfa07bF1nkpU1@mid.individual.net> <t6ojmt$j2e$1@dont-email.me>
<jfaebmF49ksU1@mid.individual.net> <t6qh8h$gdb$1@dont-email.me>
<jfc5v5FechvU1@mid.individual.net> <t6qpsn$gf3$1@dont-email.me>
<t6r10p$5s5$1@dont-email.me> <t6r2e4$5s5$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net R1O228G+GgsBgrGrgk6/HA3CwE9ZNusd/uhYt9vp2br1pCvE7w
Cancel-Lock: sha1:NSZaxK5xssP9JCh59VpXSgQKciM=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Fri, 27 May 2022 20:34 UTC

On Fri, 27 May 2022 17:40:21 +0000, Simon Clubley wrote:

> On 2022-05-27, Simon Clubley
> <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>> On 2022-05-27, Dave Froble <davef@tsoft-inc.com> wrote:
>>>
>>> Was Simon around in 1978 ???
>>>
>>>
>> Yes I was, but I wasn't even in secondary school yet at that point.
>>
>>
> Sorry, that should have said not in _upper_ secondary school at that
> point.
>
> In the UK, there's primary school, then secondary school (which can be
> split between lower secondary school and upper secondary school as it
> was for me), and then the sixth form. After that, there's university.

With an alternative to sixth form being 'college', just to confuse
matters.

--
My posts are my copyright and if @diy_forums or Home Owners' Hub
wish to copy them they can pay me £1 a message.
Use the BIG mirror service in the UK: http://www.mirrorservice.org
*lightning surge protection* - a w_tom conductor

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6291676f$0$697$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 27 May 2022 20:06:06 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
<t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me>
<627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me>
<jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk>
<t66u0b$2t1$1@dont-email.me> <6287868c$0$700$14726298@news.sunsite.dk>
<t687h9$gkf$1@dont-email.me> <t68jm0$e7c$1@dont-email.me>
<t692vb$71s$1@dont-email.me> <t6fv1f$lvh$2@dont-email.me>
<t6gefk$lai$1@dont-email.me> <t6gh98$10j$1@dont-email.me>
<t6gnrn$t6$1@dont-email.me> <t6j4qe$cad$1@dont-email.me>
<t6jgnf$b06$1@dont-email.me> <t6lqse$4hf$2@dont-email.me>
<t6m28s$aau$1@dont-email.me> <t6og6d$tip$1@dont-email.me>
<jfa07bF1nkpU1@mid.individual.net> <t6ojmt$j2e$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t6ojmt$j2e$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 27
Message-ID: <6291676f$0$697$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b76ad6df.news.sunsite.dk
X-Trace: 1653696367 news.sunsite.dk 697 arne@vajhoej.dk/68.9.63.232:64549
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 28 May 2022 00:06 UTC

On 5/26/2022 3:16 PM, Simon Clubley wrote:
> As per the question I just asked, how would you define a record
> structure and access a block of memory through the record structure
> at a random memory location and how would you chain together instances
> of these structures in memory ?

We are talking a fictive Basic compiler right? Pretty easy I would say.

Some VB.NET inspired syntax:

Structure Foobar
Dim S1 As UInt16
Dim S2 As UInt16
Dim I As Int32
End Structure
....
Dim fbptr As Pointer To Foobar
....
fbptr = UncheckedCast(integerpointingtosomerandomplaceinmemory, Pointer
To Foobar)
....
fbptr.S1 = 1
fbptr.S2 = 2
fbptr.I = 3

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6291696a$0$697$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 27 May 2022 20:14:27 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t6kpm2$kcr$1@news.misty.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 73
Message-ID: <6291696a$0$697$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b76ad6df.news.sunsite.dk
X-Trace: 1653696874 news.sunsite.dk 697 arne@vajhoej.dk/68.9.63.232:65259
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 28 May 2022 00:14 UTC

On 5/25/2022 4:34 AM, Johnny Billquist wrote:
> On 2022-05-25 01:55, Arne Vajhøj wrote:
>> On 5/24/2022 1:03 PM, Johnny Billquist wrote:
>>> On 2022-05-23 14:29, Simon Clubley wrote:
>>>> On 2022-05-20, Stephen Hoffman <seaohveh@hoffmanlabs.invalid> wrote:
>>>>> On 2022-05-20 17:44:50 +0000, Simon Clubley said:
>>>>>> These days, I avoid this problem in my C code by using the
>>>>>> uint[8/16/32]_t (and friends) data types.
>>>>>>
>>>>>
>>>>> Same here, where I need to care that much about the integer types.
>>>>>
>>>>
>>>> Person who likes Ada here, remember ? :-)
>>>>
>>>> I always care about my types... :-)
>>>
>>> In a sense, this is something Ada really got right. You don't declare
>>> how many bits, signedness and so on you want. You declare your
>>> integers with the range you need them to have, and let the
>>> language/compiler figure out how to represent and store them.
>>
>> Ada and the rest of that "language family" including Pascal and Modula-2.
>
> It's similar in some sense to Pascal, yes (I don't really know Modula),
> but from just my recollection right now, Ada is not the same as Pascal
> here.

Pascal and Modula-2 certainly has:

type
foobar = 1..52;

and:

TYPE
foobar = [1..52];

>>> And two "integer" types with different ranges are not the same type,
>>> or even closely related, and you cannot just assign from one type to
>>> another.
>>
>> That applies for Ada type. Not for Ada subtype and Pascal.
>
> Maybe that is what my recollection is about. In Pascal, they are all
> subtypes, while in Ada they are usually not, unless you specifically say
> so.

Yes.

>> But yes - it is a really really strong feature in Ada. True strict
>> type check.
>
> Yes. While it can be a headache sometimes, it do make a lot of sense.
> Especially when working on larger software with lots of people involved.

And if software errors result in large number of deaths.

>>> However, if you want to interface with hardware, it becomes a little
>>> messy, since then you do want to specify things in number of bits and
>>> bytes. Since that's what the hardware have.
>>
>> It can also be a problem if the code make certain assumptions about
>> when integer overflow happens.
>
> Well, since it's Ada, you don't make any assumptions. You'll always get
> exceptions on overflow, as far as I can remember.

I thought that was implementation specific.

But then I don't really do Ada.

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<mdd1qwewhlz.fsf@panix5.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms alt.folklore.computers
Followup: alt.folklore.computers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!not-for-mail
From: new...@alderson.users.panix.com (Rich Alderson)
Newsgroups: comp.os.vms,alt.folklore.computers
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Followup-To: alt.folklore.computers
Date: 27 May 2022 21:50:16 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 70
Sender: alderson+news@panix5.panix.com
Message-ID: <mdd1qwewhlz.fsf@panix5.panix.com>
References: <smg4a2$boh$1@gioia.aioe.org> <t6gh98$10j$1@dont-email.me> <jf28s0Ftod1U1@mid.individual.net> <jf2fqfFiphjU1@mid.individual.net> <t6iksp$bfh$1@reader1.panix.com> <jf45m0Fsh5eU1@mid.individual.net> <mddh75ea7fo.fsf@panix5.panix.com> <c9ebf2b9-a97c-44ad-80d5-f4e5605eea96n@googlegroups.com> <mddy1ypxea1.fsf@panix5.panix.com> <924cdd2c-c60d-4c7d-b95f-62ea41b27744n@googlegroups.com> <mdd8rqo3qp7.fsf@panix5.panix.com> <8082dcfd-e53e-4856-8ad6-cf5c75d7826cn@googlegroups.com>
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="3788"; mail-complaints-to="abuse@panix.com"
X-Newsreader: Gnus v5.7/Emacs 22.3
 by: Rich Alderson - Sat, 28 May 2022 01:50 UTC

Moving the discussion to alt.folklore.computers, because it's gone way beyond
the interest levels at comp.os.vms by now, I'm sure.

gah4 <gah4@u.washington.edu> writes:

> On Thursday, May 26, 2022 at 2:54:31 PM UTC-7, Rich Alderson wrote:

> (snip)

>>> Looking at an actual IBM manual, it seems that the 64 opcodes map to
>>> the 64 characters in the character set, and those characters are used
>>> to represent them. That is, base 64.

>>> Some others might represent those in octal, but yes I don't see IBM doing
>>> it.

>> Yeah, it wasn't called "base 64". It was called "BCD", and they were simply
>> treated as alphanumerics and special characters.

>> The B bit corresponds to the 11 zone punch on a card, the A bit to the 0
>> zone punch, and BA corresponds to the 12 zone punch.

>> All 0's is the SPACE character; the "0" character is the 8+2 bits.

> The 704 uses a 48 character version of BCD, though I didn't match
> up the character codes. The documentation of opcodes uses octal.

The 704 is completely irrelevant to the previous discussion, since it is a word
addressed (36 bits/word) scientific computer, where the 14xx family are
character addressed business computers. The only thing they have in common is
the name of the manufacturer.

> I didn't see actual assembler output for either one, but in the instruction
> tables the BCD character is used as the numeric opcode for the 1401,
> where others would put the octal (or later hexadecimal) opcode.

Yeah, that's what I said.

> Now, since the 704 only has 48 characters in its BCD, not enough for
> all the opcodes, maybe that isn't so surprising.

>> NB: The card codes on the "96 column cards" used by the System/3 are the
>> same as the 14xx BCD representation in memory.

> It seems that System/3 cards can be either six bit BCD, or 8 bit EBCDIC. In
> the latter case, the extra two rows of punches go above, where the printed
> text goes. I am not sure how the two codes work together.

Interesting. I only encountered the System/3 in passing, and used to have a
small stack of the cards with the numerically ordered punches. That's how I
learned about the correspondence.

> I do remember knowing, not so many years ago, that there was a System/3 card
> read/punch for the 360/20, but never saw one.

> The 704 has some strange features with its character code. Among others, they
> used even parity tape (must have seemed like a good idea) where you can't
> write the character with all bits zero. (No transitions means no clock.)

The 1401 also used 7-bit even parity NRZ tape, IIRC. We didn't have tapes on
our machine, just a 1402 reader/punch and a pair of 1311 disk drives.

> I didn't look to see what the 1401 ALU generates for its decimal output,
> but I presume the 8-2 code.

--
Rich Alderson news@alderson.users.panix.com
Audendum est, et veritas investiganda; quam etiamsi non assequamur,
omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<mddy1ymv2vz.fsf@panix5.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!not-for-mail
From: new...@alderson.users.panix.com (Rich Alderson)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: 27 May 2022 21:53:36 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 24
Sender: alderson+news@panix5.panix.com
Message-ID: <mddy1ymv2vz.fsf@panix5.panix.com>
References: <smg4a2$boh$1@gioia.aioe.org> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <sn0uo9$j0$2@dont-email.me> <t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me> <627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me> <jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk> <t66u0b$2t1$1@dont-email.me> <6287868c$0$700$14726298@news.sunsite.dk> <t687h9$gkf$1@dont-email.me> <t68jm0$e7c$1@dont-email.me> <t692vb$71s$1@dont-email.me> <t6fv1f$lvh$2@dont-email.me> <t6gefk$lai$1@dont-email.me> <t6gh98$10j$1@dont-email.me> <t6gnrn$t6$1@dont-email.me> <t6j4qe$cad$1@dont-email.me> <t6jgnf$b06$1@dont-email.me> <t6lqse$4hf$2@dont-email.me> <t6m28s$aau$1@dont-email.me> <t6og6d$tip$1@dont-email.me> <jfa07bF1nkpU1@mid.individual.net> <t6ojmt$j2e$1@dont-email.me> <jfaebmF49ksU1@mid.individual.net> <t6qh8h$gdb$1@dont-email.me> <jfc5v5FechvU1@mid.individual.net>
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="3788"; mail-complaints-to="abuse@panix.com"
X-Newsreader: Gnus v5.7/Emacs 22.3
 by: Rich Alderson - Sat, 28 May 2022 01:53 UTC

Bill Gunshannon <bill.gunshannon@gmail.com> writes:

> On 5/27/22 08:47, Simon Clubley wrote:

>> The operating system is what runs on top of that emulated environment.

> The example I am thinking of contains the emulated architecture and
> everything right up to the user interface. So, it does contain "what
> runs on top of that emulated environment".

>> I don't understand how this is related to this thread however.

> Tiny Pascal by Herbert Yuen and Kin-Man Chung. Compiler and Pcode
> Interpreter with User Interface all done in NorthStar Basic. In the
> September, October and November 1978 issues of Byte Magazine.

Ah! The articles which turned me away from historical linguistics and towards
a career working with computers for the next 44 years (and counting).

--
Rich Alderson news@alderson.users.panix.com
Audendum est, et veritas investiganda; quam etiamsi non assequamur,
omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t6ta61$j8$1@news.misty.com>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Sat, 28 May 2022 16:04:49 +0200
Organization: MGT Consulting
Message-ID: <t6ta61$j8$1@news.misty.com>
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 28 May 2022 14:04:49 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="616"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Content-Language: en-US
In-Reply-To: <6291696a$0$697$14726298@news.sunsite.dk>
 by: Johnny Billquist - Sat, 28 May 2022 14:04 UTC

On 2022-05-28 02:14, Arne Vajhøj wrote:
> On 5/25/2022 4:34 AM, Johnny Billquist wrote:
>> On 2022-05-25 01:55, Arne Vajhøj wrote:
>>> On 5/24/2022 1:03 PM, Johnny Billquist wrote:
>>>> On 2022-05-23 14:29, Simon Clubley wrote:
>>>>> On 2022-05-20, Stephen Hoffman <seaohveh@hoffmanlabs.invalid> wrote:
>>>>>> On 2022-05-20 17:44:50 +0000, Simon Clubley said:
>>>>>>> These days, I avoid this problem in my C code by using the
>>>>>>> uint[8/16/32]_t (and friends) data types.
>>>>>>>
>>>>>>
>>>>>> Same here, where I need to care that much about the integer types.
>>>>>>
>>>>>
>>>>> Person who likes Ada here, remember ? :-)
>>>>>
>>>>> I always care about my types... :-)
>>>>
>>>> In a sense, this is something Ada really got right. You don't
>>>> declare how many bits, signedness and so on you want. You declare
>>>> your integers with the range you need them to have, and let the
>>>> language/compiler figure out how to represent and store them.
>>>
>>> Ada and the rest of that "language family" including Pascal and
>>> Modula-2.
>>
>> It's similar in some sense to Pascal, yes (I don't really know
>> Modula), but from just my recollection right now, Ada is not the same
>> as Pascal here.
>
> Pascal and Modula-2 certainly has:
>
> type
>     foobar = 1..52;
>
> and:
>
> TYPE
>     foobar = [1..52];

Yeah. Which are implicitly integers, just with a defined range. Which is
way less than what Ada do. But there is certainly a similarity, I agree.

>>> But yes - it is a really really strong feature in Ada. True strict
>>> type check.
>>
>> Yes. While it can be a headache sometimes, it do make a lot of sense.
>> Especially when working on larger software with lots of people involved.
>
> And if software errors result in large number of deaths.

That would be one reason why you'd want to be strict, yes.

>>>> However, if you want to interface with hardware, it becomes a little
>>>> messy, since then you do want to specify things in number of bits
>>>> and bytes. Since that's what the hardware have.
>>>
>>> It can also be a problem if the code make certain assumptions about
>>> when integer overflow happens.
>>
>> Well, since it's Ada, you don't make any assumptions. You'll always
>> get exceptions on overflow, as far as I can remember.
>
> I thought that was implementation specific.
>
> But then I don't really do Ada.

Leaving that as "implementation specific" would really be against the
spirit of the language, if you think about it...

And you also get that exception if you have a type declared with a range
of 0..1000, and you try 1000+1 (of course).

Johnny

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6292c97d$0$697$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sat, 28 May 2022 21:16:38 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t6ta61$j8$1@news.misty.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 159
Message-ID: <6292c97d$0$697$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: de5f9345.news.sunsite.dk
X-Trace: 1653787005 news.sunsite.dk 697 arne@vajhoej.dk/68.9.63.232:56871
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sun, 29 May 2022 01:16 UTC

On 5/28/2022 10:04 AM, Johnny Billquist wrote:
> On 2022-05-28 02:14, Arne Vajhøj wrote:
>> On 5/25/2022 4:34 AM, Johnny Billquist wrote:
>>> On 2022-05-25 01:55, Arne Vajhøj wrote:
>>>> On 5/24/2022 1:03 PM, Johnny Billquist wrote:
>>>>> On 2022-05-23 14:29, Simon Clubley wrote:
>>>>>> On 2022-05-20, Stephen Hoffman <seaohveh@hoffmanlabs.invalid> wrote:
>>>>>>> On 2022-05-20 17:44:50 +0000, Simon Clubley said:
>>>>>>>> These days, I avoid this problem in my C code by using the
>>>>>>>> uint[8/16/32]_t (and friends) data types.
>>>>>>>>
>>>>>>>
>>>>>>> Same here, where I need to care that much about the integer types.
>>>>>>>
>>>>>>
>>>>>> Person who likes Ada here, remember ? :-)
>>>>>>
>>>>>> I always care about my types... :-)
>>>>>
>>>>> In a sense, this is something Ada really got right. You don't
>>>>> declare how many bits, signedness and so on you want. You declare
>>>>> your integers with the range you need them to have, and let the
>>>>> language/compiler figure out how to represent and store them.
>>>>
>>>> Ada and the rest of that "language family" including Pascal and
>>>> Modula-2.
>>>
>>> It's similar in some sense to Pascal, yes (I don't really know
>>> Modula), but from just my recollection right now, Ada is not the same
>>> as Pascal here.
>>
>> Pascal and Modula-2 certainly has:
>>
>> type
>>      foobar = 1..52;
>>
>> and:
>>
>> TYPE
>>      foobar = [1..52];
>
> Yeah. Which are implicitly integers, just with a defined range. Which is
> way less than what Ada do. But there is certainly a similarity, I agree.

I believe it is somewhat similar to Ada:

subtype foobar is Integer range 1..52;

>>>>> However, if you want to interface with hardware, it becomes a
>>>>> little messy, since then you do want to specify things in number of
>>>>> bits and bytes. Since that's what the hardware have.
>>>>
>>>> It can also be a problem if the code make certain assumptions about
>>>> when integer overflow happens.
>>>
>>> Well, since it's Ada, you don't make any assumptions. You'll always
>>> get exceptions on overflow, as far as I can remember.
>>
>> I thought that was implementation specific.
>>
>> But then I don't really do Ada.
>
> Leaving that as "implementation specific" would really be against the
> spirit of the language, if you think about it...

I would tend to agree with that.

But then:

$ type ovf.adb
with Ada.Text_IO, Ada.Integer_Text_IO;

use Ada.Text_IO, Ada.Integer_Text_IO;

procedure ovf is

n : Integer;

begin
n := 2147483647;
Put(n);
New_Line;
n := n + 1;
Put(n);
New_Line;
end ovf;
$ gnat make ovf.adb
gcc -c ovf.adb
gnatbind -x ovf.ali
gnatlink ovf.ali
$ r ovf
2147483647
-2147483648

> And you also get that exception if you have a type declared with a range
> of 0..1000, and you try 1000+1 (of course).

That does get caught:

$ type ovf2.adb
with Ada.Text_IO, Ada.Integer_Text_IO;

use Ada.Text_IO, Ada.Integer_Text_IO;

procedure ovf2 is

type one_to_thousand is range 1..1000;

n : one_to_thousand;

begin
n := 1000;
Put(Integer(n));
New_Line;
n := n + 1;
Put(Integer(n));
New_Line;
end ovf2;
$ gnat make ovf2.adb
gcc -c ovf2.adb
gnatbind -x ovf2.ali
gnatlink ovf2.ali
$ r ovf2
1000

raised CONSTRAINT_ERROR : ovf2.adb:15

$ type ovf3.adb
with Ada.Text_IO, Ada.Integer_Text_IO;

use Ada.Text_IO, Ada.Integer_Text_IO;

procedure ovf3 is

subtype one_to_thousand is Integer range 1..1000;

n : one_to_thousand;

begin
n := 1000;
Put(n);
New_Line;
n := n + 1;
Put(n);
New_Line;
end ovf3;
$ gnat make ovf3.adb
gcc -c ovf3.adb
gnatbind -x ovf3.ali
gnatlink ovf3.ali
$ r ovf3
1000

raised CONSTRAINT_ERROR : ovf3.adb:15

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t721hg$44o$1@news.misty.com>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Mon, 30 May 2022 11:07:59 +0200
Organization: MGT Consulting
Message-ID: <t721hg$44o$1@news.misty.com>
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 30 May 2022 09:08:00 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="4248"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.9.1
Content-Language: en-US
In-Reply-To: <6292c97d$0$697$14726298@news.sunsite.dk>
 by: Johnny Billquist - Mon, 30 May 2022 09:07 UTC

On 2022-05-29 03:16, Arne Vajhøj wrote:
> On 5/28/2022 10:04 AM, Johnny Billquist wrote:
>> On 2022-05-28 02:14, Arne Vajhøj wrote:
>>> On 5/25/2022 4:34 AM, Johnny Billquist wrote:
>>>> On 2022-05-25 01:55, Arne Vajhøj wrote:
>>>>> On 5/24/2022 1:03 PM, Johnny Billquist wrote:
>>>>>> On 2022-05-23 14:29, Simon Clubley wrote:
>>>>>>> On 2022-05-20, Stephen Hoffman <seaohveh@hoffmanlabs.invalid> wrote:
>>>>>>>> On 2022-05-20 17:44:50 +0000, Simon Clubley said:
>>>>>>>>> These days, I avoid this problem in my C code by using the
>>>>>>>>> uint[8/16/32]_t (and friends) data types.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Same here, where I need to care that much about the integer types.
>>>>>>>>
>>>>>>>
>>>>>>> Person who likes Ada here, remember ? :-)
>>>>>>>
>>>>>>> I always care about my types... :-)
>>>>>>
>>>>>> In a sense, this is something Ada really got right. You don't
>>>>>> declare how many bits, signedness and so on you want. You declare
>>>>>> your integers with the range you need them to have, and let the
>>>>>> language/compiler figure out how to represent and store them.
>>>>>
>>>>> Ada and the rest of that "language family" including Pascal and
>>>>> Modula-2.
>>>>
>>>> It's similar in some sense to Pascal, yes (I don't really know
>>>> Modula), but from just my recollection right now, Ada is not the
>>>> same as Pascal here.
>>>
>>> Pascal and Modula-2 certainly has:
>>>
>>> type
>>>      foobar = 1..52;
>>>
>>> and:
>>>
>>> TYPE
>>>      foobar = [1..52];
>>
>> Yeah. Which are implicitly integers, just with a defined range. Which
>> is way less than what Ada do. But there is certainly a similarity, I
>> agree.
>
> I believe it is somewhat similar to Ada:
>
> subtype foobar is Integer range 1..52;

Yeah.

>>>>>> However, if you want to interface with hardware, it becomes a
>>>>>> little messy, since then you do want to specify things in number
>>>>>> of bits and bytes. Since that's what the hardware have.
>>>>>
>>>>> It can also be a problem if the code make certain assumptions about
>>>>> when integer overflow happens.
>>>>
>>>> Well, since it's Ada, you don't make any assumptions. You'll always
>>>> get exceptions on overflow, as far as I can remember.
>>>
>>> I thought that was implementation specific.
>>>
>>> But then I don't really do Ada.
>>
>> Leaving that as "implementation specific" would really be against the
>> spirit of the language, if you think about it...
>
> I would tend to agree with that.
>
> But then:

[...]

Hmm. So either my memory is bad (it's been a long time since I was truly
working in Ada), or gnat have some issues. More likely my brain is bad,
and simple integers don't have that property. But at the same time,
implementation specific sounds so unlike Ada. Maybe they have it just
defined to behave like 2s complement with a defined size? I would have
to go and look it up, but I'm too lazy right now. :-)

Johnny

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t72c65$8k4$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Mon, 30 May 2022 12:09:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <t72c65$8k4$1@dont-email.me>
References: <jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net> <6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net> <6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me> <t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me> <t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk> <t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk> <t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 30 May 2022 12:09:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a58f84d36baa8e0c67d57e9889684784";
logging-data="8836"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194WDvhrn0JIY0NMcSaA6fyvCDvesVk2VU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:z/+vD3rs/al84/+M9acRa4zHRcc=
 by: Simon Clubley - Mon, 30 May 2022 12:09 UTC

On 2022-05-28, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> But then:
>
> $ type ovf.adb
> with Ada.Text_IO, Ada.Integer_Text_IO;
>
> use Ada.Text_IO, Ada.Integer_Text_IO;
>
> procedure ovf is
>
> n : Integer;
>
> begin
> n := 2147483647;
> Put(n);
> New_Line;
> n := n + 1;
> Put(n);
> New_Line;
> end ovf;
> $ gnat make ovf.adb
> gcc -c ovf.adb
> gnatbind -x ovf.ali
> gnatlink ovf.ali
> $ r ovf
> 2147483647
> -2147483648
>

Recompile your code with the "-gnato" option (without quotes!) and try again.

Not one of the finest defaults decisions ever made by AdaCore. :-(

I am surprised that you were not warned at compile time however. Are you
running a really old version of GNAT on VMS ?

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6294be8b$0$698$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 30 May 2022 08:54:34 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
<t72c65$8k4$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t72c65$8k4$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 40
Message-ID: <6294be8b$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 58936c8f.news.sunsite.dk
X-Trace: 1653915275 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:49627
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 30 May 2022 12:54 UTC

On 5/30/2022 8:09 AM, Simon Clubley wrote:
> On 2022-05-28, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> But then:
>>
>> $ type ovf.adb
>> with Ada.Text_IO, Ada.Integer_Text_IO;
>>
>> use Ada.Text_IO, Ada.Integer_Text_IO;
>>
>> procedure ovf is
>>
>> n : Integer;
>>
>> begin
>> n := 2147483647;
>> Put(n);
>> New_Line;
>> n := n + 1;
>> Put(n);
>> New_Line;
>> end ovf;
>> $ gnat make ovf.adb
>> gcc -c ovf.adb
>> gnatbind -x ovf.ali
>> gnatlink ovf.ali
>> $ r ovf
>> 2147483647
>> -2147483648
>
> Recompile your code with the "-gnato" option (without quotes!) and try again.
>
> Not one of the finest defaults decisions ever made by AdaCore. :-(
>
> I am surprised that you were not warned at compile time however. Are you
> running a really old version of GNAT on VMS ?

Yes. Very old.

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<e4f253b5fd66a66b07cd4c48f8c9f9b23f00443d.camel@munted.eu>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!palladium.buellnet!not-for-mail
From: alex.bu...@munted.eu (Single Stage to Orbit)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Mon, 30 May 2022 14:38:21 +0100
Organization: One very high maintenance cat
Message-ID: <e4f253b5fd66a66b07cd4c48f8c9f9b23f00443d.camel@munted.eu>
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk>
<jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk>
<jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
<t72c65$8k4$1@dont-email.me>
Reply-To: alex.buell@munted.eu
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: solani.org;
logging-data="1399174"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Evolution 3.44.1
Cancel-Lock: sha1:iDYNlkgRXicyCqYRWqErhMLoFCM=
In-Reply-To: <t72c65$8k4$1@dont-email.me>
X-User-ID: eJwNy8cRwCAMBMCWUDiFcg6D+i/BzOx3YSHxpQfCMZgQQ1EdZxmuZp1PKRqTorrbn+a6tpI5/aKDJdUU7rpzfiXjFNU=
 by: Single Stage to Orbi - Mon, 30 May 2022 13:38 UTC

On Mon, 2022-05-30 at 12:09 +0000, Simon Clubley wrote:
> Recompile your code with the "-gnato" option (without quotes!) and
> try again.
>
> Not one of the finest defaults decisions ever made by AdaCore. :-(
>
> I am surprised that you were not warned at compile time however. Are
> you running a really old version of GNAT on VMS ?

$ gnatmake-10.3.1 ovf
gcc-10.3.1 -c ovf.adb
ovf.adb:12:16: warning: value not in range of type "Standard.Integer"
[enabled by default]
ovf.adb:12:16: warning: "Constraint_Error" will be raised at run time
[enabled by default]
gnatbind-10.3.1 -x ovf.ali
gnatlink-10.3.1 ovf.ali

Looks like it works fine for me on Linux. :-D
--
Tactical Nuclear Kittens

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<jfk0umFthqcU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Mon, 30 May 2022 09:59:49 -0400
Lines: 98
Message-ID: <jfk0umFthqcU1@mid.individual.net>
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
<t721hg$44o$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net pcmJ/rluJ6iero+HBQ7waQbcn1TCRAGEvd03//0Nv4jv5WLGLt
Cancel-Lock: sha1:rERpVe2yQrZhNwFC8ko9Qo8am0Q=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: en-US
In-Reply-To: <t721hg$44o$1@news.misty.com>
 by: Bill Gunshannon - Mon, 30 May 2022 13:59 UTC

On 5/30/22 05:07, Johnny Billquist wrote:
> On 2022-05-29 03:16, Arne Vajhøj wrote:
>> On 5/28/2022 10:04 AM, Johnny Billquist wrote:
>>> On 2022-05-28 02:14, Arne Vajhøj wrote:
>>>> On 5/25/2022 4:34 AM, Johnny Billquist wrote:
>>>>> On 2022-05-25 01:55, Arne Vajhøj wrote:
>>>>>> On 5/24/2022 1:03 PM, Johnny Billquist wrote:
>>>>>>> On 2022-05-23 14:29, Simon Clubley wrote:
>>>>>>>> On 2022-05-20, Stephen Hoffman <seaohveh@hoffmanlabs.invalid>
>>>>>>>> wrote:
>>>>>>>>> On 2022-05-20 17:44:50 +0000, Simon Clubley said:
>>>>>>>>>> These days, I avoid this problem in my C code by using the
>>>>>>>>>> uint[8/16/32]_t (and friends) data types.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Same here, where I need to care that much about the integer types.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Person who likes Ada here, remember ? :-)
>>>>>>>>
>>>>>>>> I always care about my types... :-)
>>>>>>>
>>>>>>> In a sense, this is something Ada really got right. You don't
>>>>>>> declare how many bits, signedness and so on you want. You declare
>>>>>>> your integers with the range you need them to have, and let the
>>>>>>> language/compiler figure out how to represent and store them.
>>>>>>
>>>>>> Ada and the rest of that "language family" including Pascal and
>>>>>> Modula-2.
>>>>>
>>>>> It's similar in some sense to Pascal, yes (I don't really know
>>>>> Modula), but from just my recollection right now, Ada is not the
>>>>> same as Pascal here.
>>>>
>>>> Pascal and Modula-2 certainly has:
>>>>
>>>> type
>>>>      foobar = 1..52;
>>>>
>>>> and:
>>>>
>>>> TYPE
>>>>      foobar = [1..52];
>>>
>>> Yeah. Which are implicitly integers, just with a defined range. Which
>>> is way less than what Ada do. But there is certainly a similarity, I
>>> agree.
>>
>> I believe it is somewhat similar to Ada:
>>
>> subtype foobar is Integer range 1..52;
>
> Yeah.
>
>>>>>>> However, if you want to interface with hardware, it becomes a
>>>>>>> little messy, since then you do want to specify things in number
>>>>>>> of bits and bytes. Since that's what the hardware have.
>>>>>>
>>>>>> It can also be a problem if the code make certain assumptions about
>>>>>> when integer overflow happens.
>>>>>
>>>>> Well, since it's Ada, you don't make any assumptions. You'll always
>>>>> get exceptions on overflow, as far as I can remember.
>>>>
>>>> I thought that was implementation specific.
>>>>
>>>> But then I don't really do Ada.
>>>
>>> Leaving that as "implementation specific" would really be against the
>>> spirit of the language, if you think about it...
>>
>> I would tend to agree with that.
>>
>> But then:
>
> [...]
>
> Hmm. So either my memory is bad (it's been a long time since I was truly
> working in Ada), or gnat have some issues. More likely my brain is bad,
> and simple integers don't have that property. But at the same time,
> implementation specific sounds so unlike Ada.

I haven't played with Ada for quite some time but according to the
older standards (that I still have the docs for) "implementation
specific" is definitely common in Ada. It was one of the things
that reduced my interest in the language. It makes programs non-
deterministic.

> Maybe they have it just
> defined to behave like 2s complement with a defined size? I would have
> to go and look it up, but I'm too lazy right now. :-)
>

Ada was a good idea destroyed by committee.

bill

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6295016a$0$705$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 30 May 2022 13:39:54 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
<t72c65$8k4$1@dont-email.me>
<e4f253b5fd66a66b07cd4c48f8c9f9b23f00443d.camel@munted.eu>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <e4f253b5fd66a66b07cd4c48f8c9f9b23f00443d.camel@munted.eu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
Message-ID: <6295016a$0$705$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: db73465e.news.sunsite.dk
X-Trace: 1653932394 news.sunsite.dk 705 arne@vajhoej.dk/68.9.63.232:63116
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 30 May 2022 17:39 UTC

On 5/30/2022 9:38 AM, Single Stage to Orbit wrote:
> On Mon, 2022-05-30 at 12:09 +0000, Simon Clubley wrote:
>> Recompile your code with the "-gnato" option (without quotes!) and
>> try again.
>>
>> Not one of the finest defaults decisions ever made by AdaCore. :-(
>>
>> I am surprised that you were not warned at compile time however. Are
>> you running a really old version of GNAT on VMS ?
>
> $ gnatmake-10.3.1 ovf
> gcc-10.3.1 -c ovf.adb
> ovf.adb:12:16: warning: value not in range of type "Standard.Integer"
> [enabled by default]
> ovf.adb:12:16: warning: "Constraint_Error" will be raised at run time
> [enabled by default]
> gnatbind-10.3.1 -x ovf.ali
> gnatlink-10.3.1 ovf.ali
>
> Looks like it works fine for me on Linux. :-D

They must have become better.

I was using 3.12p from 1999.

:-)

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t730rt$es1$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Mon, 30 May 2022 18:02:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <t730rt$es1$1@dont-email.me>
References: <jenjdtFgfvhU1@mid.individual.net> <6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net> <6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net> <6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me> <t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me> <t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk> <t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk> <t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk> <t72c65$8k4$1@dont-email.me> <e4f253b5fd66a66b07cd4c48f8c9f9b23f00443d.camel@munted.eu>
Injection-Date: Mon, 30 May 2022 18:02:38 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a58f84d36baa8e0c67d57e9889684784";
logging-data="15233"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18I/FupFw7gh2jVZ1onpnFnJUg1tLd2qb4="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:3ULguy7LwuFS+N4Do258ALvR+Ho=
 by: Simon Clubley - Mon, 30 May 2022 18:02 UTC

On 2022-05-30, Single Stage to Orbit <alex.buell@munted.eu> wrote:
> On Mon, 2022-05-30 at 12:09 +0000, Simon Clubley wrote:
>> Recompile your code with the "-gnato" option (without quotes!) and
>> try again.
>>
>> Not one of the finest defaults decisions ever made by AdaCore. :-(
>>
>> I am surprised that you were not warned at compile time however. Are
>> you running a really old version of GNAT on VMS ?
>
> $ gnatmake-10.3.1 ovf
> gcc-10.3.1 -c ovf.adb
> ovf.adb:12:16: warning: value not in range of type "Standard.Integer"
> [enabled by default]
> ovf.adb:12:16: warning: "Constraint_Error" will be raised at run time
> [enabled by default]
> gnatbind-10.3.1 -x ovf.ali
> gnatlink-10.3.1 ovf.ali
>
> Looks like it works fine for me on Linux. :-D

You may be seeing a compile time check because there's enough information
in the source code to determine that at compile time (which is the kind
of thing that GNAT is good at even when runtime checks are disabled), or
you may be seeing AdaCore turning on -gnato by default which is something
that was promised a while back:

https://stackoverflow.com/questions/23529857/is-this-a-bug-in-gnat-that-i-should-report

I haven't really paid close attention to this because I am running an
older GNAT compiler and because I always have -gnato on anyway.

This is what used to happen:

https://gcc.gnu.org/onlinedocs/gcc-4.4.7/gnat_ugn_unw/Run_002dTime-Checks.html

You want the -gnato section, which follows the -gnatp section.

Like I said, not exactly one of the finest decisions ever made by AdaCore.

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6295207e$0$703$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 30 May 2022 15:52:25 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
<t72c65$8k4$1@dont-email.me>
<e4f253b5fd66a66b07cd4c48f8c9f9b23f00443d.camel@munted.eu>
<6295016a$0$705$14726298@news.sunsite.dk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <6295016a$0$705$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 177
Message-ID: <6295207e$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 224c3b78.news.sunsite.dk
X-Trace: 1653940350 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:51413
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 30 May 2022 19:52 UTC

On 5/30/2022 1:39 PM, Arne Vajhøj wrote:
> On 5/30/2022 9:38 AM, Single Stage to Orbit wrote:
>> On Mon, 2022-05-30 at 12:09 +0000, Simon Clubley wrote:
>>> Recompile your code with the "-gnato" option (without quotes!) and
>>> try again.
>>>
>>> Not one of the finest defaults decisions ever made by AdaCore. :-(
>>>
>>> I am surprised that you were not warned at compile time however. Are
>>> you running a really old version of GNAT on VMS ?
>>
>> $ gnatmake-10.3.1 ovf
>> gcc-10.3.1 -c ovf.adb
>> ovf.adb:12:16: warning: value not in range of type "Standard.Integer"
>> [enabled by default]
>> ovf.adb:12:16: warning: "Constraint_Error" will be raised at run time
>> [enabled by default]
>> gnatbind-10.3.1 -x ovf.ali
>> gnatlink-10.3.1 ovf.ali
>>
>> Looks like it works fine for me on Linux. :-D
>
> They must have become better.
>
> I was using 3.12p from 1999.
>
> :-)

BTW, I get the same as your Linux GCC with ACT Gnat 2017 on Windows:

C:\Work>gnat make ovf.adb
gcc -c ovf.adb
ovf.adb:13:12: warning: value not in range of type "Standard.Integer"
ovf.adb:13:12: warning: "Constraint_Error" will be raised at run time
gnatbind -x ovf.ali
gnatlink ovf.ali

C:\Work>ovf
2147483647

raised CONSTRAINT_ERROR : ovf.adb:13 overflow check failed

And a few more.

jgnat 1.1p:

C:\Work>jgnatmake ovf.adb
jgnat -c ovf.adb
jgnatbind -x ovf.ali
jgnatlink ovf.ali

C:\Work>java -cp .;jgnat.jar ovf
2147483647
-0./,),(-*,(

(something went really bad here - not only did it not catch the
overflow - it could not print the number!)

ACT Gnat 2013 for JVM:

C:\Work>jvm-gnat make ovf.adb
jvm-gnatcompile -c ovf.adb
ovf.adb:13:12: warning: value not in range of type "Standard.Integer"
ovf.adb:13:12: warning: "Constraint_Error" will be raised at run time
jvm-gnatbind -x ovf.ali
jvm-gnatlink ovf.ali

C:\Work>java -cp .;jgnat.jar ovf
2147483647

CONSTRAINT_ERROR ovf.adb:13 overflow check failed

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<cc56871fb523d3a82fde5cf71a8a1de1f5bddf71.camel@munted.eu>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!palladium.buellnet!not-for-mail
From: alex.bu...@munted.eu (Single Stage to Orbit)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Mon, 30 May 2022 20:10:48 +0100
Organization: One very high maintenance cat
Message-ID: <cc56871fb523d3a82fde5cf71a8a1de1f5bddf71.camel@munted.eu>
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk>
<jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk>
<jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
<t72c65$8k4$1@dont-email.me>
<e4f253b5fd66a66b07cd4c48f8c9f9b23f00443d.camel@munted.eu>
<6295016a$0$705$14726298@news.sunsite.dk>
Reply-To: alex.buell@munted.eu
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: solani.org;
logging-data="1413925"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Evolution 3.44.1
Cancel-Lock: sha1:4dUu+8KHWiBb7vTAA0+HJKbgcOE=
X-User-ID: eJwFwYkBwEAEBMCWONZTDkL/JWQGYmzjajDF4VqSxfFK5MafVs8Rb3J/bvXttsdiPWrUMgKdNJyEmPeS9AdYqxU+
In-Reply-To: <6295016a$0$705$14726298@news.sunsite.dk>
 by: Single Stage to Orbi - Mon, 30 May 2022 19:10 UTC

On Mon, 2022-05-30 at 13:39 -0400, Arne Vajhøj wrote:
> > Looks like it works fine for me on Linux. :-D
>
> They must have become better.
>
> I was using 3.12p from 1999.

3.12p! Wow, that's based on GCC 2.8.1. First GCC compiler I used was
2.7.2.3 when buillding the early Linux 2.x kernels in the late 90s.
--
Tactical Nuclear Kittens

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6295245a$0$698$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 30 May 2022 16:08:52 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <jenjdtFgfvhU1@mid.individual.net>
<6286d839$0$706$14726298@news.sunsite.dk> <jeo7pvFk767U1@mid.individual.net>
<6286f395$0$701$14726298@news.sunsite.dk> <jepghgFric3U1@mid.individual.net>
<6287bc1f$0$700$14726298@news.sunsite.dk> <t68k2i$e7c$2@dont-email.me>
<t6904k$jpl$1@dont-email.me> <t6fung$lvh$1@dont-email.me>
<t6j35e$h8d$2@news.misty.com> <628d7086$0$693$14726298@news.sunsite.dk>
<t6kpm2$kcr$1@news.misty.com> <6291696a$0$697$14726298@news.sunsite.dk>
<t6ta61$j8$1@news.misty.com> <6292c97d$0$697$14726298@news.sunsite.dk>
<t72c65$8k4$1@dont-email.me>
<e4f253b5fd66a66b07cd4c48f8c9f9b23f00443d.camel@munted.eu>
<6295016a$0$705$14726298@news.sunsite.dk>
<cc56871fb523d3a82fde5cf71a8a1de1f5bddf71.camel@munted.eu>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <cc56871fb523d3a82fde5cf71a8a1de1f5bddf71.camel@munted.eu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 22
Message-ID: <6295245a$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: fa5c1c3e.news.sunsite.dk
X-Trace: 1653941338 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:52896
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 30 May 2022 20:08 UTC

On 5/30/2022 3:10 PM, Single Stage to Orbit wrote:
> On Mon, 2022-05-30 at 13:39 -0400, Arne Vajhøj wrote:
>>> Looks like it works fine for me on Linux. :-D
>>
>> They must have become better.
>>
>> I was using 3.12p from 1999.
>
> 3.12p! Wow,

There was a working version for VMS Alpha that I picked
up many years ago and still has.

I don't do Ada so it really doesn't matter that it is old.

> that's based on GCC 2.8.1. First GCC compiler I used was
> 2.7.2.3 when buillding the early Linux 2.x kernels in the late 90s.

I did play a little with GCC 1.4x on VMS VAX and 2.8.x on VMS Alpha
way back.

Arne

Pages:123456789
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor