Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

How many chunks could checkchunk check if checkchunk could check chunks? -- Alan Cox


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

<ssurv4$nm1$1@dont-email.me>

  copy mid

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

  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: Userland programming languages on VMS.
Date: Thu, 27 Jan 2022 19:31:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <ssurv4$nm1$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 27 Jan 2022 19:31:48 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6efe1c51e98d71491c146a7950d7b294";
logging-data="24257"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8WjFcUM4OqA8QCCf1IQt/NnfD9/0aaE4="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:7zZ4XYfhjbkUtgsRfnHthJHpNr8=
 by: Simon Clubley - Thu, 27 Jan 2022 19:31 UTC

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++.

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.

<61f2fbad$0$704$14726298@news.sunsite.dk>

  copy mid

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

  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: Thu, 27 Jan 2022 15:08:05 -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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <ssurv4$nm1$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 53
Message-ID: <61f2fbad$0$704$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 2de192a5.news.sunsite.dk
X-Trace: 1643314093 news.sunsite.dk 704 arne@vajhoej.dk/68.9.63.232:52313
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 27 Jan 2022 20:08 UTC

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

Re: Userland programming languages on VMS.

<5e60c1d5-62da-46b4-b1b0-aedb2c627025n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ae9:f81a:: with SMTP id x26mr3849066qkh.179.1643314351505;
Thu, 27 Jan 2022 12:12:31 -0800 (PST)
X-Received: by 2002:a05:6214:3002:: with SMTP id ke2mr4528296qvb.48.1643314351340;
Thu, 27 Jan 2022 12:12:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 27 Jan 2022 12:12:31 -0800 (PST)
In-Reply-To: <ssurv4$nm1$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
References: <ssurv4$nm1$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5e60c1d5-62da-46b4-b1b0-aedb2c627025n@googlegroups.com>
Subject: Re: Userland programming languages on VMS.
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Thu, 27 Jan 2022 20:12:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 74
 by: abrsvc - Thu, 27 Jan 2022 20:12 UTC

On Thursday, January 27, 2022 at 2:31:50 PM UTC-5, Simon Clubley wrote:
> On 2022-01-27, Arne Vajhøj <ar...@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++.
>
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.

I suppose that the language chosen would depend upon what the "tool" does. I see no reason why Fortran couldn't be used or Basic for that matter. What difference does it make what language is used? As long as the appropriate RTLs are available, use what ever language you want. I have written code in many languages and use the one that makes my life easier. Just recently, I coded a MACRO32 module, because it was faster to code that way than to do the same thing in Pascal. I have used Fortran in a similar situation. I look more at what I am trying to do and use the language that will be the easiest.

Dan

Re: Userland programming languages on VMS.

<5401b587-2efd-4855-9b9a-c0f93df5c5ebn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:611:: with SMTP id z17mr111390qta.559.1643321616361;
Thu, 27 Jan 2022 14:13:36 -0800 (PST)
X-Received: by 2002:a37:ef0a:: with SMTP id j10mr4254123qkk.68.1643321616231;
Thu, 27 Jan 2022 14:13:36 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 27 Jan 2022 14:13:35 -0800 (PST)
In-Reply-To: <5e60c1d5-62da-46b4-b1b0-aedb2c627025n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=76.76.60.100; posting-account=OjKUgAkAAAAXAqdVEKd-Gc8RltEUx3Xq
NNTP-Posting-Host: 76.76.60.100
References: <ssurv4$nm1$1@dont-email.me> <5e60c1d5-62da-46b4-b1b0-aedb2c627025n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5401b587-2efd-4855-9b9a-c0f93df5c5ebn@googlegroups.com>
Subject: Re: Userland programming languages on VMS.
From: sms.anti...@gmail.com (Steven Schweda)
Injection-Date: Thu, 27 Jan 2022 22:13:36 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 50
 by: Steven Schweda - Thu, 27 Jan 2022 22:13 UTC

> [...] As far as I can see, it's only C or maybe C++.

Choosing one and sticking with it might help to reduce the annoyances
resulting when every program does its file I/O in an idiosyncratic
(language-specific?) way. I realize that almost anything can be done in
almost any language, but expecting anyone to write his own exotic
user-open routine for every file just to get consistent attributes seems
unrealistic.

For example, I'm not amazed that a (written-in-C-for-Unix-)web-server
log file comes out as:

Record format: Stream_LF, maximum 0 bytes, longest 1057 bytes
Record attributes: Carriage return carriage control

but, although I might guess how, it's not immediately clear to me _why_
an FTP server log file (sys$sysdevice:[tcpip$ftp]tcpip$ftp_run.log)
should be:

Record format: VFC, 2 byte header, maximum 0 bytes, longest 0 bytes
Record attributes: Print file carriage control

while the corresponding anonymous FTP log file
(sys$sysdevice:[tcpip$ftp]tcpip$ftp_anonymous.log) is:

Record format: Variable length, maximum 0 bytes, longest 198 bytes
Record attributes: Carriage return carriage control

Every time I open that anonymous FTP log file with an editor (EDIT
/TPU), I see annoying little "CR" and "LF" characters at the end of
every line.

If a language like Fortran leads a programmer to create common text
files with quirky attributes, then I'd suggest using a different one.

> [...] As long as the appropriate RTLs are available, use what ever
> language you want. [...]

Not, I claim, the best philosophy in this situation.

> [...] I look more at what I am trying to do and use the language that
> will be the easiest.

Easiest for you, or easiest for the poor slob who has to try to
integrate the resulting scrap-box filled with mismatched/incompatible
pieces? Writing a quick tool for your own use is one task, and writing
part of an OS for general use is a different task. Coherence and
consistency might have greater value in one situation than another.

I claim.

Re: Userland programming languages on VMS.

<00B6F72A.D612D64A@SendSpamHere.ORG>

  copy mid

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

  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: Thu, 27 Jan 2022 22:21:51 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: <00B6F72A.D612D64A@SendSpamHere.ORG>
References: <ssurv4$nm1$1@dont-email.me>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="22505"; 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 - Thu, 27 Jan 2022 22:21 UTC

In article <ssurv4$nm1$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>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.

What *obvious* reasons?

--
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.

<j5gp89Fl2e5U1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.freedyn.de!speedkom.net!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: Thu, 27 Jan 2022 18:47:20 -0500
Lines: 41
Message-ID: <j5gp89Fl2e5U1@mid.individual.net>
References: <ssurv4$nm1$1@dont-email.me> <00B6F72A.D612D64A@SendSpamHere.ORG>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net +LwNzv4KwwhSP/sU+PlC6wWWdJY0dnmzwthIHHu78z2VrrRev+
Cancel-Lock: sha1:Bv7P/4ACQJHY0MEhgEAFxmRiXB0=
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: <00B6F72A.D612D64A@SendSpamHere.ORG>
 by: Bill Gunshannon - Thu, 27 Jan 2022 23:47 UTC

On 1/27/22 17:21, VAXman-@SendSpamHere.ORG wrote:
> In article <ssurv4$nm1$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>> 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.
>
> What *obvious* reasons?
>

Well, the first one that would come to my mind would be the diminishing
number of people who have ever seen or worked with Macro-32 and Bliss.
Heck, how many people are left that have even heard of Bliss.

bill

Re: Userland programming languages on VMS.

<61f33f60$0$705$14726298@news.sunsite.dk>

  copy mid

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

  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: Thu, 27 Jan 2022 19:57:02 -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> <00B6F72A.D612D64A@SendSpamHere.ORG>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <00B6F72A.D612D64A@SendSpamHere.ORG>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 41
Message-ID: <61f33f60$0$705$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f0a1f51e.news.sunsite.dk
X-Trace: 1643331424 news.sunsite.dk 705 arne@vajhoej.dk/68.9.63.232:61531
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 28 Jan 2022 00:57 UTC

On 1/27/2022 5:21 PM, VAXman-@SendSpamHere.ORG wrote:
> In article <ssurv4$nm1$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>> 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.
>
> What *obvious* reasons?

Not cost efficient.

There is a reason why assembler programming is becoming so rare
as it is.

Arne

Re: Userland programming languages on VMS.

<61f34793$0$701$14726298@news.sunsite.dk>

  copy mid

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

  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: Thu, 27 Jan 2022 20:31:53 -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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <5401b587-2efd-4855-9b9a-c0f93df5c5ebn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 23
Message-ID: <61f34793$0$701$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f7c40eba.news.sunsite.dk
X-Trace: 1643333523 news.sunsite.dk 701 arne@vajhoej.dk/68.9.63.232:64272
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 28 Jan 2022 01:31 UTC

On 1/27/2022 5:13 PM, Steven Schweda wrote:
>> [...] As far as I can see, it's only C or maybe C++.
>
> Choosing one and sticking with it might help to reduce the annoyances
> resulting when every program does its file I/O in an idiosyncratic
> (language-specific?) way. I realize that almost anything can be done in
> almost any language, but expecting anyone to write his own exotic
> user-open routine for every file just to get consistent attributes seems
> unrealistic.

I believe all VMS languages has options in open for specifying
the file attributes.

fopen(...,"rfm=var")

OPEN(...,CARRIAGECONTROL='LIST')

etc..

Which I do not consider exotic.

Arne

Re: Userland programming languages on VMS.

<0db5a438-c94a-4aa7-8778-d5e998afe25cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:5be8:: with SMTP id k8mr6488890qvc.118.1643351349641;
Thu, 27 Jan 2022 22:29:09 -0800 (PST)
X-Received: by 2002:ad4:5aa4:: with SMTP id u4mr934275qvg.43.1643351349559;
Thu, 27 Jan 2022 22:29:09 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 27 Jan 2022 22:29:09 -0800 (PST)
In-Reply-To: <61f34793$0$701$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=76.76.60.100; posting-account=OjKUgAkAAAAXAqdVEKd-Gc8RltEUx3Xq
NNTP-Posting-Host: 76.76.60.100
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0db5a438-c94a-4aa7-8778-d5e998afe25cn@googlegroups.com>
Subject: Re: Userland programming languages on VMS.
From: sms.anti...@gmail.com (Steven Schweda)
Injection-Date: Fri, 28 Jan 2022 06:29:09 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 6
 by: Steven Schweda - Fri, 28 Jan 2022 06:29 UTC

> Which I do not consider exotic.

Sure, fine, but look at the results from the current blend of (what
are, I assume) defaults. Whether or not better results are so "easy",
the existing situation (mess) is the existing situation (mess).

As I said, "unrealistic". That was an inference, not a postulate.

Re: Userland programming languages on VMS.

<3fc6a2e4-921d-4f92-b09e-3561ac7c8b59n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:4454:: with SMTP id w20mr4352262qkp.465.1643360791938;
Fri, 28 Jan 2022 01:06:31 -0800 (PST)
X-Received: by 2002:a37:6104:: with SMTP id v4mr5093010qkb.0.1643360791782;
Fri, 28 Jan 2022 01:06:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 28 Jan 2022 01:06:31 -0800 (PST)
In-Reply-To: <0db5a438-c94a-4aa7-8778-d5e998afe25cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:8010:63f6:1:4822:83ee:1489:4997;
posting-account=U-ZftAkAAABvsumuV0fbECXlVZy7tqxj
NNTP-Posting-Host: 2a02:8010:63f6:1:4822:83ee:1489:4997
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3fc6a2e4-921d-4f92-b09e-3561ac7c8b59n@googlegroups.com>
Subject: Re: Userland programming languages on VMS.
From: caoi...@pitbulluk.org (cao...@pitbulluk.org)
Injection-Date: Fri, 28 Jan 2022 09:06:31 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: cao...@pitbulluk.org - Fri, 28 Jan 2022 09:06 UTC

On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
> > Which I do not consider exotic.
> Sure, fine, but look at the results from the current blend of (what
> are, I assume) defaults. Whether or not better results are so "easy",
> the existing situation (mess) is the existing situation (mess).
>
> As I said, "unrealistic". That was an inference, not a postulate.

Aren't C/C++ the only VMS languages capable of using the full 64 bit address space?
Perhaps some others are (partially) capable but it doesn't look at all convenient.
Pascal has IADDRESS64 in addition to IADDRESS but why bother to call a _64 system service when you can't really do much else with it?

K

Re: Userland programming languages on VMS.

<61f3f4fa$0$699$14726298@news.sunsite.dk>

  copy mid

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

  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: Fri, 28 Jan 2022 08:51: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: <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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <3fc6a2e4-921d-4f92-b09e-3561ac7c8b59n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 17
Message-ID: <61f3f4fa$0$699$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 45b9f1bf.news.sunsite.dk
X-Trace: 1643377914 news.sunsite.dk 699 arne@vajhoej.dk/68.9.63.232:50964
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 28 Jan 2022 13:51 UTC

On 1/28/2022 4:06 AM, cao...@pitbulluk.org wrote:
> On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
>>> Which I do not consider exotic.
>> Sure, fine, but look at the results from the current blend of (what
>> are, I assume) defaults. Whether or not better results are so "easy",
>> the existing situation (mess) is the existing situation (mess).
>>
>> As I said, "unrealistic". That was an inference, not a postulate.
>
> Aren't C/C++ the only VMS languages capable of using the full 64 bit address space?
> Perhaps some others are (partially) capable but it doesn't look at all convenient.
> Pascal has IADDRESS64 in addition to IADDRESS but why bother to call a _64 system service when you can't really do much else with it?

I believe Fortran supports usage of P2 space.

Arne

Re: Userland programming languages on VMS.

<st128c$nm6$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Fri, 28 Jan 2022 15:31:24 +0000
Organization: Aioe.org NNTP Server
Message-ID: <st128c$nm6$1@gioia.aioe.org>
References: <ssurv4$nm1$1@dont-email.me> <00B6F72A.D612D64A@SendSpamHere.ORG> <61f33f60$0$705$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="24262"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Fri, 28 Jan 2022 15:31 UTC

On 01/28/22 00:57, Arne Vajhøj wrote:
> On 1/27/2022 5:21 PM, VAXman-@SendSpamHere.ORG wrote:
>> In article <ssurv4$nm1$1@dont-email.me>, Simon Clubley
>> <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>> 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.
>>
>> What *obvious* reasons?
>
> Not cost efficient.
>
> There is a reason why assembler programming is becoming so rare
> as it is.
>
> Arne
>
>

Difficulty in maintenance, or even finding programmers fluent enough
to get the best results. If C can be a minefield for the unwary, then
you really are on your own with assembler and need to know a lot more
about the underlying machine architecture, os implementation and
more. Asembler only makes sense now for the lowest level system
programming, where there is not enough machine state to support a
high level language...

Chris

Re: Userland programming languages on VMS.

<st13u9$udg$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Fri, 28 Jan 2022 16:00:04 +0000
Organization: A noiseless patient Spider
Lines: 68
Message-ID: <st13u9$udg$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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 Jan 2022 16:00:09 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6784ed25c8b1d53c22c2d501c9b93165";
logging-data="31152"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8feU9iaGPLaCdqQLlg/dNOyXPSbddEN0="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:xmFU0vIZPbT0j3/lUbayitCpjNA=
In-Reply-To: <st128c$nm6$1@gioia.aioe.org>
Content-Language: en-GB
 by: Chris Townley - Fri, 28 Jan 2022 16:00 UTC

On 28/01/2022 15:31, chris wrote:
> On 01/28/22 00:57, Arne Vajhøj wrote:
>> On 1/27/2022 5:21 PM, VAXman-@SendSpamHere.ORG wrote:
>>> In article <ssurv4$nm1$1@dont-email.me>, Simon Clubley
>>> <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>>> 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.
>>>
>>> What *obvious* reasons?
>>
>> Not cost efficient.
>>
>> There is a reason why assembler programming is becoming so rare
>> as it is.
>>
>> Arne
>>
>>
>
> Difficulty in maintenance, or even finding programmers fluent enough
> to get the best results. If C can be a minefield for the unwary, then
> you really are on your own with assembler and need to know a lot more
> about the underlying machine architecture, os implementation and
> more. Asembler only makes sense now for the lowest level system
> programming, where there is not enough machine state to support a
> high level language...
>
> Chris
>

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...

Chris

--
Chris

Re: Userland programming languages on VMS.

<271155c2-f4d1-4d0c-83a3-94a4297ca391n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1188:: with SMTP id m8mr6834072qtk.349.1643391348582;
Fri, 28 Jan 2022 09:35:48 -0800 (PST)
X-Received: by 2002:a05:622a:411:: with SMTP id n17mr6768908qtx.117.1643391348394;
Fri, 28 Jan 2022 09:35:48 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 28 Jan 2022 09:35:48 -0800 (PST)
In-Reply-To: <3fc6a2e4-921d-4f92-b09e-3561ac7c8b59n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.60.222.222; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 73.60.222.222
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <271155c2-f4d1-4d0c-83a3-94a4297ca391n@googlegroups.com>
Subject: Re: Userland programming languages on VMS.
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Fri, 28 Jan 2022 17:35:48 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 15
 by: John Reagan - Fri, 28 Jan 2022 17:35 UTC

On Friday, January 28, 2022 at 4:06:32 AM UTC-5, cao...@pitbulluk.org wrote:
> On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
> > > Which I do not consider exotic.
> > Sure, fine, but look at the results from the current blend of (what
> > are, I assume) defaults. Whether or not better results are so "easy",
> > the existing situation (mess) is the existing situation (mess).
> >
> > As I said, "unrealistic". That was an inference, not a postulate.
> Aren't C/C++ the only VMS languages capable of using the full 64 bit address space?
> Perhaps some others are (partially) capable but it doesn't look at all convenient.
> Pascal has IADDRESS64 in addition to IADDRESS but why bother to call a _64 system service when you can't really do much else with it?
>
> K
Pascal should allow full use of 64-bit addresses. You can put the [QUAD] attribute on a pointer (or pointer type). It will be a 64-bit pointer. Calling NEW for it will call LIB$GET_VM_64 and give you 64-bit memory.

What Pascal doesn't do is know how to build 64-bit descriptors. It was on my list.

Re: Userland programming languages on VMS.

<c35a901e-378a-4edc-a662-cd2b82c8a4d1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:7f02:: with SMTP id f2mr7094813qtk.601.1643391431537;
Fri, 28 Jan 2022 09:37:11 -0800 (PST)
X-Received: by 2002:a05:620a:f05:: with SMTP id v5mr6451810qkl.692.1643391431318;
Fri, 28 Jan 2022 09:37:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 28 Jan 2022 09:37:11 -0800 (PST)
In-Reply-To: <61f3f4fa$0$699$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=73.60.222.222; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 73.60.222.222
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c35a901e-378a-4edc-a662-cd2b82c8a4d1n@googlegroups.com>
Subject: Re: Userland programming languages on VMS.
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Fri, 28 Jan 2022 17:37:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 23
 by: John Reagan - Fri, 28 Jan 2022 17:37 UTC

On Friday, January 28, 2022 at 8:51:57 AM UTC-5, Arne Vajhøj wrote:
> On 1/28/2022 4:06 AM, cao...@pitbulluk.org wrote:
> > On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
> >>> Which I do not consider exotic.
> >> Sure, fine, but look at the results from the current blend of (what
> >> are, I assume) defaults. Whether or not better results are so "easy",
> >> the existing situation (mess) is the existing situation (mess).
> >>
> >> As I said, "unrealistic". That was an inference, not a postulate.
> >
> > Aren't C/C++ the only VMS languages capable of using the full 64 bit address space?
> > Perhaps some others are (partially) capable but it doesn't look at all convenient.
> > Pascal has IADDRESS64 in addition to IADDRESS but why bother to call a _64 system service when you can't really do much else with it?
> I believe Fortran supports usage of P2 space.
>
> Arne
Fortran lets you allocate COMMON in P2 and it has the CDEC$ POINTER64 (or however it is spelled)
attribute. You can have "top level" 64-bit pointers but you can't get 64-bit pointers as fields in a structure.

Re: Userland programming languages on VMS.

<st1f9v$9b4$3@dont-email.me>

  copy mid

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

  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: Fri, 28 Jan 2022 19:14:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <st1f9v$9b4$3@dont-email.me>
References: <ssurv4$nm1$1@dont-email.me> <00B6F72A.D612D64A@SendSpamHere.ORG>
Injection-Date: Fri, 28 Jan 2022 19:14:07 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7d59e8ae9bb1f8e037ea6aa3ac673804";
logging-data="9572"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1933WRMFHY5Jw64BI4YgpgHjs8l3KCdoUA="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:SehTrjFMfj/nwXvATr7U2+cCXLU=
 by: Simon Clubley - Fri, 28 Jan 2022 19:14 UTC

On 2022-01-27, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
> In article <ssurv4$nm1$1@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>
>>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.
>
> What *obvious* reasons?
>

1) No type safety (even C has _some_ type safety but not as much as say
Pascal, Ada, or the Wirth languages in general),

2) ability to make more really silly mistakes that the compiler will not
catch because it doesn't have enough information to tell you,

3) vast amount of effort to do anything significant compared with the amount
of effort required even in C to do the same thing,

4) lack of people who understand the languages when changes are required.

BLISS, and especially Macro-32, belong in the past for any brand new
programs (as opposed to maintaining existing ones).

The absolute minimum standard for any new applications these days is C.
(And yes, that's a _minimum_ standard. :-))

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.

<st1fpp$9b4$4@dont-email.me>

  copy mid

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

  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: Fri, 28 Jan 2022 19:22:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <st1fpp$9b4$4@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>
Injection-Date: Fri, 28 Jan 2022 19:22:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7d59e8ae9bb1f8e037ea6aa3ac673804";
logging-data="9572"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tbDFOW4OeM26vsFlTWiNJR5P5f6qZ+28="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:WprnhdCVSB3sXVZ9d6KJfe9BTzk=
 by: Simon Clubley - Fri, 28 Jan 2022 19:22 UTC

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.

--
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.

<61f44827$0$705$14726298@news.sunsite.dk>

  copy mid

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

  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: Fri, 28 Jan 2022 14:46:43 -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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <c35a901e-378a-4edc-a662-cd2b82c8a4d1n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 42
Message-ID: <61f44827$0$705$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: fe195b18.news.sunsite.dk
X-Trace: 1643399207 news.sunsite.dk 705 arne@vajhoej.dk/68.9.63.232:52641
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 28 Jan 2022 19:46 UTC

On 1/28/2022 12:37 PM, John Reagan wrote:
> On Friday, January 28, 2022 at 8:51:57 AM UTC-5, Arne Vajhøj wrote:
>> On 1/28/2022 4:06 AM, cao...@pitbulluk.org wrote:
>>> On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
>>>>> Which I do not consider exotic.
>>>> Sure, fine, but look at the results from the current blend of (what
>>>> are, I assume) defaults. Whether or not better results are so "easy",
>>>> the existing situation (mess) is the existing situation (mess).
>>>>
>>>> As I said, "unrealistic". That was an inference, not a postulate.
>>>
>>> Aren't C/C++ the only VMS languages capable of using the full 64 bit address space?
>>> Perhaps some others are (partially) capable but it doesn't look at all convenient.
>>> Pascal has IADDRESS64 in addition to IADDRESS but why bother to call a _64 system service when you can't really do much else with it?
>> I believe Fortran supports usage of P2 space.
>>
> Fortran lets you allocate COMMON in P2 and it has the CDEC$ POINTER64 (or however it is spelled)
> attribute. You can have "top level" 64-bit pointers but you can't get 64-bit pointers as fields in a structure.

Real Fortran programmer does not use pointers.

:-)

Example with common:

$ type f64.for
program f64
implicit none
real*8 x(10),y(10)
common /cx/x
!DEC$ATTRIBUTES ADDRESS64::cy
common /cy/y
write(*,'(1x,z16.16)') %loc(x)
write(*,'(1x,z16.16)') %loc(y)
end
$ for f64
$ link f64
$ run f64
0000000000040000
0000000080000000

Arne

Re: Userland programming languages on VMS.

<st1jpr$oke$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Fri, 28 Jan 2022 20:30:46 +0000
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <st1jpr$oke$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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 28 Jan 2022 20:30:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6784ed25c8b1d53c22c2d501c9b93165";
logging-data="25230"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YVMJiFFVasHSC0/HkcAqt4n+HUwjLjcA="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:iSZWnZts6k7Acntlj0GZ68LpNm4=
In-Reply-To: <st1fpp$9b4$4@dont-email.me>
Content-Language: en-GB
 by: Chris Townley - Fri, 28 Jan 2022 20:30 UTC

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.
>

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!

--
Chris

Re: Userland programming languages on VMS.

<j5j2u7F42p9U1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!speedkom.net!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: Fri, 28 Jan 2022 15:44:55 -0500
Lines: 54
Message-ID: <j5j2u7F42p9U1@mid.individual.net>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net REIWh4pr3t+XSXFYax5WaAur1Vovwl9OT2E700wb00DzC6wpcJ
Cancel-Lock: sha1:5lJNhIzhkfn/AwBjp+BcNOy6qJI=
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: <61f44827$0$705$14726298@news.sunsite.dk>
 by: Bill Gunshannon - Fri, 28 Jan 2022 20:44 UTC

On 1/28/22 14:46, Arne Vajhøj wrote:
> On 1/28/2022 12:37 PM, John Reagan wrote:
>> On Friday, January 28, 2022 at 8:51:57 AM UTC-5, Arne Vajhøj wrote:
>>> On 1/28/2022 4:06 AM, cao...@pitbulluk.org wrote:
>>>> On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
>>>>>> Which I do not consider exotic.
>>>>> Sure, fine, but look at the results from the current blend of (what
>>>>> are, I assume) defaults. Whether or not better results are so "easy",
>>>>> the existing situation (mess) is the existing situation (mess).
>>>>>
>>>>> As I said, "unrealistic". That was an inference, not a postulate.
>>>>
>>>> Aren't C/C++ the only VMS languages capable of using the full 64 bit
>>>> address space?
>>>> Perhaps some others are (partially) capable but it doesn't look at
>>>> all convenient.
>>>> Pascal has IADDRESS64 in addition to IADDRESS but why bother to call
>>>> a _64 system service when you can't really do much else with it?
>>> I believe Fortran supports usage of P2 space.
>>>
>> Fortran lets you allocate COMMON in P2 and it has the CDEC$ POINTER64
>> (or however it is spelled)
>> attribute.   You can have "top level" 64-bit pointers but you can't
>> get 64-bit pointers as fields in a structure.
>
> Real Fortran programmer does not use pointers.
>
> :-)
>
> Example with common:
>
> $ type f64.for
>       program f64
>       implicit none
>       real*8 x(10),y(10)
>       common /cx/x
>       !DEC$ATTRIBUTES ADDRESS64::cy
>       common /cy/y
>       write(*,'(1x,z16.16)') %loc(x)
>       write(*,'(1x,z16.16)') %loc(y)
>       end
> $ for f64
> $ link f64
> $ run f64
> 0000000000040000
> 0000000080000000
>

I ran that thru every FORTRAN compiler I had. Sorry, it's not
FORTRAN.

bill

Re: Userland programming languages on VMS.

<61f46240$0$705$14726298@news.sunsite.dk>

  copy mid

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

  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: Fri, 28 Jan 2022 16:38:05 -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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <j5j2u7F42p9U1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 58
Message-ID: <61f46240$0$705$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: efca8fa1.news.sunsite.dk
X-Trace: 1643405888 news.sunsite.dk 705 arne@vajhoej.dk/68.9.63.232:56770
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 28 Jan 2022 21:38 UTC

On 1/28/2022 3:44 PM, Bill Gunshannon wrote:
> On 1/28/22 14:46, Arne Vajhøj wrote:
>> On 1/28/2022 12:37 PM, John Reagan wrote:
>>> On Friday, January 28, 2022 at 8:51:57 AM UTC-5, Arne Vajhøj wrote:
>>>> On 1/28/2022 4:06 AM, cao...@pitbulluk.org wrote:
>>>>> On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
>>>>>>> Which I do not consider exotic.
>>>>>> Sure, fine, but look at the results from the current blend of (what
>>>>>> are, I assume) defaults. Whether or not better results are so "easy",
>>>>>> the existing situation (mess) is the existing situation (mess).
>>>>>>
>>>>>> As I said, "unrealistic". That was an inference, not a postulate.
>>>>>
>>>>> Aren't C/C++ the only VMS languages capable of using the full 64
>>>>> bit address space?
>>>>> Perhaps some others are (partially) capable but it doesn't look at
>>>>> all convenient.
>>>>> Pascal has IADDRESS64 in addition to IADDRESS but why bother to
>>>>> call a _64 system service when you can't really do much else with it?
>>>> I believe Fortran supports usage of P2 space.
>>>>
>>> Fortran lets you allocate COMMON in P2 and it has the CDEC$ POINTER64
>>> (or however it is spelled)
>>> attribute.   You can have "top level" 64-bit pointers but you can't
>>> get 64-bit pointers as fields in a structure.
>>
>> Real Fortran programmer does not use pointers.
>>
>> :-)
>>
>> Example with common:
>>
>> $ type f64.for
>>        program f64
>>        implicit none
>>        real*8 x(10),y(10)
>>        common /cx/x
>>        !DEC$ATTRIBUTES ADDRESS64::cy
>>        common /cy/y
>>        write(*,'(1x,z16.16)') %loc(x)
>>        write(*,'(1x,z16.16)') %loc(y)
>>        end
>> $ for f64
>> $ link f64
>> $ run f64
>> 0000000000040000
>> 0000000080000000
>>
>
> I ran that thru every FORTRAN compiler I had.  Sorry, it's not
> FORTRAN.

It should work with Fortran on VMS Alpha and VMS I64.

Above test is on VMS Alpha.

Arne

Re: Userland programming languages on VMS.

<j5jcvvF607qU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!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: Fri, 28 Jan 2022 18:36:30 -0500
Lines: 42
Message-ID: <j5jcvvF607qU1@mid.individual.net>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net QExqMMvPEu5pb2wqqxJjTge5C8FDMyySb00CTJYDBUYEfKwqNL
Cancel-Lock: sha1:9L2odY1BHoFWMVGJ5lWABNarRC8=
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: <st1jpr$oke$1@dont-email.me>
 by: Bill Gunshannon - Fri, 28 Jan 2022 23:36 UTC

On 1/28/22 15:30, Chris Townley 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.
>>
>
> 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!
>
>

That's funny... I did a lot of applications programming in Assembler
back in the day. PDP-11, Z80, M68K. Did systems stuff later on but
I started as an Applications Programmer/Systems Analyst and while I
did a lot of COBOL, Fortran and Pascal often Assembler was needed
because of the limited resources of the machines.

bill

Re: Userland programming languages on VMS.

<j5jd3jF607qU2@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!speedkom.net!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: Fri, 28 Jan 2022 18:38:27 -0500
Lines: 64
Message-ID: <j5jd3jF607qU2@mid.individual.net>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net vGFlzbCRAjG3Qjhf59gMWwPoQvHGoplo4DzzEqLpo2dU498D/z
Cancel-Lock: sha1:qOK/+ect8P8q0wfYO7xfaQo9faU=
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: <61f46240$0$705$14726298@news.sunsite.dk>
 by: Bill Gunshannon - Fri, 28 Jan 2022 23:38 UTC

On 1/28/22 16:38, Arne Vajhøj wrote:
> On 1/28/2022 3:44 PM, Bill Gunshannon wrote:
>> On 1/28/22 14:46, Arne Vajhøj wrote:
>>> On 1/28/2022 12:37 PM, John Reagan wrote:
>>>> On Friday, January 28, 2022 at 8:51:57 AM UTC-5, Arne Vajhøj wrote:
>>>>> On 1/28/2022 4:06 AM, cao...@pitbulluk.org wrote:
>>>>>> On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
>>>>>>>> Which I do not consider exotic.
>>>>>>> Sure, fine, but look at the results from the current blend of (what
>>>>>>> are, I assume) defaults. Whether or not better results are so
>>>>>>> "easy",
>>>>>>> the existing situation (mess) is the existing situation (mess).
>>>>>>>
>>>>>>> As I said, "unrealistic". That was an inference, not a postulate.
>>>>>>
>>>>>> Aren't C/C++ the only VMS languages capable of using the full 64
>>>>>> bit address space?
>>>>>> Perhaps some others are (partially) capable but it doesn't look at
>>>>>> all convenient.
>>>>>> Pascal has IADDRESS64 in addition to IADDRESS but why bother to
>>>>>> call a _64 system service when you can't really do much else with it?
>>>>> I believe Fortran supports usage of P2 space.
>>>>>
>>>> Fortran lets you allocate COMMON in P2 and it has the CDEC$
>>>> POINTER64 (or however it is spelled)
>>>> attribute.   You can have "top level" 64-bit pointers but you can't
>>>> get 64-bit pointers as fields in a structure.
>>>
>>> Real Fortran programmer does not use pointers.
>>>
>>> :-)
>>>
>>> Example with common:
>>>
>>> $ type f64.for
>>>        program f64
>>>        implicit none
>>>        real*8 x(10),y(10)
>>>        common /cx/x
>>>        !DEC$ATTRIBUTES ADDRESS64::cy
>>>        common /cy/y
>>>        write(*,'(1x,z16.16)') %loc(x)
>>>        write(*,'(1x,z16.16)') %loc(y)
>>>        end
>>> $ for f64
>>> $ link f64
>>> $ run f64
>>> 0000000000040000
>>> 0000000080000000
>>>
>>
>> I ran that thru every FORTRAN compiler I had.  Sorry, it's not
>> FORTRAN.
>
> It should work with Fortran on VMS Alpha and VMS I64.
>
> Above test is on VMS Alpha.
>

And which Fortran standard includes "!DEC$ATTRIBUTES ADDRESS64::cy"?

bill

Re: Userland programming languages on VMS.

<st1vru$9p7$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Userland programming languages on VMS.
Date: Fri, 28 Jan 2022 23:56:41 +0000
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <st1vru$9p7$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> <j5jcvvF607qU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 Jan 2022 23:56:46 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="ff4326e692f157eddabd66d37f3e75fc";
logging-data="10023"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UFY6kK/iRVbci6EsVFJMYI/XLFpwMSyY="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:dS7Zoctsk81k4/H0u/fpR0I6ct8=
In-Reply-To: <j5jcvvF607qU1@mid.individual.net>
Content-Language: en-GB
 by: Chris Townley - Fri, 28 Jan 2022 23:56 UTC

On 28/01/2022 23:36, Bill Gunshannon wrote:
> On 1/28/22 15:30, Chris Townley 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.
>>>
>>
>> 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!
>>
>>
>
> That's funny...  I did a lot of applications programming in Assembler
> back in the day.  PDP-11, Z80, M68K.  Did systems stuff later on but
> I started as an Applications Programmer/Systems Analyst and while I
> did a lot of COBOL, Fortran and Pascal often Assembler was needed
> because of the limited resources of the machines.
>
> bill
>
But I only joined the programming team in the late 90s, and had moved to
alpha. Performance was rarely an issue.

Where it was was nothing to do with using a high level language - for
example I found a purge program on a large file that took nearly 3
hours. It read the whole file sequentially, with a lock, to delete about
10% of the records. I changed it to read without a lock, only getting a
lock if we needed to delete. Dropped to 10 or 15 minutes. No assembly
coded needed

--
Chris

Re: Userland programming languages on VMS.

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

  copy mid

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

  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: Fri, 28 Jan 2022 19:28: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: <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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <j5jd3jF607qU2@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 88
Message-ID: <61f48a17$0$700$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f20b7c00.news.sunsite.dk
X-Trace: 1643416087 news.sunsite.dk 700 arne@vajhoej.dk/68.9.63.232:61837
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 29 Jan 2022 00:28 UTC

On 1/28/2022 6:38 PM, Bill Gunshannon wrote:
> On 1/28/22 16:38, Arne Vajhøj wrote:
>> On 1/28/2022 3:44 PM, Bill Gunshannon wrote:
>>> On 1/28/22 14:46, Arne Vajhøj wrote:
>>>> On 1/28/2022 12:37 PM, John Reagan wrote:
>>>>> On Friday, January 28, 2022 at 8:51:57 AM UTC-5, Arne Vajhøj wrote:
>>>>>> On 1/28/2022 4:06 AM, cao...@pitbulluk.org wrote:
>>>>>>> On Friday, January 28, 2022 at 6:29:10 AM UTC, Steven Schweda wrote:
>>>>>>>>> Which I do not consider exotic.
>>>>>>>> Sure, fine, but look at the results from the current blend of (what
>>>>>>>> are, I assume) defaults. Whether or not better results are so
>>>>>>>> "easy",
>>>>>>>> the existing situation (mess) is the existing situation (mess).
>>>>>>>>
>>>>>>>> As I said, "unrealistic". That was an inference, not a postulate.
>>>>>>>
>>>>>>> Aren't C/C++ the only VMS languages capable of using the full 64
>>>>>>> bit address space?
>>>>>>> Perhaps some others are (partially) capable but it doesn't look
>>>>>>> at all convenient.
>>>>>>> Pascal has IADDRESS64 in addition to IADDRESS but why bother to
>>>>>>> call a _64 system service when you can't really do much else with
>>>>>>> it?
>>>>>> I believe Fortran supports usage of P2 space.
>>>>>>
>>>>> Fortran lets you allocate COMMON in P2 and it has the CDEC$
>>>>> POINTER64 (or however it is spelled)
>>>>> attribute.   You can have "top level" 64-bit pointers but you can't
>>>>> get 64-bit pointers as fields in a structure.
>>>>
>>>> Real Fortran programmer does not use pointers.
>>>>
>>>> :-)
>>>>
>>>> Example with common:
>>>>
>>>> $ type f64.for
>>>>        program f64
>>>>        implicit none
>>>>        real*8 x(10),y(10)
>>>>        common /cx/x
>>>>        !DEC$ATTRIBUTES ADDRESS64::cy
>>>>        common /cy/y
>>>>        write(*,'(1x,z16.16)') %loc(x)
>>>>        write(*,'(1x,z16.16)') %loc(y)
>>>>        end
>>>> $ for f64
>>>> $ link f64
>>>> $ run f64
>>>> 0000000000040000
>>>> 0000000080000000
>>>>
>>>
>>> I ran that thru every FORTRAN compiler I had.  Sorry, it's not
>>> FORTRAN.
>>
>> It should work with Fortran on VMS Alpha and VMS I64.
>>
>> Above test is on VMS Alpha.
>
> And which Fortran standard includes "!DEC$ATTRIBUTES ADDRESS64::cy"?

Anything newer than 90 or none depending on perspective.

It is a comment in standard Fortran 90+.

But only VMS Fortran Alpha, I64 and I assume x86-64 does something
based on it.

On the other hand these are the only platforms moving a common block
from P0 space to P2 space are relevant.

So it is actually pretty cool - does what it should on the platforms
where it is needed and treated as harmless comment on other
platforms.

And it does compile with GFortran. Although with a warning
about %loc being a legacy extension. One can use loc instead
of %loc.

Arne

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor