Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Things are not as simple as they seems at first. -- Edward Thorp


computers / comp.os.vms / Re: Userland programming languages on VMS.

SubjectAuthor
* Userland programming languages on VMS.Simon Clubley
+* Re: Userland programming languages on VMS.Arne Vajhøj
|`* Re: Userland programming languages on VMS.Richard Maher
| +* Re: Userland programming languages on VMS.VAXman-
| |+* Re: Userland programming languages on VMS.Bill Gunshannon
| ||`- Re: Userland programming languages on VMS.Arne Vajhøj
| |`* Re: Userland programming languages on VMS.Richard Maher
| | `- Re: Userland programming languages on VMS.VAXman-
| +* Re: Userland programming languages on VMS.VAXman-
| |`* Re: Userland programming languages on VMS.Arne Vajhøj
| | +* Re: Userland programming languages on VMS.Johnny Billquist
| | |`- Re: Userland programming languages on VMS.Arne Vajhøj
| | `* Re: Userland programming languages on VMS.VAXman-
| |  `- Re: Userland programming languages on VMS.Arne Vajhøj
| `- Re: Userland programming languages on VMS.Richard Maher
+* Re: Userland programming languages on VMS.abrsvc
|`* Re: Userland programming languages on VMS.Steven Schweda
| `* Re: Userland programming languages on VMS.Arne Vajhøj
|  `* Re: Userland programming languages on VMS.Steven Schweda
|   `* Re: Userland programming languages on VMS.cao...@pitbulluk.org
|    +* Re: Userland programming languages on VMS.Arne Vajhøj
|    |`* Re: Userland programming languages on VMS.John Reagan
|    | `* Re: Userland programming languages on VMS.Arne Vajhøj
|    |  `* Re: Userland programming languages on VMS.Bill Gunshannon
|    |   +* Re: Userland programming languages on VMS.Arne Vajhøj
|    |   |`* Re: Userland programming languages on VMS.Bill Gunshannon
|    |   | +- Re: Userland programming languages on VMS.Arne Vajhøj
|    |   | `* Re: Userland programming languages on VMS.Simon Clubley
|    |   |  `* Re: Userland programming languages on VMS.Bill Gunshannon
|    |   |   +- Re: Userland programming languages on VMS.Arne Vajhøj
|    |   |   `* Re: Userland programming languages on VMS.Arne Vajhøj
|    |   |    `* Re: Userland programming languages on VMS.Bill Gunshannon
|    |   |     `* Re: Userland programming languages on VMS.Arne Vajhøj
|    |   |      `* Re: Userland programming languages on VMS.Bill Gunshannon
|    |   |       +- Re: Userland programming languages on VMS.Arne Vajhøj
|    |   |       `* Re: Userland programming languages on VMS.Phillip Helbig (undress to reply
|    |   |        +- Re: Userland programming languages on VMS.Arne Vajhøj
|    |   |        `* Re: Userland programming languages on VMS.Phillip Helbig (undress to reply
|    |   |         +- Re: Userland programming languages on VMS.Arne Vajhøj
|    |   |         `- Re: Userland programming languages on VMS.Bill Gunshannon
|    |   +- Re: Userland programming languages on VMS.Dave Froble
|    |   `* Re: Userland programming languages on VMS.George Cornelius
|    |    +* Re: Userland programming languages on VMS.Bill Gunshannon
|    |    |`* Re: Userland programming languages on VMS.Dave Froble
|    |    | `- Re: Userland programming languages on VMS.Simon Clubley
|    |    `* Re: Userland programming languages on VMS.Arne Vajhøj
|    |     `* Re: Userland programming languages on VMS.Simon Clubley
|    |      `* Re: Userland programming languages on VMS.Arne Vajhøj
|    |       `* Re: Userland programming languages on VMS.Johnny Billquist
|    |        +- Re: Userland programming languages on VMS.Andreas Gruhl
|    |        +- Re: Userland programming languages on VMS.Andreas Gruhl
|    |        +- Re: Userland programming languages on VMS.John Reagan
|    |        +- Re: Userland programming languages on VMS.Arne Vajhøj
|    |        `- Re: Userland programming languages on VMS.Dave Froble
|    `- Re: Userland programming languages on VMS.John Reagan
+* Re: Userland programming languages on VMS.VAXman-
|+- Re: Userland programming languages on VMS.Bill Gunshannon
|+* Re: Userland programming languages on VMS.Arne Vajhøj
||`* Re: Userland programming languages on VMS.chris
|| `* Re: Userland programming languages on VMS.Chris Townley
||  `* Re: Userland programming languages on VMS.Simon Clubley
||   `* Re: Userland programming languages on VMS.Chris Townley
||    +* Re: Userland programming languages on VMS.Bill Gunshannon
||    |`* Re: Userland programming languages on VMS.Chris Townley
||    | `- Re: Userland programming languages on VMS.Scott Dorsey
||    `- Re: Userland programming languages on VMS.Simon Clubley
|`* Re: Userland programming languages on VMS.Simon Clubley
| `* Re: Userland programming languages on VMS.Dave Froble
|  `* Re: Userland programming languages on VMS.Arne Vajhøj
|   `* Re: Userland programming languages on VMS.Dave Froble
|    +- Re: Userland programming languages on VMS.Arne Vajhøj
|    +* Re: Userland programming languages on VMS.Arne Vajhøj
|    |+* Re: Userland programming languages on VMS.Arne Vajhøj
|    ||`* Re: Userland programming languages on VMS.cao...@pitbulluk.org
|    || `- Re: Userland programming languages on VMS.Arne Vajhøj
|    |`* Re: Userland programming languages on VMS.Arne Vajhøj
|    | +* Re: Userland programming languages on VMS.Scott Dorsey
|    | |+* Re: Userland programming languages on VMS.Bill Gunshannon
|    | ||+* Re: Userland programming languages on VMS.Arne Vajhøj
|    | |||`* Re: Userland programming languages on VMS.Bill Gunshannon
|    | ||| `* Re: Userland programming languages on VMS.Arne Vajhøj
|    | |||  `* Re: Userland programming languages on VMS.Bill Gunshannon
|    | |||   `* Re: Userland programming languages on VMS.Arne Vajhøj
|    | |||    `- Re: Userland programming languages on VMS.Bill Gunshannon
|    | ||`- Re: Userland programming languages on VMS.Scott Dorsey
|    | |`* Re: Userland programming languages on VMS.Simon Clubley
|    | | +- Re: Userland programming languages on VMS.Dave Froble
|    | | +* Re: Userland programming languages on VMS.Scott Dorsey
|    | | |`* Re: Userland programming languages on VMS.Arne Vajhøj
|    | | | `- Re: Userland programming languages on VMS.Arne Vajhøj
|    | | +- Re: Userland programming languages on VMS.John Wallace
|    | | `* Re: Userland programming languages on VMS.Johnny Billquist
|    | |  +* Re: Userland programming languages on VMS.John Reagan
|    | |  |`- Re: Userland programming languages on VMS.Arne Vajhøj
|    | |  +* Re: Userland programming languages on VMS.Arne Vajhøj
|    | |  |`* Re: Userland programming languages on VMS.Bill Gunshannon
|    | |  | `* Re: Userland programming languages on VMS.Arne Vajhøj
|    | |  |  `* Re: Userland programming languages on VMS.Bill Gunshannon
|    | |  |   `- Re: Userland programming languages on VMS.Arne Vajhøj
|    | |  `* Re: Userland programming languages on VMS.Bill Gunshannon
|    | |   +* Re: Userland programming languages on VMS.Arne Vajhøj
|    | |   `* Re: Userland programming languages on VMS.Dave Froble
|    | +* Re: Userland programming languages on VMS.Dave Froble
|    | `* Re: Userland programming languages on VMS.Simon Clubley
|    `- Re: Userland programming languages on VMS.Dave Froble
+* Re: Userland programming languages on VMS.Phillip Helbig (undress to reply
`* Re: Userland programming languages on VMS.Paul Hardy

Pages:12345678910
Re: Userland programming languages on VMS.

<61f5fee2$0$703$14726298@news.sunsite.dk>

  copy mid

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

  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: Sat, 29 Jan 2022 21:58:31 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <st401o$jaa$1@dont-email.me>
<memo.20220129195434.12544U@jgd.cix.co.uk>
<61f5a1c8$0$693$14726298@news.sunsite.dk>
<61f5d848$0$699$14726298@news.sunsite.dk> <st4lva$4gc$1@panix2.panix.com>
<j5m5dtFm2dgU1@mid.individual.net> <61f5e5af$0$704$14726298@news.sunsite.dk>
<j5m7v5FmgujU1@mid.individual.net> <61f5edea$0$698$14726298@news.sunsite.dk>
<j5m9jbFmodkU1@mid.individual.net>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <j5m9jbFmodkU1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 30
Message-ID: <61f5fee2$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 91ee9b4c.news.sunsite.dk
X-Trace: 1643511522 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:58590
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sun, 30 Jan 2022 02:58 UTC

On 1/29/2022 8:56 PM, Bill Gunshannon wrote:
> On 1/29/22 20:46, Arne Vajhøj wrote:
>> On 1/29/2022 8:29 PM, Bill Gunshannon wrote:
>>> On 1/29/22 20:11, Arne Vajhøj wrote:
>>>>                      But even though Microsoft and Linux are
>>>> pretty far from each other in many aspects then they do share
>>>> an interest in looking at Rust as replacement for C.
>>>
>>> I will not be holding my breathe waiting for Unix to be re-written
>>> in Rust.
>>
>> Old commercial Unix'es will not be rewritten. Thee will be lucky
>> if they are even maintained.
>
> Real Unix is still alive and well and being maintained at least as good
> as Linux.

Tru64 is officially dead.

HP-UX last major release was 2007 and production of the HW (Itanium) has
stopped meaning that it is close to dead.

Solaris is hanging in a thread. Oracle has laid off a lot of engineering
and rumors continue to go around that it will be killed off.

AIX is the only one that seems in good shape support wise.

Arne

Re: Userland programming languages on VMS.

<00B6F93C.F0D96A43@SendSpamHere.ORG>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 13:36:29 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B6F93C.F0D96A43@SendSpamHere.ORG>
References: <ssurv4$nm1$1@dont-email.me> <61f2fbad$0$704$14726298@news.sunsite.dk> <st4sup$gh9$1@gioia.aioe.org>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="53793"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sun, 30 Jan 2022 13:36 UTC

In article <st4sup$gh9$1@gioia.aioe.org>, Richard Maher <maher_rjSPAMLESS@hotmail.com> writes:
>On 28/01/2022 4:08 am, Arne Vajhøj wrote:
>> On 1/27/2022 2:31 PM, Simon Clubley wrote:
>>> On 2022-01-27, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>> On 1/27/2022 11:25 AM, John Reagan wrote:
>>>>> On Thursday, January 27, 2022 at 3:39:38 AM UTC-5, Dave Froble wrote:
>>>>>> Why C, when there are better languages?
>>>>>
>>>>> If you are about to use the B-word, better is relative.
>>>>
>>>> Obviously.
>>>>
>>>> But not everybody is in love with C.
>>>>
>>>> Personally I consider C a fine language for OS kernel development
>>>> but not so great a language for more regular applications. And
>>>> DIR is really an application.
>>>>
>>>> I am not good at VMS Basic, so I would prefer VMS Pascal.
>>>>
>>>> :-)
>>>
>>> Pascal is acceptable, but Ada would be better. :-)
>>>
>>> On a more serious note, what would be an acceptable programming language
>>> for userland tools which need to be shipped as part of the operating
>>> system ?
>>>
>>> Let's look at the language options for creating a new userland level
>>> tool on VMS today:
>>>
>>> Macro-32 and BLISS are absolutely unsuitable for obvious reasons.
>>>
>>> Basic appears to be a poor choice when compared to the alternatives
>>> available.
>>>
>>> Ada is no longer available on VMS going forward.
>>>
>>> C is suitable, but is low-level.
>>>
>>> C++ is a possibility (provided a sane subset of the language is used).
>>> However, am I the only one who finds that C++ compilers across all
>>> operating systems get slower and slower as new versions some out ?
>>> Look at how long it takes to compile the LLVM toolkit for example. :-(
>>> :-(
>>>
>>> Pascal is also very much a possibility.
>>>
>>> Fortran and COBOL are not suitable for writing operating system userland
>>> tools.
>>>
>>> So what programming language would you use for a new userland tool on VMS
>>> if you couldn't use Pascal ? As far as I can see, it's only C or maybe
>>> C++.
>>
>> I believe Basic would be a lot better than C.
>>
>> Arne
>>
>
>And COBOL is the besterest.
>
>And if you can program some MACRO then you need a Garbage Collect to
>cover up yor lack of skill in managing memory.

I've never needed "garbage collection" and I've written some very large and complex
products all in Macro!
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: Userland programming languages on VMS.

<j5npfuF11keU1@mid.individual.net>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 10:34:20 -0500
Lines: 77
Message-ID: <j5npfuF11keU1@mid.individual.net>
References: <ssurv4$nm1$1@dont-email.me>
<61f2fbad$0$704$14726298@news.sunsite.dk> <st4sup$gh9$1@gioia.aioe.org>
<00B6F93C.F0D96A43@SendSpamHere.ORG>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 7wJuvuwSMhHdtccDmwI91gYAa2krWxGgisM1GzY9MWi4HnxZs7
Cancel-Lock: sha1:+XAqA+mHM3+FgtbEZIPHqH2spmI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
In-Reply-To: <00B6F93C.F0D96A43@SendSpamHere.ORG>
 by: Bill Gunshannon - Sun, 30 Jan 2022 15:34 UTC

On 1/30/22 08:36, VAXman-@SendSpamHere.ORG wrote:
> In article <st4sup$gh9$1@gioia.aioe.org>, Richard Maher <maher_rjSPAMLESS@hotmail.com> writes:
>> On 28/01/2022 4:08 am, Arne Vajhøj wrote:
>>> On 1/27/2022 2:31 PM, Simon Clubley wrote:
>>>> On 2022-01-27, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>>> On 1/27/2022 11:25 AM, John Reagan wrote:
>>>>>> On Thursday, January 27, 2022 at 3:39:38 AM UTC-5, Dave Froble wrote:
>>>>>>> Why C, when there are better languages?
>>>>>>
>>>>>> If you are about to use the B-word, better is relative.
>>>>>
>>>>> Obviously.
>>>>>
>>>>> But not everybody is in love with C.
>>>>>
>>>>> Personally I consider C a fine language for OS kernel development
>>>>> but not so great a language for more regular applications. And
>>>>> DIR is really an application.
>>>>>
>>>>> I am not good at VMS Basic, so I would prefer VMS Pascal.
>>>>>
>>>>> :-)
>>>>
>>>> Pascal is acceptable, but Ada would be better. :-)
>>>>
>>>> On a more serious note, what would be an acceptable programming language
>>>> for userland tools which need to be shipped as part of the operating
>>>> system ?
>>>>
>>>> Let's look at the language options for creating a new userland level
>>>> tool on VMS today:
>>>>
>>>> Macro-32 and BLISS are absolutely unsuitable for obvious reasons.
>>>>
>>>> Basic appears to be a poor choice when compared to the alternatives
>>>> available.
>>>>
>>>> Ada is no longer available on VMS going forward.
>>>>
>>>> C is suitable, but is low-level.
>>>>
>>>> C++ is a possibility (provided a sane subset of the language is used).
>>>> However, am I the only one who finds that C++ compilers across all
>>>> operating systems get slower and slower as new versions some out ?
>>>> Look at how long it takes to compile the LLVM toolkit for example. :-(
>>>> :-(
>>>>
>>>> Pascal is also very much a possibility.
>>>>
>>>> Fortran and COBOL are not suitable for writing operating system userland
>>>> tools.
>>>>
>>>> So what programming language would you use for a new userland tool on VMS
>>>> if you couldn't use Pascal ? As far as I can see, it's only C or maybe
>>>> C++.
>>>
>>> I believe Basic would be a lot better than C.
>>>
>>> Arne
>>>
>>
>> And COBOL is the besterest.
>>
>> And if you can program some MACRO then you need a Garbage Collect to
>> cover up yor lack of skill in managing memory.
>
> I've never needed "garbage collection" and I've written some very large and complex
> products all in Macro!

I have to admit I really didn't get this one either. I have worked
with a lot of assemblers and written a number of programs in them
and have never had a problem with garbage collection. Memory leaks
seem to be much more of a problem with higher level languages and
especially the newer language du jour.

bill

Re: Userland programming languages on VMS.

<j5npjsF11keU2@mid.individual.net>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 10:36:28 -0500
Lines: 36
Message-ID: <j5npjsF11keU2@mid.individual.net>
References: <st401o$jaa$1@dont-email.me>
<memo.20220129195434.12544U@jgd.cix.co.uk>
<61f5a1c8$0$693$14726298@news.sunsite.dk>
<61f5d848$0$699$14726298@news.sunsite.dk> <st4lva$4gc$1@panix2.panix.com>
<j5m5dtFm2dgU1@mid.individual.net> <61f5e5af$0$704$14726298@news.sunsite.dk>
<j5m7v5FmgujU1@mid.individual.net> <61f5edea$0$698$14726298@news.sunsite.dk>
<j5m9jbFmodkU1@mid.individual.net> <61f5fee2$0$703$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net TsPVCQK2gnHqUrCIH8M9zwAagmhiEC34ScKRhbjagcYpxaEE+p
Cancel-Lock: sha1:THEsSd+J9/zPruRLwXqxOkIPt2Y=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
In-Reply-To: <61f5fee2$0$703$14726298@news.sunsite.dk>
 by: Bill Gunshannon - Sun, 30 Jan 2022 15:36 UTC

On 1/29/22 21:58, Arne Vajhøj wrote:
> On 1/29/2022 8:56 PM, Bill Gunshannon wrote:
>> On 1/29/22 20:46, Arne Vajhøj wrote:
>>> On 1/29/2022 8:29 PM, Bill Gunshannon wrote:
>>>> On 1/29/22 20:11, Arne Vajhøj wrote:
>>>>>                      But even though Microsoft and Linux are
>>>>> pretty far from each other in many aspects then they do share
>>>>> an interest in looking at Rust as replacement for C.
>>>>
>>>> I will not be holding my breathe waiting for Unix to be re-written
>>>> in Rust.
>>>
>>> Old commercial Unix'es will not be rewritten. Thee will be lucky
>>> if they are even maintained.
>>
>> Real Unix is still alive and well and being maintained at least as
>> good as Linux.
>
> Tru64 is officially dead.
>
> HP-UX last major release was 2007 and production of the HW (Itanium) has
> stopped meaning that it is close to dead.
>
> Solaris is hanging in a thread. Oracle has laid off a lot of engineering
> and rumors continue to go around that it will be killed off.
>
> AIX is the only one that seems in good shape support wise.
>

I said real, not proprietary.

FreeBSD, NetBSD, OpenBSD. pretty much anything that didn't drink
the SYSV KoolAid.

bill

Re: Userland programming languages on VMS.

<61f6c1ec$0$698$14726298@news.sunsite.dk>

  copy mid

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

  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: Sun, 30 Jan 2022 11:50:47 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <ssurv4$nm1$1@dont-email.me>
<61f2fbad$0$704$14726298@news.sunsite.dk> <st4sup$gh9$1@gioia.aioe.org>
<00B6F93C.F0D96A43@SendSpamHere.ORG> <j5npfuF11keU1@mid.individual.net>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <j5npfuF11keU1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 64
Message-ID: <61f6c1ec$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: bea507df.news.sunsite.dk
X-Trace: 1643561452 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:51320
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sun, 30 Jan 2022 16:50 UTC

On 1/30/2022 10:34 AM, Bill Gunshannon wrote:
> On 1/30/22 08:36, VAXman-@SendSpamHere.ORG wrote:
>> In article <st4sup$gh9$1@gioia.aioe.org>, Richard Maher
>> <maher_rjSPAMLESS@hotmail.com> writes:
>>> On 28/01/2022 4:08 am, Arne Vajhøj wrote:
>>>> On 1/27/2022 2:31 PM, Simon Clubley wrote:
>>>>> So what programming language would you use for a new userland tool
>>>>> on VMS
>>>>> if you couldn't use Pascal ? As far as I can see, it's only C or maybe
>>>>> C++.
>>>>
>>>> I believe Basic would be a lot better than C.
>>>
>>> And COBOL is the besterest.
>>>
>>> And if you can program some MACRO then you need a Garbage Collect to
>>> cover up yor lack of skill in managing memory.
>>
>> I've never needed "garbage collection" and I've written some very
>> large and complex
>> products all in Macro!
>
> I have to admit I really didn't get this one either.  I have worked
> with a lot of assemblers and written a number of programs in them
> and have never had a problem with garbage collection.  Memory leaks
> seem to be much more of a problem with higher level languages

That seems very plausible.

Assembler programmers are probably at average significant better
than the average of all programmers.

More care has to be put into the assembler code for other reasons
which spill over to memory management.

Even though large assembler code bases exist then I believe
that the real large ones comparable to the X MLOC or XX MLOC
that exist in Cobol, C, C++, Java etc..

> and
> especially the newer language du jour.

What languages?

Most languages from the last 30 years use GC.

Python use GC (reference count based).

Java, Kotlin, Scala and Groovy use GC (reachable based).

JavaScript use GC (reachable based).

C# and VB.NET use GC (reachable based).

PHP use GC (reference count based).

Swift use GC (reference count based).

Go use GC (reachable based).

Only Rust does not use GC, but its very unusual ownership
concept solve the same problem.

Arne

Re: Userland programming languages on VMS.

<st6kfj$f8n$1@panix2.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: 30 Jan 2022 18:13:07 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 26
Message-ID: <st6kfj$f8n$1@panix2.panix.com>
References: <st401o$jaa$1@dont-email.me> <61f5d848$0$699$14726298@news.sunsite.dk> <st4lva$4gc$1@panix2.panix.com> <j5m5dtFm2dgU1@mid.individual.net>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="14928"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 30 Jan 2022 18:13 UTC

Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>On 1/29/22 19:26, Scott Dorsey wrote:
>>
>> Pascal is pretty limited but makes it hard to shoot yourself in the foot.
>> And most implementations don't use null-terminated strings which are the
>> most serious source of vulnerabilities in C code.
>
>Isn't it time to drop this red herring. C was not the only and
>probably not the first to use null terminated strings. If anyone
>really cared it could have been fixed ages ago (it actually was
>in Safe C and we see how much acceptance that got!!)

It is in no way a red herring.

It's true that C was not the only and not the first language to use
null terminated strings.

And it's true that if anyone really cared it could have been fixed
ages ago.

But the fact that people don't care is alarming. Because the bugs
just keep coming and coming.
--scott

--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: Userland programming languages on VMS.

<00B6F965.65A97E9E@SendSpamHere.ORG>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 18:26:05 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B6F965.65A97E9E@SendSpamHere.ORG>
References: <st4sup$gh9$1@gioia.aioe.org> <memo.20220130154429.12544b@jgd.cix.co.uk>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="43716"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sun, 30 Jan 2022 18:26 UTC

In article <memo.20220130154429.12544b@jgd.cix.co.uk>, jgd@cix.co.uk (John Dallman) writes:
>In article <st4sup$gh9$1@gioia.aioe.org>, maher_rjSPAMLESS@hotmail.com
>(Richard Maher) wrote:
>
>> And if you can program some MACRO then you need a Garbage Collect
>> to cover up your lack of skill in managing memory.
>
>Not really. Programs written in assembly languages tend to have much
>simpler memory management schemes than ones written in high-level
>languages. If the program is at all complex, some memory allocation and
>deallocation macros are usually written, and one can make those complain
>about mismatched allocates and frees.

BS. If/when memory is allocated it needs to be deallocated when it is no
longer needed. Same goes for pushing things on the stack -- push data on
and pop data off. Assembly language programmers are generally just better
at those sorts of things because the results of mucking up are not pretty.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: Userland programming languages on VMS.

<61f6dbb2$0$692$14726298@news.sunsite.dk>

  copy mid

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

  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: Sun, 30 Jan 2022 13:40:45 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <st4sup$gh9$1@gioia.aioe.org>
<memo.20220130154429.12544b@jgd.cix.co.uk>
<00B6F965.65A97E9E@SendSpamHere.ORG>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <00B6F965.65A97E9E@SendSpamHere.ORG>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 43
Message-ID: <61f6dbb2$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: d97c6a31.news.sunsite.dk
X-Trace: 1643568050 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:56608
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sun, 30 Jan 2022 18:40 UTC

On 1/30/2022 1:26 PM, VAXman-@SendSpamHere.ORG wrote:
> In article <memo.20220130154429.12544b@jgd.cix.co.uk>, jgd@cix.co.uk (John Dallman) writes:
>> In article <st4sup$gh9$1@gioia.aioe.org>, maher_rjSPAMLESS@hotmail.com
>> (Richard Maher) wrote:
>>
>>> And if you can program some MACRO then you need a Garbage Collect
>>> to cover up your lack of skill in managing memory.
>>
>> Not really. Programs written in assembly languages tend to have much
>> simpler memory management schemes than ones written in high-level
>> languages. If the program is at all complex, some memory allocation and
>> deallocation macros are usually written, and one can make those complain
>> about mismatched allocates and frees.
>
> BS. If/when memory is allocated it needs to be deallocated when it is no
> longer needed. Same goes for pushing things on the stack -- push data on
> and pop data off. Assembly language programmers are generally just better
> at those sorts of things because the results of mucking up are not pretty.

....
push
....
pop
....

is manageable.

So is:

....
allocate
....
deallocate
....
return

The problem arise with the more complex flows where the allocating
routine pass the pointer on to something and return expecting some
other code to deallocate.

Arne

Re: Userland programming languages on VMS.

<st6tjv$ct7$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.46.20.243.28!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 21:49:02 +0100
Organization: MGT Consulting
Message-ID: <st6tjv$ct7$1@news.misty.com>
References: <st4sup$gh9$1@gioia.aioe.org>
<memo.20220130154429.12544b@jgd.cix.co.uk>
<00B6F965.65A97E9E@SendSpamHere.ORG>
<61f6dbb2$0$692$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Jan 2022 20:49:03 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="46.20.243.28";
logging-data="13223"; 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.5.1
Content-Language: en-US
In-Reply-To: <61f6dbb2$0$692$14726298@news.sunsite.dk>
 by: Johnny Billquist - Sun, 30 Jan 2022 20:49 UTC

On 2022-01-30 19:40, Arne Vajhøj wrote:
> On 1/30/2022 1:26 PM, VAXman-@SendSpamHere.ORG wrote:
>> In article <memo.20220130154429.12544b@jgd.cix.co.uk>, jgd@cix.co.uk
>> (John Dallman) writes:
>>> In article <st4sup$gh9$1@gioia.aioe.org>, maher_rjSPAMLESS@hotmail.com
>>> (Richard Maher) wrote:
>>>
>>>> And if you can program some MACRO then you need a Garbage Collect
>>>> to cover up your lack of skill in managing memory.
>>>
>>> Not really. Programs written in assembly languages tend to have much
>>> simpler memory management schemes than ones written in high-level
>>> languages. If the program is at all complex, some memory allocation and
>>> deallocation macros are usually written, and one can make those complain
>>> about mismatched allocates and frees.
>>
>> BS.  If/when memory is allocated it needs to be deallocated when it is no
>> longer needed.  Same goes for pushing things on the stack -- push data on
>> and pop data off.  Assembly language programmers are generally just
>> better
>> at those sorts of things because the results of mucking up are not
>> pretty.
>
> ...
> push
> ...
> pop
> ...
>
> is manageable.
>
> So is:
>
> ...
> allocate
> ...
> deallocate
> ...
> return
>
> The problem arise with the more complex flows where the allocating
> routine pass the pointer on to something and return expecting some
> other code to deallocate.

That is usually because of languages with very poor data ownership
models, which usually is a side effect of object oriented languages.

Complex flow itself isn't really creating any problems. It's all about
knowing who owns the data. But when you don't even know what code might
execute, known what data even exists, or who owns it, becomes a murky
pool. GC to the rescue (if you like calling that a rescue).

Johnny

Re: Userland programming languages on VMS.

<00B6F986.E7DBBE29@SendSpamHere.ORG>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 22:25:57 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B6F986.E7DBBE29@SendSpamHere.ORG>
References: <st4sup$gh9$1@gioia.aioe.org> <memo.20220130154429.12544b@jgd.cix.co.uk> <00B6F965.65A97E9E@SendSpamHere.ORG> <61f6dbb2$0$692$14726298@news.sunsite.dk>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="55320"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sun, 30 Jan 2022 22:25 UTC

In article <61f6dbb2$0$692$14726298@news.sunsite.dk>, =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> writes:
>On 1/30/2022 1:26 PM, VAXman-@SendSpamHere.ORG wrote:
>> In article <memo.20220130154429.12544b@jgd.cix.co.uk>, jgd@cix.co.uk (John Dallman) writes:
>>> In article <st4sup$gh9$1@gioia.aioe.org>, maher_rjSPAMLESS@hotmail.com
>>> (Richard Maher) wrote:
>>>
>>>> And if you can program some MACRO then you need a Garbage Collect
>>>> to cover up your lack of skill in managing memory.
>>>
>>> Not really. Programs written in assembly languages tend to have much
>>> simpler memory management schemes than ones written in high-level
>>> languages. If the program is at all complex, some memory allocation and
>>> deallocation macros are usually written, and one can make those complain
>>> about mismatched allocates and frees.
>>
>> BS. If/when memory is allocated it needs to be deallocated when it is no
>> longer needed. Same goes for pushing things on the stack -- push data on
>> and pop data off. Assembly language programmers are generally just better
>> at those sorts of things because the results of mucking up are not pretty.
>
>....
>push
>....
>pop
>....
>
>is manageable.
>
>So is:
>
>....
>allocate
>....
>deallocate
>....
>return
>
>The problem arise with the more complex flows where the allocating
>routine pass the pointer on to something and return expecting some
>other code to deallocate.

That's just poor coding or poor design if there's a memory leak.

FWIW, that sort of thing is done in the VMS kernel (eg. drivers) all of
the time.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: Userland programming languages on VMS.

<st75tn$7gp$1@dont-email.me>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 23:10:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <st75tn$7gp$1@dont-email.me>
References: <ssurv4$nm1$1@dont-email.me> <00B6F72A.D612D64A@SendSpamHere.ORG> <61f33f60$0$705$14726298@news.sunsite.dk> <st128c$nm6$1@gioia.aioe.org> <st13u9$udg$1@dont-email.me> <st1fpp$9b4$4@dont-email.me> <st1jpr$oke$1@dont-email.me>
Injection-Date: Sun, 30 Jan 2022 23:10:47 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2a62e9b046f46f9d318db962801f8fbe";
logging-data="7705"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OsGDOLkEDLCLo4GC/1TFN0FBRjgI0Phs="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:1Xf07ETDxFrQ4WGQXWFZLmY7yr4=
 by: Simon Clubley - Sun, 30 Jan 2022 23:10 UTC

On 2022-01-28, Chris Townley <news@cct-net.co.uk> wrote:
> On 28/01/2022 19:22, Simon Clubley wrote:
>> On 2022-01-28, Chris Townley <news@cct-net.co.uk> wrote:
>>>
>>> I agree wholeheartedly. When I joined our programming team, I stated
>>> that I would not learn Macro. When porting to Itanium, 3 modules of
>>> Macro didn't work, so I rewrote them: 1 in Basic, 2 in C. All was good!
>>>
>>> Luckily they were well documented...
>>>
>>
>> I actually do know _lots_ of assembly languages. My opinions are based
>> on knowledge, not ignorance.
>>
>> A sample of assembly languages I have either used in the past or are using
>> these days for specialist things: Macro-11, Macro-32, Alpha, x86, ARM,
>> MIPS, and the odd 8/16 bit little MCUs.
>>
>> Everything I use assembly language for these days is for specialist
>> reasons (ie: bare metal startup, bare metal interrupt handlers, getting
>> access to specialist hardware registers from a program, etc) and I switch
>> to at least C as soon as possible.
>>
>
> Simon, I was not deriding anybody who does write this level of code - I
> did a small amount of Z80 assembler in the 80s, but do not want to go
> back there. I am an application programmer, so for me there should be no
> need for assembly programming!
>

Actually, if you look again, you will see I was agreeing with you
and the above wasn't in response to you. :-)

Sometimes people say you are only criticising something because you
don't really understand it. I headed that off by pointing out my
experience with them and hence my opinions come from knowledge but
I should really have added it to the end of the previous reply... :-)

Simon.

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

Re: Userland programming languages on VMS.

<st76lh$cu9$1@dont-email.me>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 23:23:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <st76lh$cu9$1@dont-email.me>
References: <ssurv4$nm1$1@dont-email.me> <5e60c1d5-62da-46b4-b1b0-aedb2c627025n@googlegroups.com> <5401b587-2efd-4855-9b9a-c0f93df5c5ebn@googlegroups.com> <61f34793$0$701$14726298@news.sunsite.dk> <0db5a438-c94a-4aa7-8778-d5e998afe25cn@googlegroups.com> <3fc6a2e4-921d-4f92-b09e-3561ac7c8b59n@googlegroups.com> <61f3f4fa$0$699$14726298@news.sunsite.dk> <c35a901e-378a-4edc-a662-cd2b82c8a4d1n@googlegroups.com> <61f44827$0$705$14726298@news.sunsite.dk> <j5j2u7F42p9U1@mid.individual.net> <61f46240$0$705$14726298@news.sunsite.dk> <j5jd3jF607qU2@mid.individual.net>
Injection-Date: Sun, 30 Jan 2022 23:23:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2a62e9b046f46f9d318db962801f8fbe";
logging-data="13257"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IUwEW3Nw/msPJR+pXUiMXbO0ZcMmdpPg="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:rmpNg803cKQm/oXZBafl3sbIF1o=
 by: Simon Clubley - Sun, 30 Jan 2022 23:23 UTC

On 2022-01-28, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>
> And which Fortran standard includes "!DEC$ATTRIBUTES ADDRESS64::cy"?
>

Some programming languages have pragma statements and that is the
same thing.

$ set response/mode=good_natured

Or are you those people who doesn't like that newfangled Fortran
stuff such as free-form statements and thinks everyone should
write Fortran in punched card format ? :-)

Simon.

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

Re: Userland programming languages on VMS.

<61f723a2$0$703$14726298@news.sunsite.dk>

  copy mid

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

  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: Sun, 30 Jan 2022 18:47:46 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <st4sup$gh9$1@gioia.aioe.org>
<memo.20220130154429.12544b@jgd.cix.co.uk>
<00B6F965.65A97E9E@SendSpamHere.ORG>
<61f6dbb2$0$692$14726298@news.sunsite.dk>
<00B6F986.E7DBBE29@SendSpamHere.ORG>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <00B6F986.E7DBBE29@SendSpamHere.ORG>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 47
Message-ID: <61f723a2$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: ae3bc993.news.sunsite.dk
X-Trace: 1643586466 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:51450
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sun, 30 Jan 2022 23:47 UTC

On 1/30/2022 5:25 PM, VAXman-@SendSpamHere.ORG wrote:
> In article <61f6dbb2$0$692$14726298@news.sunsite.dk>, =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> writes:
>> On 1/30/2022 1:26 PM, VAXman-@SendSpamHere.ORG wrote:
>>> BS. If/when memory is allocated it needs to be deallocated when it is no
>>> longer needed. Same goes for pushing things on the stack -- push data on
>>> and pop data off. Assembly language programmers are generally just better
>>> at those sorts of things because the results of mucking up are not pretty.
>>
>> ....
>> push
>> ....
>> pop
>> ....
>>
>> is manageable.
>>
>> So is:
>>
>> ....
>> allocate
>> ....
>> deallocate
>> ....
>> return
>>
>> The problem arise with the more complex flows where the allocating
>> routine pass the pointer on to something and return expecting some
>> other code to deallocate.
>
> That's just poor coding or poor design if there's a memory leak.

A memory leak is a bug and somebody made a mistake if a bug
is introduced.

But that doesn't really change anything.

It is an observable fact that mistakes are made and bugs introduced
all the time and memory leaks are a common type of bug with languages
that require manual deallocation.

In the real world there are just two choices:
- say that developers should avoid errors and watch errors
continue to be made
- design programming languages, tools and processes
so that the provider fewer opportunities for errors

Arne

Re: Userland programming languages on VMS.

<61f726d6$0$698$14726298@news.sunsite.dk>

  copy mid

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

  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: Sun, 30 Jan 2022 19:01:27 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <st4sup$gh9$1@gioia.aioe.org>
<memo.20220130154429.12544b@jgd.cix.co.uk>
<00B6F965.65A97E9E@SendSpamHere.ORG>
<61f6dbb2$0$692$14726298@news.sunsite.dk> <st6tjv$ct7$1@news.misty.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <st6tjv$ct7$1@news.misty.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 45
Message-ID: <61f726d6$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b23f40ae.news.sunsite.dk
X-Trace: 1643587286 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:51830
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 31 Jan 2022 00:01 UTC

On 1/30/2022 3:49 PM, Johnny Billquist wrote:
> On 2022-01-30 19:40, Arne Vajhøj wrote:
>> On 1/30/2022 1:26 PM, VAXman-@SendSpamHere.ORG wrote:
>>> BS.  If/when memory is allocated it needs to be deallocated when it
>>> is no
>>> longer needed.  Same goes for pushing things on the stack -- push
>>> data on
>>> and pop data off.  Assembly language programmers are generally just
>>> better
>>> at those sorts of things because the results of mucking up are not
>>> pretty.
>>
>> ...
>> push
>> ...
>> pop
>> ...
>>
>> is manageable.
>>
>> So is:
>>
>> ...
>> allocate
>> ...
>> deallocate
>> ...
>> return
>>
>> The problem arise with the more complex flows where the allocating
>> routine pass the pointer on to something and return expecting some
>> other code to deallocate.
>
> That is usually because of languages with very poor data ownership
> models, which usually is a side effect of object oriented languages.
>
> Complex flow itself isn't really creating any problems. It's all about
> knowing who owns the data. But when you don't even know what code might
> execute, known what data even exists, or who owns it, becomes a murky
> pool. GC to the rescue (if you like calling that a rescue).

If we consider uncertainty about who owns data to be complexity then ...

Arne

Re: Userland programming languages on VMS.

<st79pa$cu9$8@dont-email.me>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Mon, 31 Jan 2022 00:16:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <st79pa$cu9$8@dont-email.me>
References: <ssurv4$nm1$1@dont-email.me> <5e60c1d5-62da-46b4-b1b0-aedb2c627025n@googlegroups.com> <5401b587-2efd-4855-9b9a-c0f93df5c5ebn@googlegroups.com> <61f34793$0$701$14726298@news.sunsite.dk> <0db5a438-c94a-4aa7-8778-d5e998afe25cn@googlegroups.com> <3fc6a2e4-921d-4f92-b09e-3561ac7c8b59n@googlegroups.com> <61f3f4fa$0$699$14726298@news.sunsite.dk> <c35a901e-378a-4edc-a662-cd2b82c8a4d1n@googlegroups.com> <61f44827$0$705$14726298@news.sunsite.dk> <j5j2u7F42p9U1@mid.individual.net> <st2o92$1l4m$1@gioia.aioe.org> <j5ktdoFeio7U1@mid.individual.net> <st3vdg$can$1@dont-email.me>
Injection-Date: Mon, 31 Jan 2022 00:16:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2a62e9b046f46f9d318db962801f8fbe";
logging-data="13257"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/0NqOtA5yBNAvfBUyWNcpMJTFJMhbgLc="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:amuJ6nBqVNU+cJumOZr/nmlcbQA=
 by: Simon Clubley - Mon, 31 Jan 2022 00:16 UTC

On 2022-01-29, Dave Froble <davef@tsoft-inc.com> wrote:
> On 1/29/2022 8:23 AM, Bill Gunshannon wrote:
>>
>> Just because a non-Fortran compiler accepts it doesn't make it Fortran.
>>
>
> "non-Fortran compiler" ???????????????????
> -
> Oh, no, Simon has been cloned. We are doomed!
>
>:-)
>

:-)

Unlike Bill, Simon recognises a pragma statement when he sees one. :-)

Simon.

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

Re: Userland programming languages on VMS.

<st79tr$cu9$9@dont-email.me>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Mon, 31 Jan 2022 00:19:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <st79tr$cu9$9@dont-email.me>
References: <ssurv4$nm1$1@dont-email.me> <5e60c1d5-62da-46b4-b1b0-aedb2c627025n@googlegroups.com> <5401b587-2efd-4855-9b9a-c0f93df5c5ebn@googlegroups.com> <61f34793$0$701$14726298@news.sunsite.dk> <0db5a438-c94a-4aa7-8778-d5e998afe25cn@googlegroups.com> <3fc6a2e4-921d-4f92-b09e-3561ac7c8b59n@googlegroups.com> <61f3f4fa$0$699$14726298@news.sunsite.dk> <c35a901e-378a-4edc-a662-cd2b82c8a4d1n@googlegroups.com> <61f44827$0$705$14726298@news.sunsite.dk> <j5j2u7F42p9U1@mid.individual.net> <st2o92$1l4m$1@gioia.aioe.org> <61f57169$0$704$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 31 Jan 2022 00:19:07 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2a62e9b046f46f9d318db962801f8fbe";
logging-data="13257"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18P04bMcO3iS/oKvaeCkfwuatg+iyzta+k="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:6MpL5R9e10/3CG8FnFg+niakqyI=
 by: Simon Clubley - Mon, 31 Jan 2022 00:19 UTC

On 2022-01-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 1/29/2022 1:53 AM, George Cornelius wrote:
>>
>> Works on Eisner.
>>
>> $ show sys/noproc
>> OpenVMS V8.4-2L2 on node EISNER 29-JAN-2022 [...]
>>
>> Here's the memory layout synopsis from a linker map:
>>
>> Virtual memory allocated: 00010000 0005FFFF 00050000 (327680. bytes, 640. pages)
>> 64-Bit Virtual memory allocated: 00000000 00000000 00000000
>> 80000000 80010000 00010000 (65536. bytes, 128. pages)
>>
>> The example, though, shows too small an allocation to escape 32 bit address space.
>
> I consider 0000000080000000 to be 64 bit space.
>
> 0000000000000000 - 000000007FFFFFFF is P0 and P1 space
> FFFFFFFF80000000 - FFFFFFFFFFFFFFFF is S0 and S1 space
> 0000000080000000 and upward is P2 space
>

I think George's point is that this specific address can be
represented in a 32-bit pointer.

Simon.

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

Re: Userland programming languages on VMS.

<st7a14$cu9$10@dont-email.me>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Mon, 31 Jan 2022 00:20:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <st7a14$cu9$10@dont-email.me>
References: <st401o$jaa$1@dont-email.me> <memo.20220129195434.12544U@jgd.cix.co.uk> <61f5a1c8$0$693$14726298@news.sunsite.dk> <61f5d848$0$699$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 31 Jan 2022 00:20:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2a62e9b046f46f9d318db962801f8fbe";
logging-data="13257"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18gT8DwPU6Dfw/XtIACWmKITDFHdTkLfZ0="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:bOpKkBFL2ckGXrQoYwm17HTK4dw=
 by: Simon Clubley - Mon, 31 Jan 2022 00:20 UTC

On 2022-01-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> And it is not just me.
>
> The rust people are rewriting GNU Coreutils (C) in
> rust.
>
> https://www.phoronix.com/scan.php?page=news_item&px=Rust-Coreutils-Jan-2022
>

Let me know when the Rust compiler runs on all the architectures
that Linux runs on. :-)

Simon.

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

Re: Userland programming languages on VMS.

<st7a3t$cu9$11@dont-email.me>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Mon, 31 Jan 2022 00:22:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <st7a3t$cu9$11@dont-email.me>
References: <st401o$jaa$1@dont-email.me> <memo.20220129195434.12544U@jgd.cix.co.uk> <61f5a1c8$0$693$14726298@news.sunsite.dk> <61f5d848$0$699$14726298@news.sunsite.dk> <st4lva$4gc$1@panix2.panix.com>
Injection-Date: Mon, 31 Jan 2022 00:22:22 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2a62e9b046f46f9d318db962801f8fbe";
logging-data="13257"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184qXkDiYlDAmWXt0vA5NE6NzUk5AFOlVc="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:A+owwyfSxZyfLiu3N9pk74oSTpU=
 by: Simon Clubley - Mon, 31 Jan 2022 00:22 UTC

On 2022-01-29, Scott Dorsey <kludge@panix.com> wrote:
>
> Pascal is pretty limited but makes it hard to shoot yourself in the foot.
> And most implementations don't use null-terminated strings which are the
> most serious source of vulnerabilities in C code.
> --scott
>

I wouldn't call Pascal "limited". DEC used it to implement VAXELN...

Simon.

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

Re: Userland programming languages on VMS.

<st7arq$3uv$1@dont-email.me>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Sun, 30 Jan 2022 19:34:32 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <st7arq$3uv$1@dont-email.me>
References: <st401o$jaa$1@dont-email.me>
<memo.20220129195434.12544U@jgd.cix.co.uk>
<61f5a1c8$0$693$14726298@news.sunsite.dk>
<61f5d848$0$699$14726298@news.sunsite.dk> <st4lva$4gc$1@panix2.panix.com>
<st7a3t$cu9$11@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 31 Jan 2022 00:35:06 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="ae5ed13710ccd4c3c10b0c89063cf886";
logging-data="4063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DqSPwjVkj0evJu4eeLnPaUeiedN2uJ4k="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:gWeG8HAZpy6nDH1Y0i7RlGHqa0I=
In-Reply-To: <st7a3t$cu9$11@dont-email.me>
 by: Dave Froble - Mon, 31 Jan 2022 00:34 UTC

On 1/30/2022 7:22 PM, Simon Clubley wrote:
> On 2022-01-29, Scott Dorsey <kludge@panix.com> wrote:
>>
>> Pascal is pretty limited but makes it hard to shoot yourself in the foot.
>> And most implementations don't use null-terminated strings which are the
>> most serious source of vulnerabilities in C code.
>> --scott
>>
>
> I wouldn't call Pascal "limited". DEC used it to implement VAXELN...
>
> Simon.
>

Everything is limited in some way.

Whether those ways are important is the real issue.

--
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: Userland programming languages on VMS.

<61f730c6$0$703$14726298@news.sunsite.dk>

  copy mid

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

  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: Sun, 30 Jan 2022 19:43:51 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <ssurv4$nm1$1@dont-email.me>
<5e60c1d5-62da-46b4-b1b0-aedb2c627025n@googlegroups.com>
<5401b587-2efd-4855-9b9a-c0f93df5c5ebn@googlegroups.com>
<61f34793$0$701$14726298@news.sunsite.dk>
<0db5a438-c94a-4aa7-8778-d5e998afe25cn@googlegroups.com>
<3fc6a2e4-921d-4f92-b09e-3561ac7c8b59n@googlegroups.com>
<61f3f4fa$0$699$14726298@news.sunsite.dk>
<c35a901e-378a-4edc-a662-cd2b82c8a4d1n@googlegroups.com>
<61f44827$0$705$14726298@news.sunsite.dk> <j5j2u7F42p9U1@mid.individual.net>
<st2o92$1l4m$1@gioia.aioe.org> <61f57169$0$704$14726298@news.sunsite.dk>
<st79tr$cu9$9@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <st79tr$cu9$9@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 39
Message-ID: <61f730c6$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b23f40ae.news.sunsite.dk
X-Trace: 1643589830 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:53261
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 31 Jan 2022 00:43 UTC

On 1/30/2022 7:19 PM, Simon Clubley wrote:
> On 2022-01-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 1/29/2022 1:53 AM, George Cornelius wrote:
>>>
>>> Works on Eisner.
>>>
>>> $ show sys/noproc
>>> OpenVMS V8.4-2L2 on node EISNER 29-JAN-2022 [...]
>>>
>>> Here's the memory layout synopsis from a linker map:
>>>
>>> Virtual memory allocated: 00010000 0005FFFF 00050000 (327680. bytes, 640. pages)
>>> 64-Bit Virtual memory allocated: 00000000 00000000 00000000
>>> 80000000 80010000 00010000 (65536. bytes, 128. pages)
>>>
>>> The example, though, shows too small an allocation to escape 32 bit address space.
>>
>> I consider 0000000080000000 to be 64 bit space.
>>
>> 0000000000000000 - 000000007FFFFFFF is P0 and P1 space
>> FFFFFFFF80000000 - FFFFFFFFFFFFFFFF is S0 and S1 space
>> 0000000080000000 and upward is P2 space
>>
>
> I think George's point is that this specific address can be
> represented in a 32-bit pointer.

It can't.

A 32 bit pointer with the value 80000000 will end up as
FFFFFFFF80000000.

Arne

Re: Userland programming languages on VMS.

<61f73205$0$700$14726298@news.sunsite.dk>

  copy mid

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

  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: Sun, 30 Jan 2022 19:49:04 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <st401o$jaa$1@dont-email.me>
<memo.20220129195434.12544U@jgd.cix.co.uk>
<61f5a1c8$0$693$14726298@news.sunsite.dk>
<61f5d848$0$699$14726298@news.sunsite.dk> <st7a14$cu9$10@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <st7a14$cu9$10@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 25
Message-ID: <61f73205$0$700$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b23f40ae.news.sunsite.dk
X-Trace: 1643590149 news.sunsite.dk 700 arne@vajhoej.dk/68.9.63.232:53577
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 31 Jan 2022 00:49 UTC

On 1/30/2022 7:20 PM, Simon Clubley wrote:
> On 2022-01-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> And it is not just me.
>>
>> The rust people are rewriting GNU Coreutils (C) in
>> rust.
>>
>> https://www.phoronix.com/scan.php?page=news_item&px=Rust-Coreutils-Jan-2022
>>
>
> Let me know when the Rust compiler runs on all the architectures
> that Linux runs on. :-)

They are missing some.

Rust supports x86, x86-64, ARM, MIPS, PPC, RISC-V and mainframe.

So they are missing Alpha, PA, Itanium, SPARC and several
lesser ones.

But who actually runs Linux on one of those?

Arne

Re: Userland programming languages on VMS.

<st7h34$d5c$1@panix2.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: 31 Jan 2022 02:21:24 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 14
Message-ID: <st7h34$d5c$1@panix2.panix.com>
References: <st401o$jaa$1@dont-email.me> <61f5d848$0$699$14726298@news.sunsite.dk> <st4lva$4gc$1@panix2.panix.com> <st7a3t$cu9$11@dont-email.me>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="9514"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Mon, 31 Jan 2022 02:21 UTC

Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>On 2022-01-29, Scott Dorsey <kludge@panix.com> wrote:
>>
>> Pascal is pretty limited but makes it hard to shoot yourself in the foot.
>> And most implementations don't use null-terminated strings which are the
>> most serious source of vulnerabilities in C code.
>
>I wouldn't call Pascal "limited". DEC used it to implement VAXELN...

DEC Pascal... is a lot more than just Pascal.
But even so, Modula-2 is probably a better choice for implementing a kernel.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: Userland programming languages on VMS.

<61f74aba$0$692$14726298@news.sunsite.dk>

  copy mid

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

  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: Sun, 30 Jan 2022 21:34:29 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <st401o$jaa$1@dont-email.me>
<61f5d848$0$699$14726298@news.sunsite.dk> <st4lva$4gc$1@panix2.panix.com>
<st7a3t$cu9$11@dont-email.me> <st7h34$d5c$1@panix2.panix.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <st7h34$d5c$1@panix2.panix.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 31
Message-ID: <61f74aba$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 770cf4ab.news.sunsite.dk
X-Trace: 1643596474 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:58309
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 31 Jan 2022 02:34 UTC

On 1/30/2022 9:21 PM, Scott Dorsey wrote:
> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>> On 2022-01-29, Scott Dorsey <kludge@panix.com> wrote:
>>> Pascal is pretty limited but makes it hard to shoot yourself in the foot.
>>> And most implementations don't use null-terminated strings which are the
>>> most serious source of vulnerabilities in C code.
>>
>> I wouldn't call Pascal "limited". DEC used it to implement VAXELN...
>
> DEC Pascal... is a lot more than just Pascal.
> But even so, Modula-2 is probably a better choice for implementing a kernel.

It is important to distinguish between Pascal as in ISO Pascal
versus VMS Pascal.

I really like Modula-2. And I believe that PIM/ISO Modula-2 is a
lot more useful than ISO Pascal for real development. But VMS Pascal
is a lot more capable than ISO Pascal.

VMS Pascal has a module system and it has system specific
integer types.

VMS Pascal does not have FOR "C" but VMS calling convention can
do the same.

So what is the key differentiator here? Coroutines? ASM keyword?

Arne

Re: Userland programming languages on VMS.

<61f74bb3$0$692$14726298@news.sunsite.dk>

  copy mid

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

  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: Sun, 30 Jan 2022 21:38:44 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Userland programming languages on VMS.
Content-Language: en-US
Newsgroups: comp.os.vms
References: <st401o$jaa$1@dont-email.me>
<61f5d848$0$699$14726298@news.sunsite.dk> <st4lva$4gc$1@panix2.panix.com>
<st7a3t$cu9$11@dont-email.me> <st7h34$d5c$1@panix2.panix.com>
<61f74aba$0$692$14726298@news.sunsite.dk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <61f74aba$0$692$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 39
Message-ID: <61f74bb3$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 770cf4ab.news.sunsite.dk
X-Trace: 1643596723 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:58309
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 31 Jan 2022 02:38 UTC

On 1/30/2022 9:34 PM, Arne Vajhøj wrote:
> On 1/30/2022 9:21 PM, Scott Dorsey wrote:
>> Simon Clubley  <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>> On 2022-01-29, Scott Dorsey <kludge@panix.com> wrote:
>>>> Pascal is pretty limited but makes it hard to shoot yourself in the
>>>> foot.
>>>> And most implementations don't use null-terminated strings which are
>>>> the
>>>> most serious source of vulnerabilities in C code.
>>>
>>> I wouldn't call Pascal "limited". DEC used it to implement VAXELN...
>>
>> DEC Pascal... is a lot more than just Pascal.
>> But even so, Modula-2 is probably a better choice for implementing a
>> kernel.
>
> It is important to distinguish between Pascal as in ISO Pascal
> versus VMS Pascal.
>
> I really like Modula-2. And I believe that PIM/ISO Modula-2 is a
> lot more useful than ISO Pascal for real development. But VMS Pascal
> is a lot more capable than ISO Pascal.
>
> VMS Pascal has a module system and it has system specific
> integer types.
>
> VMS Pascal does not have FOR "C" but VMS calling convention can
> do the same.
>
> So what is the key differentiator here? Coroutines? ASM keyword?

Or is it the modules?

Modula-2 modules are better than VMS Pascal modules.

Modula-2 modules are practically OO encapsulation capability.

Arne

Re: Userland programming languages on VMS.

<st7iak$ab6$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!DkYGYmPW3YiGERopO5z+Ig.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Mon, 31 Jan 2022 10:42:31 +0800
Organization: Aioe.org NNTP Server
Message-ID: <st7iak$ab6$1@gioia.aioe.org>
References: <ssurv4$nm1$1@dont-email.me>
<61f2fbad$0$704$14726298@news.sunsite.dk> <st4sup$gh9$1@gioia.aioe.org>
<00B6F93C.F0D96A43@SendSpamHere.ORG>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="10598"; posting-host="DkYGYmPW3YiGERopO5z+Ig.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Richard Maher - Mon, 31 Jan 2022 02:42 UTC

> I've never needed "garbage collection" and I've written some very large and complex
> products all in Macro!

Sorry Brian, meant "can't" instead of "can"

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor