Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

That wouldn't be good enough. -- Larry Wall in <199710131621.JAA14907@wall.org>


computers / comp.os.vms / Re: Why Linux ?, was: Re: VMS article in The Register

SubjectAuthor
* Why Linux ?, was: Re: VMS article in The RegisterSimon Clubley
`* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
 `* Re: Why Linux ?, was: Re: VMS article in The RegisterJake Hamby
  +* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
  |+* Re: Why Linux ?, was: Re: VMS article in The RegisterPaul Hardy
  ||`* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
  || `* Re: Why Linux ?, was: Re: VMS article in The RegisterJan-Erik Söderholm
  ||  `- Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
  |+* Re: Why Linux ?, was: Re: VMS article in The RegisterSimon Clubley
  ||`- Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
  |`* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
  | +* Re: Why Linux ?, was: Re: VMS article in The RegisterJake Hamby
  | |+- Re: Why Linux ?, was: Re: VMS article in The RegisterJohn Dallman
  | |`* Re: Why Linux ?, was: Re: VMS article in The RegisterCraig A. Berry
  | | +* Re: Why Linux ?, was: Re: VMS article in The RegisterJake Hamby
  | | |`- Re: Why Linux ?, was: Re: VMS article in The RegisterCraig A. Berry
  | | `* Re: Why Linux ?, was: Re: VMS article in The RegisterJohn Reagan
  | |  `* Re: Why Linux ?, was: Re: VMS article in The RegisterCraig A. Berry
  | |   `- Re: Why Linux ?, was: Re: VMS article in The RegisterJohn Reagan
  | `- Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
  `* Re: Why Linux ?, was: Re: VMS article in The RegisterSimon Clubley
   `* Re: Why Linux ?, was: Re: VMS article in The RegisterJohn Reagan
    +- Re: Why Linux ?, was: Re: VMS article in The RegisterSimon Clubley
    `* Re: Why Linux ?, was: Re: VMS article in The RegisterStephen Hoffman
     +* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
     |+* Re: Why Linux ?, was: Re: VMS article in The RegisterStephen Hoffman
     ||`* Re: Why Linux ?, was: Re: VMS article in The RegisterStephen Hoffman
     || `* Re: Why Linux ?, was: Re: VMS article in The RegisterSimon Clubley
     ||  `- Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
     |`* Re: Why Linux ?, was: Re: VMS article in The Registerchris
     | +* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
     | |`* Re: Why Linux ?, was: Re: VMS article in The Registerchris
     | | +* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
     | | |`* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
     | | | `- Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
     | | `- Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
     | `- Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
     `* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
      +* Re: Why Linux ?, was: Re: VMS article in The RegisterSimon Clubley
      |`* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
      | `* Re: Why Linux ?, was: Re: VMS article in The RegisterDave Froble
      |  `- Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
      `* Re: Why Linux ?, was: Re: VMS article in The RegisterStephen Hoffman
       +* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
       |+- Re: Why Linux ?, was: Re: VMS article in The RegisterStephen Hoffman
       |`* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
       | `* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
       |  `* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
       |   `* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
       |    `* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
       |     `* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
       |      +* Re: Why Linux ?, was: Re: VMS article in The RegisterJake Hamby
       |      |`* Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
       |      | `* Re: Why Linux ?, was: Re: VMS article in The RegisterJohn Reagan
       |      |  `* Re: Why Linux ?, was: Re: VMS article in The RegisterJake Hamby
       |      |   +- Re: Why Linux ?, was: Re: VMS article in The RegisterJohn Reagan
       |      |   `- Re: Why Linux ?, was: Re: VMS article in The RegisterArne Vajhøj
       |      `* Re: Why Linux ?, was: Re: VMS article in The RegisterStephen Hoffman
       |       `* Re: Why Linux ?, was: Re: VMS article in The RegisterBill Gunshannon
       |        +- Re: Why Linux ?, was: Re: VMS article in The RegisterDave Froble
       |        `- Re: Why Linux ?, was: Re: VMS article in The RegisterStephen Hoffman
       `* Re: Why Linux ?, was: Re: VMS article in The RegisterJake Hamby
        +* Re: Why Linux ?, was: Re: VMS article in The RegisterJake Hamby
        |`* Re: Why Linux ?, was: Re: VMS article in The RegisterJohn Reagan
        | `* Re: Why Linux ?, was: Re: VMS article in The RegisterJake Hamby
        |  `- Re: Why Linux ?, was: Re: VMS article in The RegisterJohn Reagan
        `- Re: Why Linux ?, was: Re: VMS article in The RegisterStephen Hoffman

Pages:123
Re: Why Linux ?, was: Re: VMS article in The Register

<t68u9m$65a$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
Date: Fri, 20 May 2022 16:39:18 -0400
Organization: HoffmanLabs LLC
Lines: 53
Message-ID: <t68u9m$65a$1@dont-email.me>
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me> <52c6a1b7-0a41-4398-8b4f-9338aba4c1e2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="dd0eed4a49c7b18159e0baf9e457c503";
logging-data="6314"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19asvYCtnSf0b3XaHM7YfxxungiR4sTSJk="
User-Agent: Unison/2.2
Cancel-Lock: sha1:DxI/8hLjds/+Whmt0Ct+Vrx3k4U=
 by: Stephen Hoffman - Fri, 20 May 2022 20:39 UTC

On 2022-05-19 21:21:02 +0000, Jake Hamby said:

> On Thursday, May 19, 2022 at 12:11:43 PM UTC-7, Stephen Hoffman wrote:
>>
>> Clang building with C18 / C2X with diagnostics lit (clang -Wall, maybe
>> also with -Wextra) produces more reliable code.
>> VSI C with /STANDARD=C99 /WARN=( ENABLE=( NOC99, OBSOLESCENT, DEFUNCT,
>> QUESTCODE, ...), DISABLE=(...)) does well at finding trouble. Adding
>> VERBOSE and OVERFLOW can be useful, too.
>>
>
> I completely agree with everything you said, and thanks for the
> suggestion of useful warnings to enable.
>

For projects ranging from refactoring to a full overhaul, consider
adding preprocessor #define commands to cause certain entirely valid
but too-often problematic C calls to generate errors. (e.g. sprintf,
strcat, strcpy, etc)

https://en.wikipedia.org/wiki/C_standard_library#Buffer_overflow_vulnerabilities

Not yet part of ANSI/ISO C, but strlcat and strlcpy and ilk are locally
preferred to the strr* calls, as the latter are problematic around
string termination.

Since this is comp.os.vms, and when portability is not an issue, string
descriptors can be an option. Native OpenVMS C support for descriptors
is limited, however. That support is somewhat less opaque than one
might prefer. Objective C has some related enhancements here, but those
well past descriptors in its capabilities. Assuming run-time
message-passing support of course, which OpenVMS lacks. It'll be
interesting to see how OpenVMS does with blocks, as that extension was
already part of Clang when last I checked.

>
>> There can be good VAX C code. It's just... very rarely encountered. If
>> OpenVMS C code is now compiling with /STANDARD=VAXC, then somebody
>> noticed the C diagnostics, and decided to ignore them.
>
> Fortunately, I haven't run into that particular issue!
>

You're seemingly mostly working with cross-platform code. That has
probably been mostly-scrubbed of K&R C. A little more scrubbing is
probably arriving with C2X, with the function declaration syntax
deprecation.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Why Linux ?, was: Re: VMS article in The Register

<t68vbs$dop$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
Date: Fri, 20 May 2022 15:57:31 -0500
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <t68vbs$dop$1@dont-email.me>
References: <t5j0si$jm8$4@dont-email.me> <je4kkuFrm0hU1@mid.individual.net>
<573cf2f7-9888-43cb-b5b1-bd95f8043ed6n@googlegroups.com>
<628190f5$0$697$14726298@news.sunsite.dk> <jenebhFfj8dU1@mid.individual.net>
<5e165e6b-c0c6-4dab-a2b6-f24c3d885a29n@googlegroups.com>
<t66u7j$5l2$1@dont-email.me>
<9a71bf8e-01c9-415b-825f-a8ebc382be7dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 20 May 2022 20:57:32 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2a994087abbbbd8565604c051fa632d2";
logging-data="14105"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18shZNBEOTmcqyHSPlEEdvwkE+36pzkFUE="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.9.0
Cancel-Lock: sha1:Eu6Oqfj5wzxWFq0TCGOhWXbxmvQ=
In-Reply-To: <9a71bf8e-01c9-415b-825f-a8ebc382be7dn@googlegroups.com>
Content-Language: en-US
 by: Craig A. Berry - Fri, 20 May 2022 20:57 UTC

On 5/20/22 3:17 PM, Jake Hamby wrote:
> On Thursday, May 19, 2022 at 7:25:58 PM UTC-7, Craig A. Berry wrote:

>> For a faster pipe implementation see dmpipe, which uses
>> global sections:
>>
>> https://sourceforge.net/p/vms-ports/dmpipe
>>
>> Unfortunately this involves wrapping pretty much every function in the
>> CRTL that touches a file descriptor -- the fix should really be inside
>> the CRTL, but, alas, that also is not on the roadmap.

> Aha, that's where I should look for a faster pipe implementation,
> thanks! I saw something similar to dmpipe in the GNV bash port
> ("vms_vm_pipe.c"), but it didn't come with docs or test programs, so I
> didn't want to use that version.

I'm pretty sure that one is just using heap memory to do its own
buffering around a mailbox pipe, but I confess I've never looked at it
in any detail.

dmpipe uses global sections, which is really what the CRTL should have
switched to decades ago. I believe the VMS port of Apache uses sockets,
but it involves installing an image with privileges in order to be able
to bump the socket buffer size above the puny 255-byte default.
> The code that I need to update, to finish making Regina useful again
> on VMS, is reviving the original author's code to call lib$spawn()
> with the NOWAIT flag to execute DCL commands and redirect their
> SYS$INPUT and SYS$OUTPUT.
>
> It'd be nice if I could use the vfork()/execvp() code that I wrote,
> but it only works for .exe and .com files, not DCL commands.
There is some stuff in the Perl sources that tries to figure out whether
the thing it's been sent is an image name or a DCL command:

https://github.com/Perl/perl5/blob/blead/vms/vms.c#L10520

Re: Why Linux ?, was: Re: VMS article in The Register

<t68vnc$go0$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
Date: Fri, 20 May 2022 17:03:40 -0400
Organization: HoffmanLabs LLC
Lines: 21
Message-ID: <t68vnc$go0$1@dont-email.me>
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me> <jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk> <jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk> <jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk> <jepthlFu23oU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="dd0eed4a49c7b18159e0baf9e457c503";
logging-data="17152"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19B+W1jO5BA9qKk5Owv6R9CSiO1HAVSwbI="
User-Agent: Unison/2.2
Cancel-Lock: sha1:f5YYMSw5qx0Swhmg20kFTOAFrhg=
 by: Stephen Hoffman - Fri, 20 May 2022 21:03 UTC

On 2022-05-20 16:22:12 +0000, Bill Gunshannon said:

> Why didn't ANSI fix some of the problems like null terminated strings,
> requiring bounds checking, etc. when they had the chance?

Just a guess: probably because the C committee is not entirely
comprised of pendejos.

While the C committee could make such changes, those changes would
break enough existing C code that there'd be little reason not to break
yet more of the existing C programs.

Which then means this new C-family language would be competing with
other C-family languages; with the likes of Go, Rust, Swift, Zig, Java,
etc.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Why Linux ?, was: Re: VMS article in The Register

<jeqis9F3gebU1@mid.individual.net>

  copy mid

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

  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: Why Linux ?, was: Re: VMS article in The Register
Date: Fri, 20 May 2022 18:26:16 -0400
Lines: 34
Message-ID: <jeqis9F3gebU1@mid.individual.net>
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk>
<jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk>
<jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk>
<jepthlFu23oU1@mid.individual.net> <t68vnc$go0$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 xRL3kjgMVv1zsqxS9xbTnQgqx91/5NZBwhd+YdEyCXuOYugma3
Cancel-Lock: sha1:UPdP0L7WzZIf0C9JFi/tVyrOOuY=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Content-Language: en-US
In-Reply-To: <t68vnc$go0$1@dont-email.me>
 by: Bill Gunshannon - Fri, 20 May 2022 22:26 UTC

On 5/20/22 17:03, Stephen Hoffman wrote:
> On 2022-05-20 16:22:12 +0000, Bill Gunshannon said:
>
>> Why didn't ANSI fix some of the problems like null terminated strings,
>> requiring bounds checking, etc. when they had the chance?
>
> Just a guess: probably because the C committee is not entirely comprised
> of pendejos.
>
> While the C committee could make such changes, those changes would break
> enough existing C code that there'd be little reason not to break yet
> more of the existing C programs.

How would adding a string type break null terminated strings? One could
still use them but a safer option would be available. And then time and
inertia would eventually eliminate the bad practice. Bounds checking?
Even if it were to break something how would that be a bad idea as out
of bounds accesses are a really bad idea.

>
> Which then means this new C-family language would be competing with
> other C-family languages; with the likes of Go, Rust, Swift, Zig, Java,
> etc.

I guess I don't see how this would constitute a new language.
It would merely be a few minor tweaks to C but nothing would
actually change in the syntax or use of the language. And
the old ways would still be available. Heck you could even
make stuff like bounds checking an option in the compiler
but I really fail to see why anyone today would want to forego
it.

bill

Re: Why Linux ?, was: Re: VMS article in The Register

<62882861$0$707$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 20 May 2022 19:46:31 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
Content-Language: en-US
Newsgroups: comp.os.vms
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk>
<jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk>
<jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk>
<jepthlFu23oU1@mid.individual.net>
<d9e5040b-a61b-4fc5-bfe6-85401980e486n@googlegroups.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <d9e5040b-a61b-4fc5-bfe6-85401980e486n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 10
Message-ID: <62882861$0$707$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 45785ad0.news.sunsite.dk
X-Trace: 1653090401 news.sunsite.dk 707 arne@vajhoej.dk/68.9.63.232:51836
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 20 May 2022 23:46 UTC

On 5/20/2022 3:59 PM, Jake Hamby wrote:
> One VMSism that fascinates me is that it's the only OS that I've used
> with a calling standard that passes the number of arguments and their
> types (64-bit int or float) to the callee,

It certainly passes the number of arguments.

But type??

Arne

Re: Why Linux ?, was: Re: VMS article in The Register

<980aa35d-a0b3-47c3-8ffc-5060ccf8d1e0n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:3003:b0:462:1c15:772c with SMTP id ke3-20020a056214300300b004621c15772cmr2377992qvb.71.1653093030635;
Fri, 20 May 2022 17:30:30 -0700 (PDT)
X-Received: by 2002:a05:6214:768:b0:462:1f65:8c5c with SMTP id
f8-20020a056214076800b004621f658c5cmr1268493qvz.32.1653093030447; Fri, 20 May
2022 17:30:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 20 May 2022 17:30:30 -0700 (PDT)
In-Reply-To: <t66u7j$5l2$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=35.132.251.28; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 35.132.251.28
References: <t5j0si$jm8$4@dont-email.me> <je4kkuFrm0hU1@mid.individual.net>
<573cf2f7-9888-43cb-b5b1-bd95f8043ed6n@googlegroups.com> <628190f5$0$697$14726298@news.sunsite.dk>
<jenebhFfj8dU1@mid.individual.net> <5e165e6b-c0c6-4dab-a2b6-f24c3d885a29n@googlegroups.com>
<t66u7j$5l2$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <980aa35d-a0b3-47c3-8ffc-5060ccf8d1e0n@googlegroups.com>
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sat, 21 May 2022 00:30:30 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5175
 by: John Reagan - Sat, 21 May 2022 00:30 UTC

On Thursday, May 19, 2022 at 10:25:58 PM UTC-4, Craig A. Berry wrote:
> On 5/19/22 4:40 PM, Jake Hamby wrote:
> > On Thursday, May 19, 2022 at 10:50:44 AM UTC-7, Bill Gunshannon wrote:
> >> On 5/15/22 19:46, Arne Vajhøj wrote:
>
> >>> I would try and sell VMS as being lean. Linux is getting fat.
> >> Might work. Until the first time you have to run a benchmark.
>
> > That's a mean thing to say, but it's a big open question (at least
> > for me, since I don't have access to the x86 version): how well does VMS
> > actually perform on modern x86-64 hardware?
> It's going to remain an open question for some time. As far as I know,
> none of the cross compilers has optimizations turned on, which means
> there is no optimized code in the OS or libraries shipped with the OS,
> much less in anything you build yourself.
>
> Once the optimizations are available, you'll run into the inherently
> slow file I/O and network I/O that have been discussed many times here.
> The current roadmap does not include either of the new filesystems that
> have been planned and set aside, nor the networking overhaul (VCI 2.0).
> One can hope these will come back one day once the port to x86 is done.
>
> I would not expect VMS to be competitive in raw speed with other OSs on
> the same hardware anytime soon, but it really just needs to be a bit
> faster on virtual x86 than it was on the last generation of Integrity
> hardware for it to be a big step forward. Reducing cost and risk are
> going to be a lot more important to most people in the near term than
> increasing speed.
> > I've ported some simple IPC benchmarks from Linux to
> > find out for myself how well it performs on vintage hardware:
> >
> > https://github.com/jhamby/vms-ipc_benchmark/
> >
> > For comparison, running "pipe" and "tcp" with 8K message size, I can
> > easily get 6,500 MB/s, or 835,000 msg/s on an Intel Xeon W-1290P CPU @
> > 3.70GHz (turbo to 5.2 GHz) running Ubuntu 22.04 (kernel 5.15.0).
> >
> > On a dual 1.6 GHz / 3MB ("Fanwood") HP rx2620, the best I can get is
> > around 160MB/s, or 1/40 of the speed of the new PC. On my 667 MHz EV67
> > XP1000, I get about 65MB/s, or 1%. That hardware is from 2005 and 2002,
> > respectively. The Alpha hits a limit of around 20,000 msg/s that's a
> > bottleneck as I shrink the packet size to 4K and below, while the
> > Itanium handles smaller writes without much issue.
> > You'll also notice if you check the source code that I'm linking in
> > the vms_crtl_init.c and vms_crtl_values.c from the VSI Python 3.10 port,
> > which set the behavior of pipe() to be as UNIX-like as possible. Without
> > that, the speed would be hovering around 14MB/s on the Itanium.
> > Completely unacceptable.
> pipe() on VMS is based on mailboxes, an ancient virtual device
> technology that is convenient to use and quite effective for passing
> small messages around between processes. But it's slow, and it's a
> record-oriented device, which doesn't always play nice in a
> stream-oriented world (though stream-oriented behavior is emulated to
> some extent). For a faster pipe implementation see dmpipe, which uses
> global sections:
>
> https://sourceforge.net/p/vms-ports/dmpipe
>
> Unfortunately this involves wrapping pretty much every function in the
> CRTL that touches a file descriptor -- the fix should really be inside
> the CRTL, but, alas, that also is not on the roadmap.
I haven't forgotten about it. It isn't in yet as we've been focusing on other things
for the most recent ECOs.

Re: Why Linux ?, was: Re: VMS article in The Register

<253254ba-4b74-4fb0-b58e-b97f6282b4b3n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5787:0:b0:2f9:1687:6216 with SMTP id v7-20020ac85787000000b002f916876216mr7086402qta.382.1653094719010;
Fri, 20 May 2022 17:58:39 -0700 (PDT)
X-Received: by 2002:ac8:7f0a:0:b0:2f3:ec89:ee23 with SMTP id
f10-20020ac87f0a000000b002f3ec89ee23mr9682559qtk.448.1653094718817; Fri, 20
May 2022 17:58:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 20 May 2022 17:58:38 -0700 (PDT)
In-Reply-To: <62882861$0$707$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=35.132.251.28; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 35.132.251.28
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk>
<jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk>
<jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk>
<jepthlFu23oU1@mid.individual.net> <d9e5040b-a61b-4fc5-bfe6-85401980e486n@googlegroups.com>
<62882861$0$707$14726298@news.sunsite.dk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <253254ba-4b74-4fb0-b58e-b97f6282b4b3n@googlegroups.com>
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sat, 21 May 2022 00:58:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2017
 by: John Reagan - Sat, 21 May 2022 00:58 UTC

On Friday, May 20, 2022 at 7:46:43 PM UTC-4, Arne Vajhøj wrote:
> On 5/20/2022 3:59 PM, Jake Hamby wrote:
> > One VMSism that fascinates me is that it's the only OS that I've used
> > with a calling standard that passes the number of arguments and their
> > types (64-bit int or float) to the callee,
> It certainly passes the number of arguments.
>
> But type??
>
> Arne
Only if you compile /TIE (which is not the default).

Re: Why Linux ?, was: Re: VMS article in The Register

<6a6676ac-7000-4a6f-aa6c-7152f9f47791n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1008:b0:2f3:cded:9075 with SMTP id d8-20020a05622a100800b002f3cded9075mr9655251qte.550.1653094843145;
Fri, 20 May 2022 18:00:43 -0700 (PDT)
X-Received: by 2002:a0c:fc48:0:b0:461:d6c2:61a8 with SMTP id
w8-20020a0cfc48000000b00461d6c261a8mr9898786qvp.73.1653094842954; Fri, 20 May
2022 18:00:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 20 May 2022 18:00:42 -0700 (PDT)
In-Reply-To: <dadf066f-46f1-4698-895f-5270535f6b19n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=35.132.251.28; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 35.132.251.28
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<52c6a1b7-0a41-4398-8b4f-9338aba4c1e2n@googlegroups.com> <dadf066f-46f1-4698-895f-5270535f6b19n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a6676ac-7000-4a6f-aa6c-7152f9f47791n@googlegroups.com>
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sat, 21 May 2022 01:00:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3736
 by: John Reagan - Sat, 21 May 2022 01:00 UTC

On Friday, May 20, 2022 at 4:28:26 PM UTC-4, jake....@gmail.com wrote:
> On Thursday, May 19, 2022 at 2:21:04 PM UTC-7, Jake Hamby wrote:
> > Nothing at all VMS-specific about that bug, and I really have had no complaints about DEC C/C++ in terms of the compiler crashing with internal errors or generating bad code or anything like that with open source programs I've compiled.
> I had to jinx myself: after I wrote that, I managed to get an internal compiler error in VSI C V7.4-002 on the Alpha by building rexx.exe with /PLUS_LIST_OPTIMIZE and /OPT=(LEV=5). I assume I managed to overflow some internal inlining logic. With level 4 optimization, the compile succeeds and the program is smaller and runs faster than with LEV=5 and no /PLUS_LIST.
>
> %SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual address=0000000000000010, PC=00000000005F5F14, PS=0000001B
> %TRACE-F-TRACEBACK, symbolic stack dump follows
> image module routine line rel PC abs PC
> DECC$COMPILER GEM_FI_PEEP MOVE_SECTION
> 5766 0000000000005604 00000000005F5F14
> DECC$COMPILER GEM_FI_PEEP REVERSE_CROSS_JUMP
> 7959 0000000000007A48 00000000005F8358
> DECC$COMPILER GEM_FI_PEEP GEM_FI_PEEP_BRANCH_PROCESSING
> 3075 000000000000217C 00000000005F2A8C
> DECC$COMPILER GEM_FI_PEEP_ALPHA GEM_FI_PEEP_APPLY_PEEPHOLE
> 741 0000000000000148 000000000083B168
> DECC$COMPILER GEM_FI_PEEP PROCESS_PATTERN_LIST
> 7573 0000000000007284 00000000005F7B94
> DECC$COMPILER GEM_FI_PEEP GEM_FI_PEEP
> 1579 00000000000003E4 00000000005F0CF4
> DECC$COMPILER 0 000000000049AC28 000000000049AC28
> DECC$COMPILER 0 000000000049B034 000000000049B034
> DECC$COMPILER GEM_CO GEM_CO_COMPILE_MODULE
> 3730 0000000000000D3C 000000000054EDEC
> DECC$COMPILER COMPILE gemc_be_master
> 93315 0000000000000F5C 00000000001C35BC
> DECC$COMPILER COMPILE 92535 00000000001C35BC 0000000000000000
> DECC$COMPILER GEM_CP_VMS GEM_CP_MAIN
> 2629 00000000000018BC 0000000000535AEC
> 0 FFFFFFFF80383C04 FFFFFFFF80383C04
> %TRACE-I-END, end of TRACE stack dump
> %MMK-F-ERRUPD, error status %X1000000C occurred when updating target REXX..EXE
/OPT=5 was always a work-in-progress when the Alpha work was stopped.
There was several places where it generated slower code than /OPT=4. That's
why 4 was left as the default.

Re: Why Linux ?, was: Re: VMS article in The Register

<98db3d6f-bbcd-4759-85c1-2a4f01a6b844n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:58c3:0:b0:2f9:2356:d21f with SMTP id u3-20020ac858c3000000b002f92356d21fmr2907689qta.265.1653098793185;
Fri, 20 May 2022 19:06:33 -0700 (PDT)
X-Received: by 2002:ac8:590c:0:b0:2f3:e1b7:5d1d with SMTP id
12-20020ac8590c000000b002f3e1b75d1dmr9787980qty.191.1653098793010; Fri, 20
May 2022 19:06:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 20 May 2022 19:06:32 -0700 (PDT)
In-Reply-To: <6a6676ac-7000-4a6f-aa6c-7152f9f47791n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:46b0:abc0:5c9b:8844:95b9:a6ff;
posting-account=OGFVHQoAAAASiNAamRQec8BtkuXxYFnQ
NNTP-Posting-Host: 2600:1700:46b0:abc0:5c9b:8844:95b9:a6ff
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<52c6a1b7-0a41-4398-8b4f-9338aba4c1e2n@googlegroups.com> <dadf066f-46f1-4698-895f-5270535f6b19n@googlegroups.com>
<6a6676ac-7000-4a6f-aa6c-7152f9f47791n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <98db3d6f-bbcd-4759-85c1-2a4f01a6b844n@googlegroups.com>
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
From: jake.ha...@gmail.com (Jake Hamby)
Injection-Date: Sat, 21 May 2022 02:06:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2330
 by: Jake Hamby - Sat, 21 May 2022 02:06 UTC

On Friday, May 20, 2022 at 6:00:44 PM UTC-7, xyzz...@gmail.com wrote:
> /OPT=5 was always a work-in-progress when the Alpha work was stopped.
> There was several places where it generated slower code than /OPT=4. That's
> why 4 was left as the default.

That's good to know, thanks. On further inspection, the compiler ran out of heap memory. I watched it with ^T and it crashed after growing to around 1643 MB (210368 pages). /OPT=4 is perfectly fine for me.

I'd guess that there's had to have been some 64-bitification of the GEM compilers for x86-64 due to the size of compiling LLVM and Clang, if nothing else. I'm surprised that Microsoft Visual Studio has only been available as a 64-bit IDE for less than a year (Visual Studio 2022). They've been shipping x86-64 compilers for many years, but the compilers themselves have always been 32-bit until just now.

Re: Why Linux ?, was: Re: VMS article in The Register

<a555c3f2-f413-418e-8e0f-2819a551d422n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:7f43:0:b0:2f3:d55d:7296 with SMTP id g3-20020ac87f43000000b002f3d55d7296mr9761159qtk.635.1653099328850;
Fri, 20 May 2022 19:15:28 -0700 (PDT)
X-Received: by 2002:a05:622a:1903:b0:2f3:ddac:436d with SMTP id
w3-20020a05622a190300b002f3ddac436dmr9544476qtc.25.1653099328641; Fri, 20 May
2022 19:15:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 20 May 2022 19:15:28 -0700 (PDT)
In-Reply-To: <253254ba-4b74-4fb0-b58e-b97f6282b4b3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:46b0:abc0:5c9b:8844:95b9:a6ff;
posting-account=OGFVHQoAAAASiNAamRQec8BtkuXxYFnQ
NNTP-Posting-Host: 2600:1700:46b0:abc0:5c9b:8844:95b9:a6ff
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk>
<jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk>
<jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk>
<jepthlFu23oU1@mid.individual.net> <d9e5040b-a61b-4fc5-bfe6-85401980e486n@googlegroups.com>
<62882861$0$707$14726298@news.sunsite.dk> <253254ba-4b74-4fb0-b58e-b97f6282b4b3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a555c3f2-f413-418e-8e0f-2819a551d422n@googlegroups.com>
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
From: jake.ha...@gmail.com (Jake Hamby)
Injection-Date: Sat, 21 May 2022 02:15:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3203
 by: Jake Hamby - Sat, 21 May 2022 02:15 UTC

On Friday, May 20, 2022 at 5:58:40 PM UTC-7, xyzz...@gmail.com wrote:
> On Friday, May 20, 2022 at 7:46:43 PM UTC-4, Arne Vajhøj wrote:
> > On 5/20/2022 3:59 PM, Jake Hamby wrote:
> > > One VMSism that fascinates me is that it's the only OS that I've used
> > > with a calling standard that passes the number of arguments and their
> > > types (64-bit int or float) to the callee,
> > It certainly passes the number of arguments.
> >
> > But type??
> >
> > Arne
> Only if you compile /TIE (which is not the default).

Hmm, this seems to be a regression in x86-64 compared to Alpha and Itanium. VSI Calling Standard 3.6.1. Call Conventions:

https://docs.vmssoftware.com/vsi-openvms-calling-standard/#CALL_32

See Figure 3.10. Argument Information Register (R25) Format. For Itanium, it's 4.7.5.3. Argument Information (AI) Register:

https://docs.vmssoftware.com/vsi-openvms-calling-standard/#ARG_INFO_REGISTER

It's R25 in both cases. There are 8 x 3-bit fields in the register that indicate whether it's a 64-bit integer (or 32-bit sign extended), or one of the variety of floating-point formats supported. If this information is only being generated when compiled with /TIE, there's a serious omission in your own documentation.

On x86-64, the %rax register looks very different and indeed doesn't have the parameter type information:

https://docs.vmssoftware.com/vsi-openvms-calling-standard/#ARGUMENT_INFORMATION_REGISTER_X86_64

Re: Why Linux ?, was: Re: VMS article in The Register

<t69lth$ib7$2@dont-email.me>

  copy mid

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

  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: Why Linux ?, was: Re: VMS article in The Register
Date: Fri, 20 May 2022 23:22:23 -0400
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <t69lth$ib7$2@dont-email.me>
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk>
<jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk>
<jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk>
<jepthlFu23oU1@mid.individual.net> <t68vnc$go0$1@dont-email.me>
<jeqis9F3gebU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 21 May 2022 03:22:25 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="053ea2ba35ee9b46aeaf809d78968851";
logging-data="18791"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kWmBXLtHQ3EaML51c8s6Y1niL5f79Az4="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Kfpndye3HQUxr2HfBjvNAFeiVzI=
In-Reply-To: <jeqis9F3gebU1@mid.individual.net>
 by: Dave Froble - Sat, 21 May 2022 03:22 UTC

On 5/20/2022 6:26 PM, Bill Gunshannon wrote:
> On 5/20/22 17:03, Stephen Hoffman wrote:
>> On 2022-05-20 16:22:12 +0000, Bill Gunshannon said:
>>
>>> Why didn't ANSI fix some of the problems like null terminated strings,
>>> requiring bounds checking, etc. when they had the chance?
>>
>> Just a guess: probably because the C committee is not entirely comprised of
>> pendejos.
>>
>> While the C committee could make such changes, those changes would break
>> enough existing C code that there'd be little reason not to break yet more of
>> the existing C programs.
>
> How would adding a string type break null terminated strings? One could
> still use them but a safer option would be available. And then time and
> inertia would eventually eliminate the bad practice. Bounds checking?
> Even if it were to break something how would that be a bad idea as out
> of bounds accesses are a really bad idea.
>
>>
>> Which then means this new C-family language would be competing with other
>> C-family languages; with the likes of Go, Rust, Swift, Zig, Java, etc.
>
> I guess I don't see how this would constitute a new language.
> It would merely be a few minor tweaks to C but nothing would
> actually change in the syntax or use of the language. And
> the old ways would still be available. Heck you could even
> make stuff like bounds checking an option in the compiler
> but I really fail to see why anyone today would want to forego
> it.
>
> bill
>

Do that, and someone like Simon will get in there and break some things.

:-)

--
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: Why Linux ?, was: Re: VMS article in The Register

<c16a8cbb-0cad-4046-bb00-6fe4fba8cafcn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:913:b0:6a3:4124:e4eb with SMTP id v19-20020a05620a091300b006a34124e4ebmr6020690qkv.605.1653103354874;
Fri, 20 May 2022 20:22:34 -0700 (PDT)
X-Received: by 2002:a37:9204:0:b0:69b:f7ea:4638 with SMTP id
u4-20020a379204000000b0069bf7ea4638mr8421353qkd.77.1653103354690; Fri, 20 May
2022 20:22:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 20 May 2022 20:22:34 -0700 (PDT)
In-Reply-To: <98db3d6f-bbcd-4759-85c1-2a4f01a6b844n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=35.132.251.28; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 35.132.251.28
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<52c6a1b7-0a41-4398-8b4f-9338aba4c1e2n@googlegroups.com> <dadf066f-46f1-4698-895f-5270535f6b19n@googlegroups.com>
<6a6676ac-7000-4a6f-aa6c-7152f9f47791n@googlegroups.com> <98db3d6f-bbcd-4759-85c1-2a4f01a6b844n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c16a8cbb-0cad-4046-bb00-6fe4fba8cafcn@googlegroups.com>
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sat, 21 May 2022 03:22:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: John Reagan - Sat, 21 May 2022 03:22 UTC

On Friday, May 20, 2022 at 10:06:34 PM UTC-4, jake....@gmail.com wrote:
> On Friday, May 20, 2022 at 6:00:44 PM UTC-7, xyzz...@gmail.com wrote:
> > /OPT=5 was always a work-in-progress when the Alpha work was stopped.
> > There was several places where it generated slower code than /OPT=4. That's
> > why 4 was left as the default.
> That's good to know, thanks. On further inspection, the compiler ran out of heap memory. I watched it with ^T and it crashed after growing to around 1643 MB (210368 pages). /OPT=4 is perfectly fine for me.
>
> I'd guess that there's had to have been some 64-bitification of the GEM compilers for x86-64 due to the size of compiling LLVM and Clang, if nothing else. I'm surprised that Microsoft Visual Studio has only been available as a 64-bit IDE for less than a year (Visual Studio 2022). They've been shipping x86-64 compilers for many years, but the compilers themselves have always been 32-bit until just now.
The x86 cross-compilers are all 32-bit pointers including the LLVM pieces. For the native compilers, the frontends and GEM pieces are still 32-bit pointers. The GEM-to-LLVM is now 64-bit pointers and LLVM itself is compiled with 64-bit pointers.

Re: Why Linux ?, was: Re: VMS article in The Register

<04d60148-10df-4ba0-b8e3-c9b003df7a08n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:9382:0:b0:6a3:2f58:1a9e with SMTP id v124-20020a379382000000b006a32f581a9emr7192238qkd.494.1653103714577;
Fri, 20 May 2022 20:28:34 -0700 (PDT)
X-Received: by 2002:a37:aad8:0:b0:6a3:4c8c:1b4e with SMTP id
t207-20020a37aad8000000b006a34c8c1b4emr3469954qke.426.1653103714405; Fri, 20
May 2022 20:28:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 20 May 2022 20:28:34 -0700 (PDT)
In-Reply-To: <a555c3f2-f413-418e-8e0f-2819a551d422n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=35.132.251.28; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 35.132.251.28
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk>
<jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk>
<jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk>
<jepthlFu23oU1@mid.individual.net> <d9e5040b-a61b-4fc5-bfe6-85401980e486n@googlegroups.com>
<62882861$0$707$14726298@news.sunsite.dk> <253254ba-4b74-4fb0-b58e-b97f6282b4b3n@googlegroups.com>
<a555c3f2-f413-418e-8e0f-2819a551d422n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <04d60148-10df-4ba0-b8e3-c9b003df7a08n@googlegroups.com>
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sat, 21 May 2022 03:28:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: John Reagan - Sat, 21 May 2022 03:28 UTC

On Friday, May 20, 2022 at 10:15:30 PM UTC-4, jake....@gmail.com wrote:
> On Friday, May 20, 2022 at 5:58:40 PM UTC-7, xyzz...@gmail.com wrote:
> > On Friday, May 20, 2022 at 7:46:43 PM UTC-4, Arne Vajhøj wrote:
> > > On 5/20/2022 3:59 PM, Jake Hamby wrote:
> > > > One VMSism that fascinates me is that it's the only OS that I've used
> > > > with a calling standard that passes the number of arguments and their
> > > > types (64-bit int or float) to the callee,
> > > It certainly passes the number of arguments.
> > >
> > > But type??
> > >
> > > Arne
> > Only if you compile /TIE (which is not the default).
> Hmm, this seems to be a regression in x86-64 compared to Alpha and Itanium. VSI Calling Standard 3.6.1. Call Conventions:
>
> https://docs.vmssoftware.com/vsi-openvms-calling-standard/#CALL_32
>
> See Figure 3.10. Argument Information Register (R25) Format. For Itanium, it's 4.7.5.3. Argument Information (AI) Register:
>
> https://docs.vmssoftware.com/vsi-openvms-calling-standard/#ARG_INFO_REGISTER
>
> It's R25 in both cases. There are 8 x 3-bit fields in the register that indicate whether it's a 64-bit integer (or 32-bit sign extended), or one of the variety of floating-point formats supported. If this information is only being generated when compiled with /TIE, there's a serious omission in your own documentation.
I'll double check. I might be thinking of the additional call signature relocations at external calls which might resolve to translated code.
>
> On x86-64, the %rax register looks very different and indeed doesn't have the parameter type information:
>
> https://docs.vmssoftware.com/vsi-openvms-calling-standard/#ARGUMENT_INFORMATION_REGISTER_X86_64
Huh? There is the Argument Info Offset at at bit 47 and then CS talks about what the AIB looks like. We don't create them at this point. It is a latent definition.

Re: Why Linux ?, was: Re: VMS article in The Register

<t69osn$4jm$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
Date: Sat, 21 May 2022 00:13:11 -0400
Organization: HoffmanLabs LLC
Lines: 36
Message-ID: <t69osn$4jm$1@dont-email.me>
References: <t5j0si$jm8$4@dont-email.me> <je4kkuFrm0hU1@mid.individual.net> <573cf2f7-9888-43cb-b5b1-bd95f8043ed6n@googlegroups.com> <t5u43k$13f$4@dont-email.me> <c38ce173-3cba-431a-9747-8fbf63c654ccn@googlegroups.com> <t5u8il$qmq$1@dont-email.me> <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me> <jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk> <jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk> <jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk> <jepthlFu23oU1@mid.individual.net> <t68vnc$go0$1@dont-email.me> <jeqis9F3gebU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="61196f2555422edbe6299689bb45d272";
logging-data="4726"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19O7FA7PD1BNIutMsvJgGNVi9Ep+rLKkiY="
User-Agent: Unison/2.2
Cancel-Lock: sha1:EZUmhp0WNo1iKiAGI4RVa3dL2IM=
 by: Stephen Hoffman - Sat, 21 May 2022 04:13 UTC

On 2022-05-20 22:26:16 +0000, Bill Gunshannon said:

> On 5/20/22 17:03, Stephen Hoffman wrote:
>> On 2022-05-20 16:22:12 +0000, Bill Gunshannon said:
>>
>>> Why didn't ANSI fix some of the problems like null terminated strings,
>>> requiring bounds checking, etc. when they had the chance?
>>
>> Just a guess: probably because the C committee is not entirely
>> comprised of pendejos.
>>
>> While the C committee could make such changes, those changes would
>> break enough existing C code that there'd be little reason not to break
>> yet more of the existing C programs.
>
> How would adding a string type break null terminated strings?

Ah, okay. You were adding features, and not actually fixing things. I
got confused. My bad.

>> Which then means this new C-family language would be competing with
>> other C-family languages; with the likes of Go, Rust, Swift, Zig, Java,
>> etc.
>
> I guess I don't see how this would constitute a new language.

Objective C already provides this, and very nicely.

Or available with a migration to C++ for that matter, too.

But by all means, please do go design and create your new C language.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Why Linux ?, was: Re: VMS article in The Register

<t6aq2r$bj5$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
Date: Sat, 21 May 2022 08:39:37 -0500
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <t6aq2r$bj5$1@dont-email.me>
References: <t5j0si$jm8$4@dont-email.me> <je4kkuFrm0hU1@mid.individual.net>
<573cf2f7-9888-43cb-b5b1-bd95f8043ed6n@googlegroups.com>
<628190f5$0$697$14726298@news.sunsite.dk> <jenebhFfj8dU1@mid.individual.net>
<5e165e6b-c0c6-4dab-a2b6-f24c3d885a29n@googlegroups.com>
<t66u7j$5l2$1@dont-email.me>
<980aa35d-a0b3-47c3-8ffc-5060ccf8d1e0n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 21 May 2022 13:39:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="34842aa3a02f29c58effe397bd0f30e5";
logging-data="11877"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zZVjFmAUZBQzOL/J6zsiCMnaiUHUzZa0="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.9.0
Cancel-Lock: sha1:KvJs/SKXDrVYv8xSfLrm7Dy6LJU=
In-Reply-To: <980aa35d-a0b3-47c3-8ffc-5060ccf8d1e0n@googlegroups.com>
Content-Language: en-US
 by: Craig A. Berry - Sat, 21 May 2022 13:39 UTC

On 5/20/22 7:30 PM, John Reagan wrote:
> On Thursday, May 19, 2022 at 10:25:58 PM UTC-4, Craig A. Berry wrote:
>> For a faster pipe implementation see dmpipe, which uses
>> global sections:
>>
>> https://sourceforge.net/p/vms-ports/dmpipe
>>
>> Unfortunately this involves wrapping pretty much every function in the
>> CRTL that touches a file descriptor -- the fix should really be inside
>> the CRTL, but, alas, that also is not on the roadmap.

> I haven't forgotten about it. It isn't in yet as we've been focusing on other things
> for the most recent ECOs.

Thanks, and I get it -- your priorities are where they need to be for now.

Re: Why Linux ?, was: Re: VMS article in The Register

<3551db2a-7b6d-4500-b6cd-c08ee96b700fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:5296:b0:461:d3bb:ba01 with SMTP id kj22-20020a056214529600b00461d3bbba01mr11486964qvb.12.1653144253946;
Sat, 21 May 2022 07:44:13 -0700 (PDT)
X-Received: by 2002:a05:622a:592:b0:2f9:29ff:daf5 with SMTP id
c18-20020a05622a059200b002f929ffdaf5mr3569765qtb.601.1653144253753; Sat, 21
May 2022 07:44:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 21 May 2022 07:44:13 -0700 (PDT)
In-Reply-To: <t6aq2r$bj5$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=35.132.251.28; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 35.132.251.28
References: <t5j0si$jm8$4@dont-email.me> <je4kkuFrm0hU1@mid.individual.net>
<573cf2f7-9888-43cb-b5b1-bd95f8043ed6n@googlegroups.com> <628190f5$0$697$14726298@news.sunsite.dk>
<jenebhFfj8dU1@mid.individual.net> <5e165e6b-c0c6-4dab-a2b6-f24c3d885a29n@googlegroups.com>
<t66u7j$5l2$1@dont-email.me> <980aa35d-a0b3-47c3-8ffc-5060ccf8d1e0n@googlegroups.com>
<t6aq2r$bj5$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3551db2a-7b6d-4500-b6cd-c08ee96b700fn@googlegroups.com>
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Sat, 21 May 2022 14:44:13 +0000
Content-Type: text/plain; charset="UTF-8"
 by: John Reagan - Sat, 21 May 2022 14:44 UTC

On Saturday, May 21, 2022 at 9:39:41 AM UTC-4, Craig A. Berry wrote:
> On 5/20/22 7:30 PM, John Reagan wrote:
> > On Thursday, May 19, 2022 at 10:25:58 PM UTC-4, Craig A. Berry wrote:
> >> For a faster pipe implementation see dmpipe, which uses
> >> global sections:
> >>
> >> https://sourceforge.net/p/vms-ports/dmpipe
> >>
> >> Unfortunately this involves wrapping pretty much every function in the
> >> CRTL that touches a file descriptor -- the fix should really be inside
> >> the CRTL, but, alas, that also is not on the roadmap.
>
> > I haven't forgotten about it. It isn't in yet as we've been focusing on other things
> > for the most recent ECOs.
> Thanks, and I get it -- your priorities are where they need to be for now.
I have asked for it to be moved up. Even with the PIPE driver (cousin of the
mailbox driver), I still see the record orientation showing up when I do something
like

$ pipe anal/obj/section=symbol | search sys$pipe symbolname

Re: Why Linux ?, was: Re: VMS article in The Register

<628acfe1$0$700$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sun, 22 May 2022 20:05:49 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: Why Linux ?, was: Re: VMS article in The Register
Content-Language: en-US
Newsgroups: comp.os.vms
References: <jenek0Ffj8dU2@mid.individual.net> <t664pc$32q$1@dont-email.me>
<jenk72FgmudU1@mid.individual.net> <6286eb16$0$701$14726298@news.sunsite.dk>
<jeo9bmFkgeeU1@mid.individual.net> <6286f0a2$0$701$14726298@news.sunsite.dk>
<jepi8eFrt3gU1@mid.individual.net> <6287b721$0$700$14726298@news.sunsite.dk>
<jepthlFu23oU1@mid.individual.net>
<d9e5040b-a61b-4fc5-bfe6-85401980e486n@googlegroups.com>
<62882861$0$707$14726298@news.sunsite.dk>
<253254ba-4b74-4fb0-b58e-b97f6282b4b3n@googlegroups.com>
<a555c3f2-f413-418e-8e0f-2819a551d422n@googlegroups.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <a555c3f2-f413-418e-8e0f-2819a551d422n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 39
Message-ID: <628acfe1$0$700$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 527403c7.news.sunsite.dk
X-Trace: 1653264353 news.sunsite.dk 700 arne@vajhoej.dk/68.9.63.232:49181
X-Complaints-To: staff@sunsite.dk
X-Received-Bytes: 3190
 by: Arne Vajhøj - Mon, 23 May 2022 00:05 UTC

On 5/20/2022 10:15 PM, Jake Hamby wrote:
> On Friday, May 20, 2022 at 5:58:40 PM UTC-7, xyzz...@gmail.com wrote:
>> On Friday, May 20, 2022 at 7:46:43 PM UTC-4, Arne Vajhøj wrote:
>>> On 5/20/2022 3:59 PM, Jake Hamby wrote:
>>>> One VMSism that fascinates me is that it's the only OS that I've used
>>>> with a calling standard that passes the number of arguments and their
>>>> types (64-bit int or float) to the callee,
>>> It certainly passes the number of arguments.
>>>
>>> But type??

>> Only if you compile /TIE (which is not the default).
>
> Hmm, this seems to be a regression in x86-64 compared to Alpha and
> Itanium. VSI Calling Standard 3.6.1. Call Conventions:
>
> https://docs.vmssoftware.com/vsi-openvms-calling-standard/#CALL_32
>
> See Figure 3.10. Argument Information Register (R25) Format. For
> Itanium, it's 4.7.5.3. Argument Information (AI) Register:
>
> https://docs.vmssoftware.com/vsi-openvms-calling-standard/#ARG_INFO_REGISTER
>
> It's R25 in both cases. There are 8 x 3-bit fields in the register
> that indicate whether it's a 64-bit integer (or 32-bit sign
> extended), or one of the variety of floating-point formats supported.
> If this information is only being generated when compiled with /TIE,
> there's a serious omission in your own documentation.
I had never seen that.

But I am not sure that I will call that passing type of argument.

It identifies arguments that are F, D, G, S and T floating point.

All the rest is bundled together: 8/16/32/64 bit integers, booleans,
string descriptors, arrays, structs etc.. It is passed in an
integer register, but it is not necessarily an integer.

Arne

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor