Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

It's time to boot, do your boot ROMs know where your disk controllers are?


computers / comp.os.vms / Re: Viable versus ideal programming languages

SubjectAuthor
* VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
+* Re: VMS documentation, was: Re: Special deals on Tape Drivesabrsvc
|`* Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
| `* Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
|  `* Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
|   `* Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
|    `* Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
|     `* Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
|      +* Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
|      |`- Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
|      +* Re: VMS documentation, was: Re: Special deals on Tape DrivesArne Vajhøj
|      |+* Re: VMS documentation, was: Re: Special deals on Tape DrivesJohn Reagan
|      ||`- Re: VMS documentation, was: Re: Special deals on Tape DrivesArne Vajhøj
|      |`* Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
|      | `* Re: VMS documentation, was: Re: Special deals on Tape DrivesArne Vajhøj
|      |  +* Re: VMS documentation, was: Re: Special deals on Tape DrivesDave Froble
|      |  |+* Re: VMS documentation, was: Re: Special deals on Tape DrivesArne Vajhøj
|      |  ||+* Programming languages, was: Re: VMS documentationSimon Clubley
|      |  |||+* Re: Programming languages, was: Re: VMS documentationDave Froble
|      |  ||||`* Re: Programming languages, was: Re: VMS documentationSimon Clubley
|      |  |||| +* Re: Programming languages, was: Re: VMS documentationDave Froble
|      |  |||| |`- Re: Programming languages, was: Re: VMS documentationSimon Clubley
|      |  |||| `* Re: Programming languages, was: Re: VMS documentationPhillip Helbig (undress to reply
|      |  ||||  `* Re: Programming languages, was: Re: VMS documentationSimon Clubley
|      |  ||||   `* Re: Programming languages, was: Re: VMS documentationabrsvc
|      |  ||||    +- Re: Programming languages, was: Re: VMS documentationSimon Clubley
|      |  ||||    `* Re: Programming languages, was: Re: VMS documentationJohnny Billquist
|      |  ||||     `* Re: Programming languages, was: Re: VMS documentationDave Froble
|      |  ||||      `* Re: Programming languages, was: Re: VMS documentationabrsvc
|      |  ||||       `- Re: Programming languages, was: Re: VMS documentationJohnny Billquist
|      |  |||+- Re: Programming languages, was: Re: VMS documentationVAXman-
|      |  |||`* Re: Programming languages, was: Re: VMS documentationArne Vajhøj
|      |  ||| +* Re: Programming languages, was: Re: VMS documentationArne Vajhøj
|      |  ||| |`* Re: Programming languages, was: Re: VMS documentationabrsvc
|      |  ||| | +* Re: Programming languages, was: Re: VMS documentationArne Vajhøj
|      |  ||| | |`- Re: Programming languages, was: Re: VMS documentationChris Townley
|      |  ||| | `* Viable versus ideal programming languagesSimon Clubley
|      |  ||| |  +* Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |  |`* Re: Viable versus ideal programming languagesSimon Clubley
|      |  ||| |  | `* Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |  |  `* Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |  |   `* Re: Viable versus ideal programming languagesJan-Erik Söderholm
|      |  ||| |  |    `* Re: Viable versus ideal programming languagesSimon Clubley
|      |  ||| |  |     `* Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |  |      `* Re: Viable versus ideal programming languagesJan-Erik Söderholm
|      |  ||| |  |       `* Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |  |        `* Re: Viable versus ideal programming languagesJan-Erik Söderholm
|      |  ||| |  |         `* Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |  |          +- Re: Viable versus ideal programming languagesSimon Clubley
|      |  ||| |  |          +* Re: Viable versus ideal programming languagesDave Froble
|      |  ||| |  |          |`- Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |  |          `* Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |  |           `* Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |  |            `* Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |  |             `- Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |  `* Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |   `* Re: Viable versus ideal programming languagesSimon Clubley
|      |  ||| |    +* Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |    |`* Re: Viable versus ideal programming languagesSimon Clubley
|      |  ||| |    | `- Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |    +* Re: Viable versus ideal programming languagesDave Froble
|      |  ||| |    |`- Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |    +- Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |    `* Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |     `* Re: Viable versus ideal programming languagesSimon Clubley
|      |  ||| |      +* Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |      |`* Re: Viable versus ideal programming languagesSimon Clubley
|      |  ||| |      | +* Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |      | |`* Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |      | | `* Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |      | |  `* Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |      | |   `* Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |      | |    `* Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |      | |     `* Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |      | |      +- Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |      | |      `- Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |      | `- Re: Viable versus ideal programming languagesDan Cross
|      |  ||| |      +* Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |      |+- Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| |      |`- Re: Viable versus ideal programming languagesBill Gunshannon
|      |  ||| |      `- Re: Viable versus ideal programming languagesArne Vajhøj
|      |  ||| `- Re: Programming languages, was: Re: VMS documentationVAXman-
|      |  ||`* Re: VMS documentation, was: Re: Special deals on Tape DrivesDave Froble
|      |  || +- Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
|      |  || `* Re: VMS documentation, was: Re: Special deals on Tape DrivesDave Froble
|      |  ||  `- Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
|      |  |`* Programming languages, was: Re: VMS documentationSimon Clubley
|      |  | `- Re: Programming languages, was: Re: VMS documentationDave Froble
|      |  `- Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
|      `- Re: VMS documentation, was: Re: Special deals on Tape Drivesgah4
+* Re: VMS documentation, was: Re: Special deals on Tape DrivesArne Vajhøj
|+* Re: VMS documentation, was: Re: Special deals on Tape DrivesVAXman-
||`* Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
|| +- Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
|| `- Re: VMS documentation, was: Re: Special deals on Tape DrivesVAXman-
|`* Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
| +* Re: VMS documentation, was: Re: Special deals on Tape DrivesBill Gunshannon
| |`- Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
| `* Re: VMS documentation, was: Re: Special deals on Tape DrivesArne Vajhøj
|  `* Re: VMS documentation, was: Re: Special deals on Tape DrivesSimon Clubley
|   `- Re: VMS documentation, was: Re: Special deals on Tape DrivesArne Vajhøj
`* Re: VMS documentation, was: Re: Special deals on Tape Driveschris

Pages:12345
Re: Viable versus ideal programming languages

<t1eim1$6ee$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 08:36:33 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <t1eim1$6ee$1@dont-email.me>
References: <t0iq6h$mna$1@dont-email.me>
<e1346ec9-6380-4a79-8544-ea3dd5ff1b82n@googlegroups.com>
<t0nhme$8a0$1@dont-email.me> <j999j2F8qv4U1@mid.individual.net>
<t0o55c$s0v$1@dont-email.me> <j99ob5Fbks8U1@mid.individual.net>
<t0oepb$dsh$1@dont-email.me> <j99v8cFctq8U1@mid.individual.net>
<623124ef$0$705$14726298@news.sunsite.dk> <j9f721F5kahU1@mid.individual.net>
<62327875$0$704$14726298@news.sunsite.dk> <t0tu7r$oq8$1@dont-email.me>
<62327f21$0$703$14726298@news.sunsite.dk> <t0u0u9$839$3@dont-email.me>
<6233caf5$0$697$14726298@news.sunsite.dk>
<6235f4fc$0$702$14726298@news.sunsite.dk>
<511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>
<t1ah59$khr$1@dont-email.me> <6238ce01$0$694$14726298@news.sunsite.dk>
<t1ajhu$q39$1@dont-email.me> <6239184b$0$699$14726298@news.sunsite.dk>
<j9so04Fo6omU1@mid.individual.net> <t1cs4t$96a$1@dont-email.me>
<t1d5aq$ges$2@dont-email.me> <j9umf9F5949U2@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 23 Mar 2022 07:36:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c96ed52c4383bd2268198a62581381f3";
logging-data="6606"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jvnLEzYJFc2tCaHsJU29Q"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:RHm6io9maPGimR+OPXBh5YDayqA=
In-Reply-To: <j9umf9F5949U2@mid.individual.net>
Content-Language: sv
 by: Jan-Erik Söderholm - Wed, 23 Mar 2022 07:36 UTC

Den 2022-03-22 kl. 20:30, skrev Bill Gunshannon:
> On 3/22/22 14:42, Simon Clubley wrote:
>> On 2022-03-22, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>>
>>> When talkning about these kind of systems, you need to
>>> qualify "support". It is not that you are able to run
>>> a C-compiler on any of those "platforms". But there are
>>> dev tools available for Windows/Linux or such, that does
>>> have a C-compiler included for these platforms.
>>>
>>> It is more correct to talk about C-compilers that support
>>> these platforms, not the other way around.
>>>
>>
>> That's a fair point Jan-Erik. When talking about embedded environments,
>> we really are indeed talking about C compilers that support the embedded
>> environment as a target environment, not a host environment.
>>
>
> In the two examples I gave, Z80 and 6809 the C-compilers do support
> the environment they run in.  And do it natively.
>
> bill
>

Compilers running on Z80 and/or 6809 plattforms natively?
Maybe it is tecnicaly possible but I do not see the point.

Re: Viable versus ideal programming languages

<ja0elnFficvU1@mid.individual.net>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 07:29:57 -0400
Lines: 49
Message-ID: <ja0elnFficvU1@mid.individual.net>
References: <t0iq6h$mna$1@dont-email.me>
<e1346ec9-6380-4a79-8544-ea3dd5ff1b82n@googlegroups.com>
<t0nhme$8a0$1@dont-email.me> <j999j2F8qv4U1@mid.individual.net>
<t0o55c$s0v$1@dont-email.me> <j99ob5Fbks8U1@mid.individual.net>
<t0oepb$dsh$1@dont-email.me> <j99v8cFctq8U1@mid.individual.net>
<623124ef$0$705$14726298@news.sunsite.dk> <j9f721F5kahU1@mid.individual.net>
<62327875$0$704$14726298@news.sunsite.dk> <t0tu7r$oq8$1@dont-email.me>
<62327f21$0$703$14726298@news.sunsite.dk> <t0u0u9$839$3@dont-email.me>
<6233caf5$0$697$14726298@news.sunsite.dk>
<6235f4fc$0$702$14726298@news.sunsite.dk>
<511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>
<t1ah59$khr$1@dont-email.me> <6238ce01$0$694$14726298@news.sunsite.dk>
<t1ajhu$q39$1@dont-email.me> <6239184b$0$699$14726298@news.sunsite.dk>
<j9so04Fo6omU1@mid.individual.net> <t1cs4t$96a$1@dont-email.me>
<t1d5aq$ges$2@dont-email.me> <j9umf9F5949U2@mid.individual.net>
<t1eim1$6ee$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net rqTrYS8ipn/hZuhPmUJ1VQkumIIsd0PORR5vrHv15gej298rk0
Cancel-Lock: sha1:pMU7vTdfFtCMLJcoIzigu5zlDHo=
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: <t1eim1$6ee$1@dont-email.me>
 by: Bill Gunshannon - Wed, 23 Mar 2022 11:29 UTC

On 3/23/22 03:36, Jan-Erik Söderholm wrote:
> Den 2022-03-22 kl. 20:30, skrev Bill Gunshannon:
>> On 3/22/22 14:42, Simon Clubley wrote:
>>> On 2022-03-22, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>>>
>>>> When talkning about these kind of systems, you need to
>>>> qualify "support". It is not that you are able to run
>>>> a C-compiler on any of those "platforms". But there are
>>>> dev tools available for Windows/Linux or such, that does
>>>> have a C-compiler included for these platforms.
>>>>
>>>> It is more correct to talk about C-compilers that support
>>>> these platforms, not the other way around.
>>>>
>>>
>>> That's a fair point Jan-Erik. When talking about embedded environments,
>>> we really are indeed talking about C compilers that support the embedded
>>> environment as a target environment, not a host environment.
>>>
>>
>> In the two examples I gave, Z80 and 6809 the C-compilers do support
>> the environment they run in.  And do it natively.
>>
>> bill
>>
>
> Compilers running on Z80 and/or 6809 plattforms natively?
> Maybe it is tecnicaly possible but I do not see the point.

Why would you think it was not technically possible? Systems
like the Z80 and 6809 are complete computers and support lots
of languages just like other systems. On my still running Z80's
I have not only C but BASIC, Pascal, COBOL, Fortran, APL. It
even has limited TCP/IP abilities thru an add-on board that
also provides emulated hard disks on CF cards.

On the 6809, which by the way is running multi-user/multi-
tasking, I have C, Pascal, Logo and BASIC. COBOL was
available, but I never had it. It also supports TCP/IP
and emulated hard disks over a very fast serial connection.

And if I told you what these machines actually are you would
probably be rolling on the floor laughing.

People today are spoiled. They don't remember when we used to
run the world on these much smaller systems.

bill

Re: Viable versus ideal programming languages

<t1fhp7$6pp$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 17:27:19 +0100
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <t1fhp7$6pp$1@dont-email.me>
References: <t0iq6h$mna$1@dont-email.me>
<e1346ec9-6380-4a79-8544-ea3dd5ff1b82n@googlegroups.com>
<t0nhme$8a0$1@dont-email.me> <j999j2F8qv4U1@mid.individual.net>
<t0o55c$s0v$1@dont-email.me> <j99ob5Fbks8U1@mid.individual.net>
<t0oepb$dsh$1@dont-email.me> <j99v8cFctq8U1@mid.individual.net>
<623124ef$0$705$14726298@news.sunsite.dk> <j9f721F5kahU1@mid.individual.net>
<62327875$0$704$14726298@news.sunsite.dk> <t0tu7r$oq8$1@dont-email.me>
<62327f21$0$703$14726298@news.sunsite.dk> <t0u0u9$839$3@dont-email.me>
<6233caf5$0$697$14726298@news.sunsite.dk>
<6235f4fc$0$702$14726298@news.sunsite.dk>
<511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>
<t1ah59$khr$1@dont-email.me> <6238ce01$0$694$14726298@news.sunsite.dk>
<t1ajhu$q39$1@dont-email.me> <6239184b$0$699$14726298@news.sunsite.dk>
<j9so04Fo6omU1@mid.individual.net> <t1cs4t$96a$1@dont-email.me>
<t1d5aq$ges$2@dont-email.me> <j9umf9F5949U2@mid.individual.net>
<t1eim1$6ee$1@dont-email.me> <ja0elnFficvU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 23 Mar 2022 16:27:19 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c96ed52c4383bd2268198a62581381f3";
logging-data="6969"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188a+mSrJiaPT4Tr/F8LSSn"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:IYS4GrkB91ddmwNjmCS6HyIMvvQ=
In-Reply-To: <ja0elnFficvU1@mid.individual.net>
Content-Language: sv
 by: Jan-Erik Söderholm - Wed, 23 Mar 2022 16:27 UTC

Den 2022-03-23 kl. 12:29, skrev Bill Gunshannon:
> On 3/23/22 03:36, Jan-Erik Söderholm wrote:
>> Den 2022-03-22 kl. 20:30, skrev Bill Gunshannon:
>>> On 3/22/22 14:42, Simon Clubley wrote:
>>>> On 2022-03-22, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>>>>
>>>>> When talkning about these kind of systems, you need to
>>>>> qualify "support". It is not that you are able to run
>>>>> a C-compiler on any of those "platforms". But there are
>>>>> dev tools available for Windows/Linux or such, that does
>>>>> have a C-compiler included for these platforms.
>>>>>
>>>>> It is more correct to talk about C-compilers that support
>>>>> these platforms, not the other way around.
>>>>>
>>>>
>>>> That's a fair point Jan-Erik. When talking about embedded environments,
>>>> we really are indeed talking about C compilers that support the embedded
>>>> environment as a target environment, not a host environment.
>>>>
>>>
>>> In the two examples I gave, Z80 and 6809 the C-compilers do support
>>> the environment they run in.  And do it natively.
>>>
>>> bill
>>>
>>
>> Compilers running on Z80 and/or 6809 plattforms natively?
>> Maybe it is tecnicaly possible but I do not see the point.
>
> Why would you think it was not technically possible? Systems
> like the Z80 and 6809 are complete computers and support lots
> of languages just like other systems.  On my still running Z80's
> I have not only C but BASIC, Pascal, COBOL, Fortran, APL.  It
> even has limited TCP/IP abilities thru an add-on board that
> also provides emulated hard disks on CF cards.
>
> On the 6809, which by the way is running multi-user/multi-
> tasking, I have C, Pascal, Logo and BASIC.  COBOL was
> available, but I never had it.  It also supports TCP/IP
> and emulated hard disks over a very fast serial connection.
>
> And if I told you what these machines actually are you would
> probably be rolling on the floor laughing.
>
> People today are spoiled.  They don't remember when we used to
> run the world on these much smaller systems.
>
> bill
>

Well, I grew up with the IMSAI and such system. Z80, 6800,
6809, SC/MP and so on up to todays PIC16/PIC18 are well known
to me. But OK. You could back in time write a small compiler
to run on these, but it would not be up do todays standards.

Re: Viable versus ideal programming languages

<ja113lFj1nhU1@mid.individual.net>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 12:44:36 -0400
Lines: 84
Message-ID: <ja113lFj1nhU1@mid.individual.net>
References: <t0iq6h$mna$1@dont-email.me> <t0nhme$8a0$1@dont-email.me>
<j999j2F8qv4U1@mid.individual.net> <t0o55c$s0v$1@dont-email.me>
<j99ob5Fbks8U1@mid.individual.net> <t0oepb$dsh$1@dont-email.me>
<j99v8cFctq8U1@mid.individual.net> <623124ef$0$705$14726298@news.sunsite.dk>
<j9f721F5kahU1@mid.individual.net> <62327875$0$704$14726298@news.sunsite.dk>
<t0tu7r$oq8$1@dont-email.me> <62327f21$0$703$14726298@news.sunsite.dk>
<t0u0u9$839$3@dont-email.me> <6233caf5$0$697$14726298@news.sunsite.dk>
<6235f4fc$0$702$14726298@news.sunsite.dk>
<511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>
<t1ah59$khr$1@dont-email.me> <6238ce01$0$694$14726298@news.sunsite.dk>
<t1ajhu$q39$1@dont-email.me> <6239184b$0$699$14726298@news.sunsite.dk>
<j9so04Fo6omU1@mid.individual.net> <t1cs4t$96a$1@dont-email.me>
<t1d5aq$ges$2@dont-email.me> <j9umf9F5949U2@mid.individual.net>
<t1eim1$6ee$1@dont-email.me> <ja0elnFficvU1@mid.individual.net>
<t1fhp7$6pp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net cDq0oJECZOpWon+5UA9bowlccnapWp+G4fJR/v64oJkrnB5SIC
Cancel-Lock: sha1:aJFeak2TuDpT1hRT7sFskFF2jYE=
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: <t1fhp7$6pp$1@dont-email.me>
 by: Bill Gunshannon - Wed, 23 Mar 2022 16:44 UTC

On 3/23/22 12:27, Jan-Erik Söderholm wrote:
> Den 2022-03-23 kl. 12:29, skrev Bill Gunshannon:
>> On 3/23/22 03:36, Jan-Erik Söderholm wrote:
>>> Den 2022-03-22 kl. 20:30, skrev Bill Gunshannon:
>>>> On 3/22/22 14:42, Simon Clubley wrote:
>>>>> On 2022-03-22, Jan-Erik Söderholm <jan-erik.soderholm@telia.com>
>>>>> wrote:
>>>>>>
>>>>>> When talkning about these kind of systems, you need to
>>>>>> qualify "support". It is not that you are able to run
>>>>>> a C-compiler on any of those "platforms". But there are
>>>>>> dev tools available for Windows/Linux or such, that does
>>>>>> have a C-compiler included for these platforms.
>>>>>>
>>>>>> It is more correct to talk about C-compilers that support
>>>>>> these platforms, not the other way around.
>>>>>>
>>>>>
>>>>> That's a fair point Jan-Erik. When talking about embedded
>>>>> environments,
>>>>> we really are indeed talking about C compilers that support the
>>>>> embedded
>>>>> environment as a target environment, not a host environment.
>>>>>
>>>>
>>>> In the two examples I gave, Z80 and 6809 the C-compilers do support
>>>> the environment they run in.  And do it natively.
>>>>
>>>> bill
>>>>
>>>
>>> Compilers running on Z80 and/or 6809 plattforms natively?
>>> Maybe it is tecnicaly possible but I do not see the point.
>>
>> Why would you think it was not technically possible? Systems
>> like the Z80 and 6809 are complete computers and support lots
>> of languages just like other systems.  On my still running Z80's
>> I have not only C but BASIC, Pascal, COBOL, Fortran, APL.  It
>> even has limited TCP/IP abilities thru an add-on board that
>> also provides emulated hard disks on CF cards.
>>
>> On the 6809, which by the way is running multi-user/multi-
>> tasking, I have C, Pascal, Logo and BASIC.  COBOL was
>> available, but I never had it.  It also supports TCP/IP
>> and emulated hard disks over a very fast serial connection.
>>
>> And if I told you what these machines actually are you would
>> probably be rolling on the floor laughing.
>>
>> People today are spoiled.  They don't remember when we used to
>> run the world on these much smaller systems.
>>
>> bill
>>
>
> Well, I grew up with the IMSAI and such system. Z80, 6800,
> 6809, SC/MP and so on up to todays PIC16/PIC18 are well known
> to me. But OK. You could back in time write a small compiler
> to run on these, but it would not be up do todays standards.
>

Define today's standards. :-)

Certainly not ANSI but some of us don't really care. K&R was
good enough to develop one of the most prevalent OSes in use
today. What more is needed?

As for the other languages. I run the same Fortran that was in
use on everything from minis to mainframes. Full Pascal on both
the Z80 and 6809. Same COBOL that ran on Primes, Univac 1100, RSX,
RSTS, and even VMS. And a version of BASIC on the 6809 that is
far beyond the BASIC that came out on the PC years later. And APL
by its very nature is a perfect fit for these systems. There were
a number of other languages, PILOT, Smalltalk, Lisp etc. but they
weren't really any more successful on bigger machines.

I wonder how much of this notion that small systems aren't useful
for anything but playing games contributed to companies like DEC
missing the boat when the micro world came along.

bill

Re: Viable versus ideal programming languages

<t1fpab$v69$1@dont-email.me>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 18:35:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <t1fpab$v69$1@dont-email.me>
References: <t0iq6h$mna$1@dont-email.me> <t1ah59$khr$1@dont-email.me> <j9s625Fl0f1U1@mid.individual.net> <t1d53c$ges$1@dont-email.me> <t1dulk$i27$1@reader1.panix.com>
Injection-Date: Wed, 23 Mar 2022 18:35:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a4e0dbabb01462975a97170a1174198d";
logging-data="31945"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WHvI9aV6PxBk0q6hiiBN1/+1sKxP/t+U="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Kq5hJyhAoj7tQIr7ghrk+5/2ekU=
 by: Simon Clubley - Wed, 23 Mar 2022 18:35 UTC

On 2022-03-22, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
> In article <t1d53c$ges$1@dont-email.me>,
> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>
>>BTW #2, you can only easily call C++ code from a non-C++ program by
>>providing a C interface in the C++ library so you are back to using
>>C as an interface language even with C++...
>
> That's not precisely true; you're using an ABI that the C
> compiler targets, but that's qualitatively different than using
> the C language. For example, in Rust, I can define structures
> that use the layout of the system's native ABI, or functions
> that use the ABI's calling convention, etc. In my work, that
> usually implies calling between Rust and primitives written in
> assembly, but not C. In some sense, the connection with C is
> incidental, though admittedly many such ABIs were designed as a
> target for C primarily.
>

Does Rust have a C++ type name mangling problem when trying to call
a Rust library function from C ?

It seems that everyone falls back to C interface mode when trying
to export functions for use by another language. A quick look around
seems to show that Rust does the same.

It would be nice to have a richer interface standard that handles calling
between both OO and procedural languages natively but we are back once
again to C being viable if not ideal.

(And before anyone mentions the VMS common language environment, it
doesn't have support for OO languages.)

Simon.

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

Re: Viable versus ideal programming languages

<t1fpe0$v69$2@dont-email.me>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 18:37:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <t1fpe0$v69$2@dont-email.me>
References: <t0iq6h$mna$1@dont-email.me> <e1346ec9-6380-4a79-8544-ea3dd5ff1b82n@googlegroups.com> <t0nhme$8a0$1@dont-email.me> <j999j2F8qv4U1@mid.individual.net> <t0o55c$s0v$1@dont-email.me> <j99ob5Fbks8U1@mid.individual.net> <t0oepb$dsh$1@dont-email.me> <j99v8cFctq8U1@mid.individual.net> <623124ef$0$705$14726298@news.sunsite.dk> <j9f721F5kahU1@mid.individual.net> <62327875$0$704$14726298@news.sunsite.dk> <t0tu7r$oq8$1@dont-email.me> <62327f21$0$703$14726298@news.sunsite.dk> <t0u0u9$839$3@dont-email.me> <6233caf5$0$697$14726298@news.sunsite.dk> <6235f4fc$0$702$14726298@news.sunsite.dk> <511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com> <t1ah59$khr$1@dont-email.me> <j9s625Fl0f1U1@mid.individual.net> <t1d53c$ges$1@dont-email.me> <j9umb1F5949U1@mid.individual.net>
Injection-Date: Wed, 23 Mar 2022 18:37:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a4e0dbabb01462975a97170a1174198d";
logging-data="31945"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cXsNmBSYiyojXVhb9ttuk8kx9Nh/2k7c="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:umOHj7Q2aT1L/+URdvUAWZd/7E0=
 by: Simon Clubley - Wed, 23 Mar 2022 18:37 UTC

On 2022-03-22, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
> On 3/22/22 14:38, Simon Clubley wrote:
>>
>> BTW #2, you can only easily call C++ code from a non-C++ program by
>> providing a C interface in the C++ library so you are back to using
>> C as an interface language even with C++...
>
> Once again, languages don't define calling sequences, compilers do.
>

Even ignoring the other issues, the nature of C++ means that name
mangling is a real problem if you try to directly call C++ code from
a non-C++ language.

Simon.

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

Re: Viable versus ideal programming languages

<t1fpo6$v69$3@dont-email.me>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 18:43:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <t1fpo6$v69$3@dont-email.me>
References: <t0iq6h$mna$1@dont-email.me> <t0nhme$8a0$1@dont-email.me> <j999j2F8qv4U1@mid.individual.net> <t0o55c$s0v$1@dont-email.me> <j99ob5Fbks8U1@mid.individual.net> <t0oepb$dsh$1@dont-email.me> <j99v8cFctq8U1@mid.individual.net> <623124ef$0$705$14726298@news.sunsite.dk> <j9f721F5kahU1@mid.individual.net> <62327875$0$704$14726298@news.sunsite.dk> <t0tu7r$oq8$1@dont-email.me> <62327f21$0$703$14726298@news.sunsite.dk> <t0u0u9$839$3@dont-email.me> <6233caf5$0$697$14726298@news.sunsite.dk> <6235f4fc$0$702$14726298@news.sunsite.dk> <511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com> <t1ah59$khr$1@dont-email.me> <6238ce01$0$694$14726298@news.sunsite.dk> <t1ajhu$q39$1@dont-email.me> <6239184b$0$699$14726298@news.sunsite.dk> <j9so04Fo6omU1@mid.individual.net> <t1cs4t$96a$1@dont-email.me> <t1d5aq$ges$2@dont-email.me> <j9umf9F5949U2@mid.individual.net> <t1eim1$6ee$1@dont-email.me> <ja0elnFficvU1@mid.individual.net> <t1fhp7$6pp$1@dont-email.me> <ja113lFj1nhU1@mid.individual.net>
Injection-Date: Wed, 23 Mar 2022 18:43:19 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a4e0dbabb01462975a97170a1174198d";
logging-data="31945"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4Y652EHCe7SLnZd0f52rmcQnEGi6jJdI="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:fo4SbDnu9ZTIQZitt0iCA4d/VzE=
 by: Simon Clubley - Wed, 23 Mar 2022 18:43 UTC

On 2022-03-23, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>
> Certainly not ANSI but some of us don't really care. K&R was
> good enough to develop one of the most prevalent OSes in use
> today. What more is needed?
>

K&R was dumped with great gusto once ANSI C became available
(and rightly so). :-)

Simon.

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

Re: Viable versus ideal programming languages

<t1fq1e$e3e$1@dont-email.me>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 14:47:39 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <t1fq1e$e3e$1@dont-email.me>
References: <t0iq6h$mna$1@dont-email.me> <t0nhme$8a0$1@dont-email.me>
<j999j2F8qv4U1@mid.individual.net> <t0o55c$s0v$1@dont-email.me>
<j99ob5Fbks8U1@mid.individual.net> <t0oepb$dsh$1@dont-email.me>
<j99v8cFctq8U1@mid.individual.net> <623124ef$0$705$14726298@news.sunsite.dk>
<j9f721F5kahU1@mid.individual.net> <62327875$0$704$14726298@news.sunsite.dk>
<t0tu7r$oq8$1@dont-email.me> <62327f21$0$703$14726298@news.sunsite.dk>
<t0u0u9$839$3@dont-email.me> <6233caf5$0$697$14726298@news.sunsite.dk>
<6235f4fc$0$702$14726298@news.sunsite.dk>
<511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>
<t1ah59$khr$1@dont-email.me> <6238ce01$0$694$14726298@news.sunsite.dk>
<t1ajhu$q39$1@dont-email.me> <6239184b$0$699$14726298@news.sunsite.dk>
<j9so04Fo6omU1@mid.individual.net> <t1cs4t$96a$1@dont-email.me>
<t1d5aq$ges$2@dont-email.me> <j9umf9F5949U2@mid.individual.net>
<t1eim1$6ee$1@dont-email.me> <ja0elnFficvU1@mid.individual.net>
<t1fhp7$6pp$1@dont-email.me> <ja113lFj1nhU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Mar 2022 18:48:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="fd648b3d5c03879fbb3089c762395b94";
logging-data="14446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ej4wJX33KXnaFCSt2eq5DsW/7a6DYS9s="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:MZH6WxUappGz1elrJC0W5v3dnEU=
In-Reply-To: <ja113lFj1nhU1@mid.individual.net>
 by: Dave Froble - Wed, 23 Mar 2022 18:47 UTC

On 3/23/2022 12:44 PM, Bill Gunshannon wrote:

>
> I wonder how much of this notion that small systems aren't useful
> for anything but playing games contributed to companies like DEC
> missing the boat when the micro world came along.

At a guess, I'd say that gamers feel they need the most powerful systems. They
would be wrong. What they actually want is really good and fast graphics.

If DEC had taken games seriously, they might have prospered. Come up with
rather inexpensive systems affordable to individuals, and sold a lot of them.
DEC never had the concept of "cheap".

--
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: Viable versus ideal programming languages

<t1fs4g$shf$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 19:24:00 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t1fs4g$shf$1@reader1.panix.com>
References: <t0iq6h$mna$1@dont-email.me> <ja0elnFficvU1@mid.individual.net> <t1fhp7$6pp$1@dont-email.me> <ja113lFj1nhU1@mid.individual.net>
Injection-Date: Wed, 23 Mar 2022 19:24:00 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="29231"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Wed, 23 Mar 2022 19:24 UTC

In article <ja113lFj1nhU1@mid.individual.net>,
Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>Define today's standards. :-)

Language standards published any time this century. :-)

>Certainly not ANSI but some of us don't really care. K&R was
>good enough to develop one of the most prevalent OSes in use
>today. What more is needed?

Unix systems of today don't use K&R C, and with good reason. I
did a port of 7th Edition to the 68010 with a 68451 MMU a few
years ago, and updated the code to ISO C11. Just adding
prototypes found bugs.

>As for the other languages. I run the same Fortran that was in
>use on everything from minis to mainframes. Full Pascal on both
>the Z80 and 6809. Same COBOL that ran on Primes, Univac 1100, RSX,
>RSTS, and even VMS. And a version of BASIC on the 6809 that is
>far beyond the BASIC that came out on the PC years later. And APL
>by its very nature is a perfect fit for these systems. There were
>a number of other languages, PILOT, Smalltalk, Lisp etc. but they
>weren't really any more successful on bigger machines.
>
>I wonder how much of this notion that small systems aren't useful
>for anything but playing games contributed to companies like DEC
>missing the boat when the micro world came along.

You can certainly do all kinds of useful stuff on small systems,
but in this day and age it begs the question: why? Aside from
an interesting academic exercise, I don't much see the point
of a hosted environment on a z80 or 6809, particularly when a
Raspberry Pi Zero costs $5 or something and gives you so much
more. Use those devices as a _target_ platform for something?
Sure. But a host? Why bother?

- Dan C.

Re: Viable versus ideal programming languages

<t1fsvh$crs$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 19:38:25 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t1fsvh$crs$1@reader1.panix.com>
References: <t0iq6h$mna$1@dont-email.me> <t1d53c$ges$1@dont-email.me> <t1dulk$i27$1@reader1.panix.com> <t1fpab$v69$1@dont-email.me>
Injection-Date: Wed, 23 Mar 2022 19:38:25 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="13180"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Wed, 23 Mar 2022 19:38 UTC

In article <t1fpab$v69$1@dont-email.me>,
Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>On 2022-03-22, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>> In article <t1d53c$ges$1@dont-email.me>,
>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>
>>>BTW #2, you can only easily call C++ code from a non-C++ program by
>>>providing a C interface in the C++ library so you are back to using
>>>C as an interface language even with C++...
>>
>> That's not precisely true; you're using an ABI that the C
>> compiler targets, but that's qualitatively different than using
>> the C language. For example, in Rust, I can define structures
>> that use the layout of the system's native ABI, or functions
>> that use the ABI's calling convention, etc. In my work, that
>> usually implies calling between Rust and primitives written in
>> assembly, but not C. In some sense, the connection with C is
>> incidental, though admittedly many such ABIs were designed as a
>> target for C primarily.
>>
>
>Does Rust have a C++ type name mangling problem when trying to call
>a Rust library function from C ?

No. You can export unmangled names trivially.

>It seems that everyone falls back to C interface mode when trying
>to export functions for use by another language. A quick look around
>seems to show that Rust does the same.

I suppose that if one's definition of a well-defined ABI is what
you are calling a "C interface mode" that's true, but most ABIs
are language-independent.

>It would be nice to have a richer interface standard that handles calling
>between both OO and procedural languages natively but we are back once
>again to C being viable if not ideal.

It's curious to me how VMS had this from very early on (e.g.,
https://vmssoftware.com/docs/VSI_CALLING_STD.pdf) and it was
rightfully lauded as a boon for cross-language interoperability,
but when people point to ABIs on other systems it's assumed to
be a C thing.

>(And before anyone mentions the VMS common language environment, it
>doesn't have support for OO languages.)

Perhaps you mean that it doesn't have baked-in support for
method dispatch via vtables and the like. But then, the System
V ABI for modern architectures does (or rather, it defers to the
Itanium ABI). Indeed, the latest VSI caling standard document
refers to the SysV C++ ABI, which refers to the Itanium ABI,
which specifies object layout and method invocation in detail:

https://itanium-cxx-abi.github.io/cxx-abi/abi.html

So in some sense, a lot of things _are_ specified, by the VMS
standard, at least for one "OO" language.

- Dan C.

Re: Viable versus ideal programming languages

<t1fte1$crs$2@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 19:46:09 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t1fte1$crs$2@reader1.panix.com>
References: <t0iq6h$mna$1@dont-email.me> <t1fhp7$6pp$1@dont-email.me> <ja113lFj1nhU1@mid.individual.net> <t1fq1e$e3e$1@dont-email.me>
Injection-Date: Wed, 23 Mar 2022 19:46:09 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="13180"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Wed, 23 Mar 2022 19:46 UTC

In article <t1fq1e$e3e$1@dont-email.me>,
Dave Froble <davef@tsoft-inc.com> wrote:
>On 3/23/2022 12:44 PM, Bill Gunshannon wrote:
>
>>
>> I wonder how much of this notion that small systems aren't useful
>> for anything but playing games contributed to companies like DEC
>> missing the boat when the micro world came along.
>
>At a guess, I'd say that gamers feel they need the most powerful systems. They
>would be wrong. What they actually want is really good and fast graphics.
>
>If DEC had taken games seriously, they might have prospered. Come up with
>rather inexpensive systems affordable to individuals, and sold a lot of them.
>DEC never had the concept of "cheap".

I saw a presentation by Olson once that I found prescient.

In a lot of ways, DEC had a vision that I actually find very
compelling. It seemed to be a mixture of different systems of
varying power, all networked together, with support for multiple
user interfaces: some folks would be sitting in front of
powerful workstations, others in front of cheap serial
terminals; both would draw from services and resources provided
by more powerful server machines of different kinds. It wasn't
cheap, but it was good.

DEC certainly seems to have missed the PC boat (or, rather, it
entered the race after it was already too late to win), much to
its detriment. But one wonders whether, in the end, they were
"right", but just too far forward thinking for the time.

- Dan C.

Re: Viable versus ideal programming languages

<ja1e8sFlhdrU1@mid.individual.net>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 16:29:15 -0400
Lines: 57
Message-ID: <ja1e8sFlhdrU1@mid.individual.net>
References: <t0iq6h$mna$1@dont-email.me> <ja0elnFficvU1@mid.individual.net>
<t1fhp7$6pp$1@dont-email.me> <ja113lFj1nhU1@mid.individual.net>
<t1fs4g$shf$1@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net /WijKdHVOdQdwOr0SNjIQQYsusfQEx/OMEGud5/X+8oTLyulvv
Cancel-Lock: sha1:XDpL0N0GxvwGXhewOiIlReE8TME=
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: <t1fs4g$shf$1@reader1.panix.com>
 by: Bill Gunshannon - Wed, 23 Mar 2022 20:29 UTC

On 3/23/22 15:24, Dan Cross wrote:
> In article <ja113lFj1nhU1@mid.individual.net>,
> Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>> Define today's standards. :-)
>
> Language standards published any time this century. :-)

Language standards with what purpose? :-)

>
>> Certainly not ANSI but some of us don't really care. K&R was
>> good enough to develop one of the most prevalent OSes in use
>> today. What more is needed?
>
> Unix systems of today don't use K&R C, and with good reason. I
> did a port of 7th Edition to the 68010 with a 68451 MMU a few
> years ago, and updated the code to ISO C11. Just adding
> prototypes found bugs.

Probably would have been found with lint if someone had bothered
to try. But, take any of the packages available today (start
with GNU stuff) turn on all the warnings and stand back and watch
just how is ignored on their production versions. Programmers
seem to have this feeling that warnings (and even errors if you
can convince the compiler to ignore them) are OK if you don't
see them and the easiest way to do that is don't look.

>
>> As for the other languages. I run the same Fortran that was in
>> use on everything from minis to mainframes. Full Pascal on both
>> the Z80 and 6809. Same COBOL that ran on Primes, Univac 1100, RSX,
>> RSTS, and even VMS. And a version of BASIC on the 6809 that is
>> far beyond the BASIC that came out on the PC years later. And APL
>> by its very nature is a perfect fit for these systems. There were
>> a number of other languages, PILOT, Smalltalk, Lisp etc. but they
>> weren't really any more successful on bigger machines.
>>
>> I wonder how much of this notion that small systems aren't useful
>> for anything but playing games contributed to companies like DEC
>> missing the boat when the micro world came along.
>
> You can certainly do all kinds of useful stuff on small systems,
> but in this day and age it begs the question: why? Aside from
> an interesting academic exercise, I don't much see the point
> of a hosted environment on a z80 or 6809, particularly when a
> Raspberry Pi Zero costs $5 or something and gives you so much
> more. Use those devices as a _target_ platform for something?
> Sure. But a host? Why bother?

Because I already have them. Because I like nostalgia. Other
reasons I'm sure. Oh, and I use the Pi and Arduinos as well.
But they just aren't as much fun. Lately I have been thinking
about tasking another look at Amoeba. Imagine what could be
done with an Amoeba cluster of Pi's. :-)

bill

Re: Viable versus ideal programming languages

<623b8a1b$0$704$14726298@news.sunsite.dk>

  copy mid

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

  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: Wed, 23 Mar 2022 16:58:58 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Viable versus ideal programming languages
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t0iq6h$mna$1@dont-email.me> <t1ah59$khr$1@dont-email.me>
<j9s625Fl0f1U1@mid.individual.net> <t1d53c$ges$1@dont-email.me>
<t1dulk$i27$1@reader1.panix.com> <t1fpab$v69$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t1fpab$v69$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 33
Message-ID: <623b8a1b$0$704$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b9b4deb6.news.sunsite.dk
X-Trace: 1648069147 news.sunsite.dk 704 arne@vajhoej.dk/68.9.63.232:50178
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 23 Mar 2022 20:58 UTC

On 3/23/2022 2:35 PM, Simon Clubley wrote:
> It seems that everyone falls back to C interface mode when trying
> to export functions for use by another language.

Not really.

Almost all languages has a way to specify:
- do not mangle/decorate the function name
- use platform specific calling convention

And some like to call that C interface.

But it really isn't.

Not mangling/decorating is a common concept.

Platform specific calling conventions are
not C specific.

VMS calling convention is not. The stdcall is
not. The cdecl comes from the C world
as the name indicates, but are not
tied to C.

The only interfaces that are really C interfaces
are when the declaration does something under the
hood to actually match C expectations like
passing a string as a zero terminated byte array
even though the language use a different convention
for strings.

Arne

Re: Viable versus ideal programming languages

<623b8aa3$0$704$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 23 Mar 2022 17:01:21 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Viable versus ideal programming languages
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t0iq6h$mna$1@dont-email.me> <t1ah59$khr$1@dont-email.me>
<j9s625Fl0f1U1@mid.individual.net> <t1d53c$ges$1@dont-email.me>
<t1dulk$i27$1@reader1.panix.com> <t1fpab$v69$1@dont-email.me>
<623b8a1b$0$704$14726298@news.sunsite.dk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <623b8a1b$0$704$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 25
Message-ID: <623b8aa3$0$704$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 82601abb.news.sunsite.dk
X-Trace: 1648069283 news.sunsite.dk 704 arne@vajhoej.dk/68.9.63.232:50178
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 23 Mar 2022 21:01 UTC

On 3/23/2022 4:58 PM, Arne Vajhøj wrote:
> On 3/23/2022 2:35 PM, Simon Clubley wrote:
>> It seems that everyone falls back to C interface mode when trying
>> to export functions for use by another language.
>
> Not really.
>
> Almost all languages has a way to specify:
> - do not mangle/decorate the function name
> - use platform specific calling convention
>
> And some like to call that C interface.

Because C (or C++) are very frequently the
calling language.

> But it really isn't.
>
> Not mangling/decorating is a common concept.
>
> Platform specific calling conventions are
> not C specific.

Arne

Re: Viable versus ideal programming languages

<ja1kjdFmkdhU1@mid.individual.net>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Wed, 23 Mar 2022 18:17:17 -0400
Lines: 15
Message-ID: <ja1kjdFmkdhU1@mid.individual.net>
References: <t0iq6h$mna$1@dont-email.me> <t1ah59$khr$1@dont-email.me>
<j9s625Fl0f1U1@mid.individual.net> <t1d53c$ges$1@dont-email.me>
<t1dulk$i27$1@reader1.panix.com> <t1fpab$v69$1@dont-email.me>
<623b8a1b$0$704$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 CrZ3ltXRwZ4vq5rFLFb5ZQZ///t66VVWo6vG6SO+Y/iSpFKLiG
Cancel-Lock: sha1:gnbhvgUfd6fXhZfVtutU6XTlj3Q=
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: <623b8a1b$0$704$14726298@news.sunsite.dk>
 by: Bill Gunshannon - Wed, 23 Mar 2022 22:17 UTC

On 3/23/22 16:58, Arne Vajhøj wrote:
>
> The only interfaces that are really C interfaces
> are when the declaration does something under the
> hood to actually match C expectations like
> passing a string as a zero terminated byte array
> even though the language use a different convention
> for strings.

I've even done that from COBOL. As long as you know
what the called routine wants you can call any language
from any other language.

bill

Re: Viable versus ideal programming languages

<t1hov3$dd8$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Thu, 24 Mar 2022 12:42:11 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t1hov3$dd8$1@reader1.panix.com>
References: <t0iq6h$mna$1@dont-email.me> <ja113lFj1nhU1@mid.individual.net> <t1fs4g$shf$1@reader1.panix.com> <ja1e8sFlhdrU1@mid.individual.net>
Injection-Date: Thu, 24 Mar 2022 12:42:11 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="13736"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 24 Mar 2022 12:42 UTC

In article <ja1e8sFlhdrU1@mid.individual.net>,
Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>On 3/23/22 15:24, Dan Cross wrote:
>> In article <ja113lFj1nhU1@mid.individual.net>,
>> Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>>> Define today's standards. :-)
>>
>> Language standards published any time this century. :-)
>
>Language standards with what purpose? :-)

Well, taking advantage of new hardware capabilities, better
understanding of the use and semantics of a language, really any
number of things.

For example, recent C and C++ standards define standard memory
models for the abstract virtual machine they describe, and
define standard interfaces for atomic operations, so that one
can write portable parallel code.

In some cases, old interfaces that are dangerous or ill
conceived are deprecated, c.f. `gets`.

COBOL people like to point out that the quip about a "65 year
old language" is inaccurate since more recent revisions of the
language have changed it to add useful modern functionality.
However, that's not useful if one can't get a toolchain that
supports those more recent standards.

>>> Certainly not ANSI but some of us don't really care. K&R was
>>> good enough to develop one of the most prevalent OSes in use
>>> today. What more is needed?
>>
>> Unix systems of today don't use K&R C, and with good reason. I
>> did a port of 7th Edition to the 68010 with a 68451 MMU a few
>> years ago, and updated the code to ISO C11. Just adding
>> prototypes found bugs.
>
>Probably would have been found with lint if someone had bothered
>to try.

What makes you think they didn't? The same group that liberated
`lint` from Johnson's compiler wrote 7th Edition, after all.
Lint doesn't catch all of these problems.

But moreover, why go to an extra step of running a separate tool
if the compiler will do it for you? Prototypes and well-typed
formals in function definitions were a boon to both correctness
and readability, as it turns out. I'd rather have compilation
fail due to an incompatible type mismatch than rely on everyone
changing code to run some external tool.

>But, take any of the packages available today (start
>with GNU stuff) turn on all the warnings and stand back and watch
>just how is ignored on their production versions. Programmers
>seem to have this feeling that warnings (and even errors if you
>can convince the compiler to ignore them) are OK if you don't
>see them and the easiest way to do that is don't look.

Three points here.

First of all, what does that have to do with anything? Poor
hygiene around warnings is orthogonal to the desire to run code
written to a recent language standard, or the benefits of those
recent standards. (Which is not to say that they bring _only_
benefits; there _are_ missteps.)

Second, the topic is running compilers capable of compiling the
current version of the language. The universe of interesting
software written in e.g. C is large; much of that requires at
least a C89 compiler; many more of it requires C99, C11 and C23
is on the horizon. By restricting myself to a K&R compiler, I'm
restricting myself to an ever-smaller subset of that universe.
For example, I have an emulated VAX running 4.3BSD. I wanted a
"modern" shell for that; I'm stuck with an ancient version of
tcsh from the previous century that could compile on that
ancient system. Don't get me wrong, it's fun to noodle around
on, but I wouldn't consider that acceptable for serious work in
this day and age.

Third and finally, warnings themselves can be overly aggressive
or misleading. For example, `gcc` has a warning if it detects
that one is calling `strncpy` in such a way that the entire
that the length argument is exactly the size of the destination
argument. This is because people don't understand the semantics
of `strncpy` and often get it wrong in such a way that they may
not NUL-terminate the destination. But the warning is in some
sense too aggressive, and precludes cases where either a) the
programmer _actually_ wants that behavior (for example, they may
be filling in a fixed-length field of some data structure that
might be written to a storage device, or copied over a network,
or otherwise used in some way where the notion of a "C string"
isn's appropriate or desired) or b) they may use some other
common idiom to ensure proper termination:

char dst[128];
strncpy(dst, src, sizeof(dst));
dst[sizeof(dst) - 1] = '\0';

etc. (Of course, the real solution here is to use a more
appropriate function; perhaps `strlcpy`:
https://www.sudo.ws/todd/papers/strlcpy.html).

Anyway, the point is, not all warnings are equally valuable. In
the GCC `strncpy` case, the cure to silence the warning may be
worse than the disease.

>>> As for the other languages. I run the same Fortran that was in
>>> use on everything from minis to mainframes. Full Pascal on both
>>> the Z80 and 6809. Same COBOL that ran on Primes, Univac 1100, RSX,
>>> RSTS, and even VMS. And a version of BASIC on the 6809 that is
>>> far beyond the BASIC that came out on the PC years later. And APL
>>> by its very nature is a perfect fit for these systems. There were
>>> a number of other languages, PILOT, Smalltalk, Lisp etc. but they
>>> weren't really any more successful on bigger machines.
>>>
>>> I wonder how much of this notion that small systems aren't useful
>>> for anything but playing games contributed to companies like DEC
>>> missing the boat when the micro world came along.
>>
>> You can certainly do all kinds of useful stuff on small systems,
>> but in this day and age it begs the question: why? Aside from
>> an interesting academic exercise, I don't much see the point
>> of a hosted environment on a z80 or 6809, particularly when a
>> Raspberry Pi Zero costs $5 or something and gives you so much
>> more. Use those devices as a _target_ platform for something?
>> Sure. But a host? Why bother?
>
>Because I already have them. Because I like nostalgia. Other
>reasons I'm sure.

So, an interesting academic exercise. :-)

>Oh, and I use the Pi and Arduinos as well.
>But they just aren't as much fun.

That's fair. I run a simulated CDC cyber 6600, a bunch of pr1me
stuff, a couple of VAXen and PDP-11's running Unix, TOPS-20,
Multics, Plan 9 etc. It's more fun than a cookie-cutter
Raspberry Pi running Linux. But it's also important to be aware
of the limitations of those things; I do that for fun, but for
serious work I look to modernity for practical reasons.

>Lately I have been thinking
>about tasking another look at Amoeba. Imagine what could be
>done with an Amoeba cluster of Pi's. :-)

In seriousness? Amoeba was an interesting research system 30
years ago. These days, I'd think a cluster of Pi's running Plan
9 would be more interesting (note that Sape Mullender went to
Bell Labs and worked on plan9 after working on Amoeba).

- Dan C.

Re: Viable versus ideal programming languages

<t1hqgd$c77$1@dont-email.me>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Thu, 24 Mar 2022 13:08:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <t1hqgd$c77$1@dont-email.me>
References: <t0iq6h$mna$1@dont-email.me> <t1d53c$ges$1@dont-email.me> <t1dulk$i27$1@reader1.panix.com> <t1fpab$v69$1@dont-email.me> <t1fsvh$crs$1@reader1.panix.com>
Injection-Date: Thu, 24 Mar 2022 13:08:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d582b43e4451aa283d07ab11bb0be7d3";
logging-data="12519"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/kkHN56sBHQagOakPncA1psrFF8X0bSw="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:M2ayvAOM0OIAmZywxdST5iqhmR4=
 by: Simon Clubley - Thu, 24 Mar 2022 13:08 UTC

On 2022-03-23, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
> In article <t1fpab$v69$1@dont-email.me>,
> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>It seems that everyone falls back to C interface mode when trying
>>to export functions for use by another language. A quick look around
>>seems to show that Rust does the same.
>
> I suppose that if one's definition of a well-defined ABI is what
> you are calling a "C interface mode" that's true, but most ABIs
> are language-independent.
>

It's at this point that I mention many languages directly call this a
C interface mode, including in the syntax that they provide to achieve
this... :-)

Simon.

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

Re: Viable versus ideal programming languages

<ja3afcF1vukU1@mid.individual.net>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Thu, 24 Mar 2022 09:36:42 -0400
Lines: 37
Message-ID: <ja3afcF1vukU1@mid.individual.net>
References: <t0iq6h$mna$1@dont-email.me> <ja113lFj1nhU1@mid.individual.net>
<t1fs4g$shf$1@reader1.panix.com> <ja1e8sFlhdrU1@mid.individual.net>
<t1hov3$dd8$1@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net TdOBJlODhfzXnUiijDaowglIfrXjAGk8DIeR9v3W0fuOIjX0y/
Cancel-Lock: sha1:i0rjCszcdzcNVqhuToFLHLFe1FA=
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: <t1hov3$dd8$1@reader1.panix.com>
 by: Bill Gunshannon - Thu, 24 Mar 2022 13:36 UTC

On 3/24/22 08:42, Dan Cross wrote:
>
>
> In seriousness? Amoeba was an interesting research system 30
> years ago. These days, I'd think a cluster of Pi's running Plan
> 9 would be more interesting (note that Sape Mullender went to
> Bell Labs and worked on plan9 after working on Amoeba).

We ran both Amoeba at the University. Had a couple of grad
students do their thesis on it. Very impressive to watch the
cluster move jobs around based on available resources. Was
disappointed when all the work on it stopped for no apparent
reason other than, in typical academic fashion, people tired
of it. I think it had great potential and I think technology
has reached a point where it would be a real asset. A rack
of Pi's occupies a lot less space and consumes a lot less
energy than racks of Sparcs. :-)

We did Plan9 as well. I think I still have all the original
software and manuals from it. While interesting I never saw
the capabilities in it that Amoeba had. Just looked like another
(stranger!) version of Bell Labs Unix. I certainly didn't see
the support for parallelization in Plan9 that I saw in Amoeba.
Might be interesting to take another look at that, too.

Your list of older systems was impressive. Mine matches most
of it. I still do real PDP-11's, real VAX, Sparc, and emulated
I do PDP-11's VAX and Pr1me. (I used to maintain OS and software
on a bunch of 850's and always liked it, even with its quirks.)
But, as you saw, I also do a lot of older small systems. I have
all of the TRS-80 models. Some SBC CP/M machines. And, like
everyone :-) piles of PC's running pretty much anything you can
run on them. It keeps me busy as I am unlikely to make the cut
on anyone's resume search at my age. :-)

bill

Re: Viable versus ideal programming languages

<623cb7a5$0$694$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 24 Mar 2022 14:25:39 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Viable versus ideal programming languages
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t0iq6h$mna$1@dont-email.me> <t1d53c$ges$1@dont-email.me>
<t1dulk$i27$1@reader1.panix.com> <t1fpab$v69$1@dont-email.me>
<t1fsvh$crs$1@reader1.panix.com> <t1hqgd$c77$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t1hqgd$c77$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 38
Message-ID: <623cb7a5$0$694$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 33d4d580.news.sunsite.dk
X-Trace: 1648146341 news.sunsite.dk 694 arne@vajhoej.dk/68.9.63.232:50553
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 24 Mar 2022 18:25 UTC

On 3/24/2022 9:08 AM, Simon Clubley wrote:
> On 2022-03-23, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>> In article <t1fpab$v69$1@dont-email.me>,
>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>> It seems that everyone falls back to C interface mode when trying
>>> to export functions for use by another language. A quick look around
>>> seems to show that Rust does the same.
>>
>> I suppose that if one's definition of a well-defined ABI is what
>> you are calling a "C interface mode" that's true, but most ABIs
>> are language-independent.
>
> It's at this point that I mention many languages directly call this a
> C interface mode, including in the syntax that they provide to achieve
> this... :-)

True.

But it really isn't a C thing - it is a calling convention thing.

If we take Rust as an example then you can use:

extern "C"

but you cal also use:

extern "stdcall"
extern "cdecl"
extern "system"
extern "aapcs"
etc.

Arne

Re: Viable versus ideal programming languages

<623cba27$0$696$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 24 Mar 2022 14:36:21 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Viable versus ideal programming languages
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t1fpab$v69$1@dont-email.me>
<memo.20220323193216.1928v@jgd.cix.co.uk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <memo.20220323193216.1928v@jgd.cix.co.uk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 28
Message-ID: <623cba27$0$696$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 33d4d580.news.sunsite.dk
X-Trace: 1648146984 news.sunsite.dk 696 arne@vajhoej.dk/68.9.63.232:50963
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 24 Mar 2022 18:36 UTC

On 3/23/2022 3:31 PM, John Dallman wrote:
> In article <t1fpab$v69$1@dont-email.me>,
> clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote:
>> It would be nice to have a richer interface standard that handles
>> calling between both OO and procedural languages natively ...
>
> The difficulty there is the varying ways in which OO access to
> objects/classes/entities is implemented.
>
> The two environments I know of where calling between several OO languages
> is supported are JVM and .NET. In both cases, languages whose usual way
> of doing OO is different from Java and C#, respectively, tend to have to
> be bent into shape.

Overall I think they work pretty good.

Of course there are some language limitations, but usually less
than VMS calling convention for procedural where some languages
are also missing some features.

Opinion based on:

JVM: Java, Kotlin, Scala, Groovy, Python, JavaScript, PHP, Ruby

CLR: C#, VB.NET, F#, Python, JavaScript, PHP, Ruby, Java

Arne

Re: Viable versus ideal programming languages

<623cba8e$0$696$14726298@news.sunsite.dk>

  copy mid

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

  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, 24 Mar 2022 14:38:04 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Viable versus ideal programming languages
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t0iq6h$mna$1@dont-email.me>
<e1346ec9-6380-4a79-8544-ea3dd5ff1b82n@googlegroups.com>
<t0nhme$8a0$1@dont-email.me> <j999j2F8qv4U1@mid.individual.net>
<t0o55c$s0v$1@dont-email.me> <j99ob5Fbks8U1@mid.individual.net>
<t0oepb$dsh$1@dont-email.me> <j99v8cFctq8U1@mid.individual.net>
<623124ef$0$705$14726298@news.sunsite.dk> <j9f721F5kahU1@mid.individual.net>
<62327875$0$704$14726298@news.sunsite.dk> <t0tu7r$oq8$1@dont-email.me>
<62327f21$0$703$14726298@news.sunsite.dk> <t0u0u9$839$3@dont-email.me>
<6233caf5$0$697$14726298@news.sunsite.dk>
<6235f4fc$0$702$14726298@news.sunsite.dk>
<511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>
<t1ah59$khr$1@dont-email.me> <j9s625Fl0f1U1@mid.individual.net>
<t1d53c$ges$1@dont-email.me> <j9umb1F5949U1@mid.individual.net>
<t1fpe0$v69$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t1fpe0$v69$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 21
Message-ID: <623cba8e$0$696$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 33d4d580.news.sunsite.dk
X-Trace: 1648147086 news.sunsite.dk 696 arne@vajhoej.dk/68.9.63.232:50963
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 24 Mar 2022 18:38 UTC

On 3/23/2022 2:37 PM, Simon Clubley wrote:
> On 2022-03-22, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>> On 3/22/22 14:38, Simon Clubley wrote:
>>>
>>> BTW #2, you can only easily call C++ code from a non-C++ program by
>>> providing a C interface in the C++ library so you are back to using
>>> C as an interface language even with C++...
>>
>> Once again, languages don't define calling sequences, compilers do.
>
> Even ignoring the other issues, the nature of C++ means that name
> mangling is a real problem if you try to directly call C++ code from
> a non-C++ language.

Disabling name mangling/decorating is a must.

But even though it is called C interface then it does not
have anything to do with C.

Arne

Re: Viable versus ideal programming languages

<t1kdql$g07$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Fri, 25 Mar 2022 12:50:29 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t1kdql$g07$1@reader1.panix.com>
References: <t0iq6h$mna$1@dont-email.me> <t1fpab$v69$1@dont-email.me> <t1fsvh$crs$1@reader1.panix.com> <t1hqgd$c77$1@dont-email.me>
Injection-Date: Fri, 25 Mar 2022 12:50:29 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="16391"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Fri, 25 Mar 2022 12:50 UTC

In article <t1hqgd$c77$1@dont-email.me>,
Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>On 2022-03-23, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>> In article <t1fpab$v69$1@dont-email.me>,
>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>>It seems that everyone falls back to C interface mode when trying
>>>to export functions for use by another language. A quick look around
>>>seems to show that Rust does the same.
>>
>> I suppose that if one's definition of a well-defined ABI is what
>> you are calling a "C interface mode" that's true, but most ABIs
>> are language-independent.
>>
>
>It's at this point that I mention many languages directly call this a
>C interface mode, including in the syntax that they provide to achieve
>this... :-)

Again, using the calling convention and structure layouts is
still qualitatively different than using C. The ABI gives you a
set of guarantees that you can program to, not the language; the
language at that point is irrelevant.

Further, for instance the System V ABI for x86_64 gives some
flexibility for languages with richer semantics than C. For
example, I see no reason why a language could not represent a
pair type as a small structure of two elements. Provided those
elements each fit within 64 bits, I imagine that such a tuple
could be returned in two registers (%rax, %rdx); nothing in the
ABI seems to preclude that, though it's clearly not something
one can do in C, as C doesn't support tuples.

- Dan C.

Re: Viable versus ideal programming languages

<t1kfbc$1vf$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Fri, 25 Mar 2022 13:16:28 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t1kfbc$1vf$1@reader1.panix.com>
References: <t0iq6h$mna$1@dont-email.me> <t1fsvh$crs$1@reader1.panix.com> <t1hqgd$c77$1@dont-email.me> <623cb7a5$0$694$14726298@news.sunsite.dk>
Injection-Date: Fri, 25 Mar 2022 13:16:28 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="2031"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Fri, 25 Mar 2022 13:16 UTC

In article <623cb7a5$0$694$14726298@news.sunsite.dk>,
Arne Vajhøj <arne@vajhoej.dk> wrote:
>On 3/24/2022 9:08 AM, Simon Clubley wrote:
>> On 2022-03-23, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>>> In article <t1fpab$v69$1@dont-email.me>,
>>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>>> It seems that everyone falls back to C interface mode when trying
>>>> to export functions for use by another language. A quick look around
>>>> seems to show that Rust does the same.
>>>
>>> I suppose that if one's definition of a well-defined ABI is what
>>> you are calling a "C interface mode" that's true, but most ABIs
>>> are language-independent.
>>
>> It's at this point that I mention many languages directly call this a
>> C interface mode, including in the syntax that they provide to achieve
>> this... :-)
>
>True.
>
>But it really isn't a C thing - it is a calling convention thing.
>
>If we take Rust as an example then you can use:

Here's a small example in Rust of calling into assembler:

: spitfire; pwd
/home/cross/demo
: spitfire; cat src/incr.S
..text
..globl incr
incr:
MOVQ %rdi, %rax
INCQ %rax
RET
: spitfire; cat src/main.rs
std::arch::global_asm!(include_str!("incr.S"), options(att_syntax));

extern {
fn incr(i: u64) -> u64;
}

fn main() {
println!("incr(5) = {}", unsafe { incr(5) });
} : spitfire; cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.00s
Running `target/debug/demo`
incr(5) = 6
: spitfire;

Here's an example of assembler calling into Rust, including
calling via a mangled name:

: spitfire; pwd
/home/cross/demo2
: spitfire; cat src/caller.S
..text
..globl trampoline, you
trampoline:
JMP you
UD2
: spitfire; cat src/main.rs
#![feature(asm_sym)]

std::arch::global_asm!(include_str!("caller.S"), options(att_syntax));

extern {
fn trampoline(a: i32, b: i32) -> i32;
}

#[no_mangle]
pub extern fn you(a: i32, b: i32) -> i32 {
a + b
}

pub extern fn mangled(a: i32, b: i32) -> i32 {
a + b
}

fn main() {
println!("trampoline(1, 2) = {}", unsafe { trampoline(1, 2) });
let s: i32;
unsafe {
std::arch::asm!(
r#"movl {a:e}, %edi;
movl {b:e}, %esi;
call {mangled};
movl %eax, {s:e}"#,
a = in(reg) 1, b = in(reg) 2, s = out(reg) s,
mangled = sym mangled, options(att_syntax));
}
println!("a = {}", s);
} : spitfire; cargo +nightly run
Finished dev [unoptimized + debuginfo] target(s) in 0.00s
Running `target/debug/demo2`
trampoline(1, 2) = 3
a = 3
: spitfire;

Note the inline assembler snippet showing that I can, in fact,
work with mangled symbols. Inspection of the generated object
file shows this to be true:

---BEGIN SNIPPET---
let s: i32;
unsafe {
std::arch::asm!(
487042: 89 cf mov %ecx,%edi
487044: 89 d6 mov %edx,%esi
487046: e8 35 ff ff ff call 486f80 <_ZN5demo27mangled17h46416679b8830bf3E>
48704b: 89 c0 mov %eax,%eax
48704d: 89 45 bc mov %eax,-0x44(%rbp)
call {mangled};
movl %eax, {s:e}"#,
a = in(reg) 1, b = in(reg) 2, s = out(reg) s,
mangled = sym mangled, options(att_syntax));
}
println!("a = {}", s);
---END SNIPPET---

If I dump that same snippet with name demangling, one sees
something intelligible:

---BEGIN SNIPPET---
let s: i32;
unsafe {
std::arch::asm!(
487042: 89 cf mov %ecx,%edi
487044: 89 d6 mov %edx,%esi
487046: e8 35 ff ff ff call 486f80 <demo2::mangled>
48704b: 89 c0 mov %eax,%eax
48704d: 89 45 bc mov %eax,-0x44(%rbp)
call {mangled};
movl %eax, {s:e}"#,
a = in(reg) 1, b = in(reg) 2, s = out(reg) s,
mangled = sym mangled, options(att_syntax));
}
println!("a = {}", s);
---END SNIPPET---

There is not a single line of C in this example.

Of course, all of this works because the name mangling algorithm
is well-specified.

- Dan C.

Re: Viable versus ideal programming languages

<623dc61c$0$702$14726298@news.sunsite.dk>

  copy mid

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

  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, 25 Mar 2022 09:39:38 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Viable versus ideal programming languages
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t0iq6h$mna$1@dont-email.me> <t1fsvh$crs$1@reader1.panix.com>
<t1hqgd$c77$1@dont-email.me> <623cb7a5$0$694$14726298@news.sunsite.dk>
<t1kfbc$1vf$1@reader1.panix.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t1kfbc$1vf$1@reader1.panix.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 82
Message-ID: <623dc61c$0$702$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 8c361579.news.sunsite.dk
X-Trace: 1648215580 news.sunsite.dk 702 arne@vajhoej.dk/68.9.63.232:54224
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 25 Mar 2022 13:39 UTC

On 3/25/2022 9:16 AM, Dan Cross wrote:
> In article <623cb7a5$0$694$14726298@news.sunsite.dk>,
> Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 3/24/2022 9:08 AM, Simon Clubley wrote:
>>> On 2022-03-23, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>>>> In article <t1fpab$v69$1@dont-email.me>,
>>>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>>>> It seems that everyone falls back to C interface mode when trying
>>>>> to export functions for use by another language. A quick look around
>>>>> seems to show that Rust does the same.
>>>>
>>>> I suppose that if one's definition of a well-defined ABI is what
>>>> you are calling a "C interface mode" that's true, but most ABIs
>>>> are language-independent.
>>>
>>> It's at this point that I mention many languages directly call this a
>>> C interface mode, including in the syntax that they provide to achieve
>>> this... :-)
>>
>> True.
>>
>> But it really isn't a C thing - it is a calling convention thing.
>>
>> If we take Rust as an example then you can use:
>
> Here's a small example in Rust of calling into assembler:

> Here's an example of assembler calling into Rust, including
> calling via a mangled name:

> .text
> .globl trampoline, you
> trampoline:
> JMP you
> UD2

> #[no_mangle]
> pub extern fn you(a: i32, b: i32) -> i32 {
> a + b
> }
>
> pub extern fn mangled(a: i32, b: i32) -> i32 {
> a + b
> }

> fn main() {
> println!("trampoline(1, 2) = {}", unsafe { trampoline(1, 2) });
> let s: i32;
> unsafe {
> std::arch::asm!(
> r#"movl {a:e}, %edi;
> movl {b:e}, %esi;
> call {mangled};
> movl %eax, {s:e}"#,
> a = in(reg) 1, b = in(reg) 2, s = out(reg) s,
> mangled = sym mangled, options(att_syntax));
> }
> println!("a = {}", s);
> }

> Note the inline assembler snippet showing that I can, in fact,
> work with mangled symbols. Inspection of the generated object
> file shows this to be true:

> If I dump that same snippet with name demangling, one sees
> something intelligible:

> 487046: e8 35 ff ff ff call 486f80 <demo2::mangled>

> There is not a single line of C in this example.
>
> Of course, all of this works because the name mangling algorithm
> is well-specified.

If I read that code correctly then it works because the
std::arch::asm ... mangled = sym mangled knows what to do.

Which is not general language interop.

Arne

Re: Viable versus ideal programming languages

<t1khcr$lbu$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Viable versus ideal programming languages
Date: Fri, 25 Mar 2022 13:51:23 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t1khcr$lbu$1@reader1.panix.com>
References: <t0iq6h$mna$1@dont-email.me> <623cb7a5$0$694$14726298@news.sunsite.dk> <t1kfbc$1vf$1@reader1.panix.com> <623dc61c$0$702$14726298@news.sunsite.dk>
Injection-Date: Fri, 25 Mar 2022 13:51:23 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="21886"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Fri, 25 Mar 2022 13:51 UTC

In article <623dc61c$0$702$14726298@news.sunsite.dk>,
Arne Vajhøj <arne@vajhoej.dk> wrote:
>On 3/25/2022 9:16 AM, Dan Cross wrote:
>[snip]
>> Of course, all of this works because the name mangling algorithm
>> is well-specified.
>
>If I read that code correctly then it works because the
>std::arch::asm ... mangled = sym mangled knows what to do.
>
>Which is not general language interop.

It "knows what to do" because the name mangling algorithm is
well-specified by a generic ABI, which is the point:

https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling

Rust provides a convenient mechanism to make this trivial.

- Dan C.

Pages:12345
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor