Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Everything should be made as simple as possible, but not simpler. -- Albert Einstein


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: Programming languages, was: Re: VMS documentation

<t12onb$d9l$1@dont-email.me>

  copy mid

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

  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: Programming languages, was: Re: VMS documentation
Date: Fri, 18 Mar 2022 20:06:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <t12onb$d9l$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> <t0uf9u$ch0$2@dont-email.me> <t10143$dh4$2@dont-email.me> <t105dt$1luf$1@gioia.aioe.org> <t12lf7$7g0$2@dont-email.me> <d001d2a4-e008-4f6a-8a62-7d2c11c789e6n@googlegroups.com>
Injection-Date: Fri, 18 Mar 2022 20:06:03 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="667a10a132367ed633e3b6f6e9fe6b20";
logging-data="13621"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WHQrTwFElHH9sSt++EqjBtNO57LW7KxY="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:28reMLN3I0ZB3lm5YdcatE9Sx1g=
 by: Simon Clubley - Fri, 18 Mar 2022 20:06 UTC

On 2022-03-18, abrsvc <dansabrservices@yahoo.com> wrote:
>
>> And if they only know Fortran, that's all they can do.
>> Simon.
>>
> Horse crap!!
>
> I started with an assembly language for the 6502 and the first "real" programming language was FORTRAN.
> Since then, I have successfully coded in many languages (last count 15+). Don't generalize.
>
> I also disagree that the language makes the programmer. Programming is a way of thinking and logical progression of steps. Yes these steps may happen in parallel, but fundamentally, programming is just a way to state steps in solving a problem.
>
> I think that it is much more valuable to learn how to think and break down problems into steps rather than to be an expert in the syntax of a language. You can easily look up the syntax on how to accomplish what you need to accomplish. It is much harder to "fit" an elegant technique to a problem just for the sake of using that technique. And yes, I have seen programmers "find a way" to use a feature of a language even though it was not the right way to get the job done.

And you have just made the same mistake that way too many people make Dan.

Learning a programming language is not about learning the syntax, it
is about learning the idioms of that language and _why_ those idioms
exist.

For one very specific example, you can write C style code using Ada
syntax (for example, by making everything an Integer, etc), but it
isn't until someone shows you the Ada way of doing things, and tells
you _why_ the Ada way of doing things exists, that you really start
to write more robust code using techniques that you can then use in
all your programs from now on.

That's why Pascal and other languages were created - to expose students
to concepts and techniques that they may otherwise have not have been
exposed to. So yes, the language the student uses to learn those concepts
really does make a major difference.

BTW, for another really simple example more people here might be aware of,
how many people still use the unchecked array access syntax in C++ because
that's what they are used to elsewhere, instead of having had it drummed
into them during teaching to use the checked access syntax instead when
they are writing important code (and ideally in all the code they write) ?

You can write valid C++ programs using the unchecked syntax, but more
errors will be detected in your code if you use the checked syntax instead.
So no, once again, it's not just about learning some new syntax.

Simon.

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

Re: Programming languages, was: Re: VMS documentation

<t139l6$6im$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.46.20.243.28!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Programming languages, was: Re: VMS documentation
Date: Sat, 19 Mar 2022 01:55:01 +0100
Organization: MGT Consulting
Message-ID: <t139l6$6im$1@news.misty.com>
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>
<t0uf9u$ch0$2@dont-email.me> <t10143$dh4$2@dont-email.me>
<t105dt$1luf$1@gioia.aioe.org> <t12lf7$7g0$2@dont-email.me>
<d001d2a4-e008-4f6a-8a62-7d2c11c789e6n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 19 Mar 2022 00:55:02 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="46.20.243.28";
logging-data="6742"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <d001d2a4-e008-4f6a-8a62-7d2c11c789e6n@googlegroups.com>
 by: Johnny Billquist - Sat, 19 Mar 2022 00:55 UTC

On 2022-03-18 20:38, abrsvc wrote:
>
>> And if they only know Fortran, that's all they can do.
>> Simon.
>>
> Horse crap!!

I sortof agree with that. Just because you've only seen one language or
another does not mean you cannot figure other things out, or do things
in many different ways.

> I started with an assembly language for the 6502 and the first "real" programming language was FORTRAN.
> Since then, I have successfully coded in many languages (last count 15+). Don't generalize.

Definitely. One should never generalize.

> I also disagree that the language makes the programmer. Programming is a way of thinking and logical progression of steps. Yes these steps may happen in parallel, but fundamentally, programming is just a way to state steps in solving a problem.

Now, sadly, here is where you actually prove Simon right. But again, we
should not generalize. Just because you don't know does not mean others
cannot know or figure it out.

And actually, no, programming isn't necessarily what you describe. That
is one paradigm, and the most common one. But it's not the only one. And
for some kind of problems, you can gain a lot by not approaching a
problem that way.

My prime example is Prolog. Which is a programming language you would
probably struggle a lot with, because you do not describe a program as a
logical progression of steps. You instead describe things in the form of
associations or relations, and then you let the language find the
solution to your stated problem.

Which of course can then happen in many different ways, giving different
answers, and in different orders.

It's a very interesting language, and I know lots of people have
problems figuring out how to use it. But once you do, some things
suddenly become very easy, but different.

Languages like Lisp or Haskell or whatever, is also not really as step
wise as you think either.

You've basically been working in just one corner of programming, and
haven't even seen/realized that there are other ways.

> I think that it is much more valuable to learn how to think and break down problems into steps rather than to be an expert in the syntax of a language. You can easily look up the syntax on how to accomplish what you need to accomplish. It is much harder to "fit" an elegant technique to a problem just for the sake of using that technique. And yes, I have seen programmers "find a way" to use a feature of a language even though it was not the right way to get the job done.

Syntax is just a detail. You can look that up in any manual. And yes, if
you've figured out imperative language concepts, they are all pretty
much the same. Some have some feature or capability making solving some
problem a bit easier than others, but there is no significant difference.

But that's not the whole world...

Johnny

Re: Programming languages, was: Re: VMS documentation

<t13ipe$f5c$1@dont-email.me>

  copy mid

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

  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: Programming languages, was: Re: VMS documentation
Date: Fri, 18 Mar 2022 23:30:42 -0400
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <t13ipe$f5c$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>
<t0uf9u$ch0$2@dont-email.me> <t10143$dh4$2@dont-email.me>
<t105dt$1luf$1@gioia.aioe.org> <t12lf7$7g0$2@dont-email.me>
<d001d2a4-e008-4f6a-8a62-7d2c11c789e6n@googlegroups.com>
<t139l6$6im$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 19 Mar 2022 03:30:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="08813d275085a280351f384f39623963";
logging-data="15532"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QrQI5Dm1boJymPL03cYYePb6xVXS686o="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:CbvgcnK4M2OoFzQiKZTusyDvhCw=
In-Reply-To: <t139l6$6im$1@news.misty.com>
 by: Dave Froble - Sat, 19 Mar 2022 03:30 UTC

On 3/18/2022 8:55 PM, Johnny Billquist wrote:

> Now, sadly, here is where you actually prove Simon right.

Yes, quite sad ...

:-)

--
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: Programming languages, was: Re: VMS documentation

<3100a1fd-9683-46cb-bf78-7b341598bac0n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:244f:b0:67d:ccec:3eaa with SMTP id h15-20020a05620a244f00b0067dccec3eaamr8235164qkn.744.1647692959106;
Sat, 19 Mar 2022 05:29:19 -0700 (PDT)
X-Received: by 2002:ad4:5b88:0:b0:441:5b5:e78e with SMTP id
8-20020ad45b88000000b0044105b5e78emr3953490qvp.14.1647692958961; Sat, 19 Mar
2022 05:29:18 -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, 19 Mar 2022 05:29:18 -0700 (PDT)
In-Reply-To: <t13ipe$f5c$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
References: <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>
<t0uf9u$ch0$2@dont-email.me> <t10143$dh4$2@dont-email.me> <t105dt$1luf$1@gioia.aioe.org>
<t12lf7$7g0$2@dont-email.me> <d001d2a4-e008-4f6a-8a62-7d2c11c789e6n@googlegroups.com>
<t139l6$6im$1@news.misty.com> <t13ipe$f5c$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3100a1fd-9683-46cb-bf78-7b341598bac0n@googlegroups.com>
Subject: Re: Programming languages, was: Re: VMS documentation
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Sat, 19 Mar 2022 12:29:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: abrsvc - Sat, 19 Mar 2022 12:29 UTC

On Friday, March 18, 2022 at 11:30:57 PM UTC-4, Dave Froble wrote:
> On 3/18/2022 8:55 PM, Johnny Billquist wrote:
>
> > Now, sadly, here is where you actually prove Simon right.
> Yes, quite sad ...
>
> :-)
> --
> David Froble Tel: 724-529-0450
> Dave Froble Enterprises, Inc. E-Mail: da...@tsoft-inc.com
> DFE Ultralights, Inc.
> 170 Grimplin Road
> Vanderbilt, PA 15486

Johnny had it correct. I over generalized after telling Simon no to do just that. Logical steps can and often are comprised of relationships. I did not intend to mean just singular statement steps although that fits as well. Steps can include object creation and use as well as the relationships of those objects. The point I was trying to make (and somewhat failed...) is that syntax is not the key here. AS others have stated, you can look up the specific syntax, but you cannot look up how to think.

Re: Programming languages, was: Re: VMS documentation

<6235f4fc$0$702$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sat, 19 Mar 2022 11:21:26 -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: Programming languages, was: Re: VMS documentation
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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <6233caf5$0$697$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 41
Message-ID: <6235f4fc$0$702$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 92a44b25.news.sunsite.dk
X-Trace: 1647703292 news.sunsite.dk 702 arne@vajhoej.dk/68.9.63.232:62663
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 19 Mar 2022 15:21 UTC

On 3/17/2022 7:57 PM, Arne Vajhøj wrote:
> On 3/16/2022 8:55 PM, Simon Clubley wrote:
>> On 2022-03-16, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 3/16/2022 8:09 PM, Dave Froble wrote:
>>>> On 3/16/2022 7:53 PM, Arne Vajhøj wrote:
>>>>> I think it would have been difficult to find a language easier to
>>>>> learn
>>>>> than Pascal.
>>>>
>>>> Basic on the various DEC systems.
>>>
>>> Wirth, Dijkstra etc. did not like Basic.
>>>
>>> But yes - Basic is also an easy language to learn.
>>
>> Easy to learn but it doesn't mean you are teaching students the right
>> things for when they need to start writing production code. :-)
>
> Teaching something that is easy to learn and teaching something
> that is "right" to learn are two different goals.

And both has changed since Wirth's and Dijkstra's time.

New languages that are easy to learn has been introduced.

And the classic strong static typed structured procedural approach as
the right one has been supplemented by many other approaches.

One reason being that few today believe in same approach to
all types of production code.

I don't think the two gentlemen would like JavaScript, Python,
PHP, R etc. but the fact is that those languages thrive today.

Maybe not in code that controls an airplane with 300 passengers,
but there are plenty of other areas.

Arne

Re: Programming languages, was: Re: VMS documentation

<00B71F0A.314241B1@SendSpamHere.ORG>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Programming languages, was: Re: VMS documentation
Date: Sat, 19 Mar 2022 16:08:57 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B71F0A.314241B1@SendSpamHere.ORG>
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>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="52815"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sat, 19 Mar 2022 16:08 UTC

In article <6235f4fc$0$702$14726298@news.sunsite.dk>, =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> writes:
>On 3/17/2022 7:57 PM, Arne Vajhøj wrote:
>> On 3/16/2022 8:55 PM, Simon Clubley wrote:
>>> On 2022-03-16, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>> On 3/16/2022 8:09 PM, Dave Froble wrote:
>>>>> On 3/16/2022 7:53 PM, Arne Vajhøj wrote:
>>>>>> I think it would have been difficult to find a language easier to
>>>>>> learn
>>>>>> than Pascal.
>>>>>
>>>>> Basic on the various DEC systems.
>>>>
>>>> Wirth, Dijkstra etc. did not like Basic.
>>>>
>>>> But yes - Basic is also an easy language to learn.
>>>
>>> Easy to learn but it doesn't mean you are teaching students the right
>>> things for when they need to start writing production code. :-)
>>
>> Teaching something that is easy to learn and teaching something
>> that is "right" to learn are two different goals.
>
>And both has changed since Wirth's and Dijkstra's time.
>
>New languages that are easy to learn has been introduced.
>
>And the classic strong static typed structured procedural approach as
>the right one has been supplemented by many other approaches.
>
>One reason being that few today believe in same approach to
>all types of production code.
>
>I don't think the two gentlemen would like JavaScript, Python,
>PHP, R etc. but the fact is that those languages thrive today.
>
>Maybe not in code that controls an airplane with 300 passengers,
>but there are plenty of other areas.

Cockpit display:

+--------------------------------------------+
| Engine number 3 has shutdown unexpectedly! |
| |
| Press [Control][Alt][Delete] to restart! |
+--------------------------------------------+

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

I speak to machines with the voice of humanity.

Re: Programming languages, was: Re: VMS documentation

<511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:5de5:0:b0:441:50e:ce56 with SMTP id jn5-20020ad45de5000000b00441050ece56mr4655131qvb.128.1647707213051;
Sat, 19 Mar 2022 09:26:53 -0700 (PDT)
X-Received: by 2002:ad4:5c6e:0:b0:440:e119:617d with SMTP id
i14-20020ad45c6e000000b00440e119617dmr10691806qvh.48.1647707212897; Sat, 19
Mar 2022 09:26:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 19 Mar 2022 09:26:52 -0700 (PDT)
In-Reply-To: <6235f4fc$0$702$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>
Subject: Re: Programming languages, was: Re: VMS documentation
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Sat, 19 Mar 2022 16:26:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 46
 by: abrsvc - Sat, 19 Mar 2022 16:26 UTC

On Saturday, March 19, 2022 at 11:21:35 AM UTC-4, Arne Vajhøj wrote:
> On 3/17/2022 7:57 PM, Arne Vajhøj wrote:
> > On 3/16/2022 8:55 PM, Simon Clubley wrote:
> >> On 2022-03-16, Arne Vajhøj <ar...@vajhoej.dk> wrote:
> >>> On 3/16/2022 8:09 PM, Dave Froble wrote:
> >>>> On 3/16/2022 7:53 PM, Arne Vajhøj wrote:
> >>>>> I think it would have been difficult to find a language easier to
> >>>>> learn
> >>>>> than Pascal.
> >>>>
> >>>> Basic on the various DEC systems.
> >>>
> >>> Wirth, Dijkstra etc. did not like Basic.
> >>>
> >>> But yes - Basic is also an easy language to learn.
> >>
> >> Easy to learn but it doesn't mean you are teaching students the right
> >> things for when they need to start writing production code. :-)
> >
> > Teaching something that is easy to learn and teaching something
> > that is "right" to learn are two different goals.
> And both has changed since Wirth's and Dijkstra's time.
>
> New languages that are easy to learn has been introduced.
>
> And the classic strong static typed structured procedural approach as
> the right one has been supplemented by many other approaches.
>
> One reason being that few today believe in same approach to
> all types of production code.
>
> I don't think the two gentlemen would like JavaScript, Python,
> PHP, R etc. but the fact is that those languages thrive today.
>
> Maybe not in code that controls an airplane with 300 passengers,
> but there are plenty of other areas.
>
> Arne

I have used some of the mentioned languages for some projects with success. I suppose that the point I am making too is that the correct languages should also fit the problem. Using JAVA for example to solve numerical problems makes no sense. FORTRAN is ideal for such things. (I know, Simon will say that C is too...). Just because a language is new and is all the rage, does not mean that it is the right choice.

Re: Programming languages, was: Re: VMS documentation

<623620fc$0$701$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sat, 19 Mar 2022 14:29:15 -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: Programming languages, was: Re: VMS documentation
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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <511e9678-f2c6-4948-beb5-aa08073c35dfn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 65
Message-ID: <623620fc$0$701$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: eda086b3.news.sunsite.dk
X-Trace: 1647714556 news.sunsite.dk 701 arne@vajhoej.dk/68.9.63.232:54804
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 19 Mar 2022 18:29 UTC

On 3/19/2022 12:26 PM, abrsvc wrote:
> On Saturday, March 19, 2022 at 11:21:35 AM UTC-4, Arne Vajhøj wrote:
>> On 3/17/2022 7:57 PM, Arne Vajhøj wrote:
>>> On 3/16/2022 8:55 PM, Simon Clubley wrote:
>>>> On 2022-03-16, Arne Vajhøj <ar...@vajhoej.dk> wrote:
>>>>> On 3/16/2022 8:09 PM, Dave Froble wrote:
>>>>>> On 3/16/2022 7:53 PM, Arne Vajhøj wrote:
>>>>>>> I think it would have been difficult to find a language easier to
>>>>>>> learn
>>>>>>> than Pascal.
>>>>>>
>>>>>> Basic on the various DEC systems.
>>>>>
>>>>> Wirth, Dijkstra etc. did not like Basic.
>>>>>
>>>>> But yes - Basic is also an easy language to learn.
>>>>
>>>> Easy to learn but it doesn't mean you are teaching students the right
>>>> things for when they need to start writing production code. :-)
>>>
>>> Teaching something that is easy to learn and teaching something
>>> that is "right" to learn are two different goals.
>> And both has changed since Wirth's and Dijkstra's time.
>>
>> New languages that are easy to learn has been introduced.
>>
>> And the classic strong static typed structured procedural approach as
>> the right one has been supplemented by many other approaches.
>>
>> One reason being that few today believe in same approach to
>> all types of production code.
>>
>> I don't think the two gentlemen would like JavaScript, Python,
>> PHP, R etc. but the fact is that those languages thrive today.
>>
>> Maybe not in code that controls an airplane with 300 passengers,
>> but there are plenty of other areas.
>
> I have used some of the mentioned languages for some projects with
> success. I suppose that the point I am making too is that the
> correct languages should also fit the problem.

It is always good to pick the right language for the problem.

> Using JAVA for
> example to solve numerical problems makes no sense. FORTRAN is ideal
> for such things. (I know, Simon will say that C is too...).

Fortran is good at the numerical stuff. And newer language versions
are also way more modern than traditional 66 or 77.

There are some numerical work done in Java and there are numerical
libraries available. But it is definitely third tier in that domain.
I would prefer Kotlin over Java if I had to do numerical stuff in JVM.

> Just
> because a language is new and is all the rage, does not mean that it
> is the right choice.
Most new languages are fine for what they are intended for.

But the above 4 are not exactly new: JavaScript - 1995, Python - 1991,
PHP - 1995, R - 1993.

Arne

Re: Programming languages, was: Re: VMS documentation

<t15d4l$51r$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Programming languages, was: Re: VMS documentation
Date: Sat, 19 Mar 2022 20:06:44 +0000
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <t15d4l$51r$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>
<623620fc$0$701$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 19 Mar 2022 20:06:45 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="59868638a55ebbe3de829214c36d8e28";
logging-data="5179"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19I/keypedqRrnPV+gaCloaEu/P8NtqISs="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:0A/RCiakaL+SU3nGmlXmZuDvTN0=
In-Reply-To: <623620fc$0$701$14726298@news.sunsite.dk>
Content-Language: en-GB
 by: Chris Townley - Sat, 19 Mar 2022 20:06 UTC

On 19/03/2022 18:29, Arne Vajhøj wrote:
> But the above 4 are not exactly new: JavaScript - 1995, Python - 1991,
> PHP - 1995, R - 1993.
>
> Arne
>
or Monty Python - 1969 :)

--
Chris

Re: Programming languages, was: Re: VMS documentation

<t17eni$9ss$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.77-58-244-139.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Programming languages, was: Re: VMS documentation
Date: Sun, 20 Mar 2022 15:46:09 +0100
Organization: MGT Consulting
Message-ID: <t17eni$9ss$1@news.misty.com>
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>
<t0uf9u$ch0$2@dont-email.me> <t10143$dh4$2@dont-email.me>
<t105dt$1luf$1@gioia.aioe.org> <t12lf7$7g0$2@dont-email.me>
<d001d2a4-e008-4f6a-8a62-7d2c11c789e6n@googlegroups.com>
<t139l6$6im$1@news.misty.com> <t13ipe$f5c$1@dont-email.me>
<3100a1fd-9683-46cb-bf78-7b341598bac0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 20 Mar 2022 14:46:10 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="77-58-244-139.dclient.hispeed.ch:77.58.244.139";
logging-data="10140"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <3100a1fd-9683-46cb-bf78-7b341598bac0n@googlegroups.com>
 by: Johnny Billquist - Sun, 20 Mar 2022 14:46 UTC

On 2022-03-19 13:29, abrsvc wrote:
> On Friday, March 18, 2022 at 11:30:57 PM UTC-4, Dave Froble wrote:
>> On 3/18/2022 8:55 PM, Johnny Billquist wrote:
>>
>>> Now, sadly, here is where you actually prove Simon right.
>> Yes, quite sad ...
>>
>> :-)
>> --
>> David Froble Tel: 724-529-0450
>> Dave Froble Enterprises, Inc. E-Mail: da...@tsoft-inc.com
>> DFE Ultralights, Inc.
>> 170 Grimplin Road
>> Vanderbilt, PA 15486
>
> Johnny had it correct. I over generalized after telling Simon no to do just that. Logical steps can and often are comprised of relationships. I did not intend to mean just singular statement steps although that fits as well. Steps can include object creation and use as well as the relationships of those objects. The point I was trying to make (and somewhat failed...) is that syntax is not the key here. AS others have stated, you can look up the specific syntax, but you cannot look up how to think.

Thanks for being open about criticism.
But you really should look at Prolog. It's not doing steps even in that
more freer form you are trying to fall back to.
In the end, yes, any current Prolog will be doing steps under the hood,
since it is after all running on a traditional computer. But the
language itself is not meaningful to look at as a sequence of steps to
be performed. And yes, any program is inherently parallel.

It's a very interesting language, and one that is very useful for some
kind of problems, but horrible for others... But it's also a language a
lot of people struggle a lot to understand.

Johnny

Viable versus ideal programming languages

<t1ah59$khr$1@dont-email.me>

  copy mid

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

  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: Viable versus ideal programming languages
Date: Mon, 21 Mar 2022 18:46:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <t1ah59$khr$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>
Injection-Date: Mon, 21 Mar 2022 18:46:01 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d04de412a5769fcc3135c6e367b295f5";
logging-data="21051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xRcmoZHW6Q3MudhH6tXI28kEwzNMCwV0="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:ROv4qLbUEnTPTS2WLw9LdNwuyFQ=
 by: Simon Clubley - Mon, 21 Mar 2022 18:46 UTC

On 2022-03-19, abrsvc <dansabrservices@yahoo.com> wrote:
>
> I have used some of the mentioned languages for some projects with success. I suppose that the point I am making too is that the correct languages should also fit the problem. Using JAVA for example to solve numerical problems makes no sense. FORTRAN is ideal for such things. (I know, Simon will say that C is too...). Just because a language is new and is all the rage, does not mean that it is the right choice.

Actually Dan, no, I most certainly would _not_ say that.

I would say that C is a _viable_ programming language in that case,
but I would not say that it is an _ideal_ programming language.

You may end up using something that is viable but is not your preferred
language. This could be due to language availability across multiple
environments, the ability of the language to be easily called from
other languages, etc.

This is especially important when you are writing library code for
example. Consider that I can write a portable library in C, and I can
then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
the library is small enough.

I can then easily call that C library from a wide range of languages
running on those multiple operating systems and environments. The language
also allows me to create code that runs both in kernel mode and user mode.

Name one other programming language that allows me to do all that.

So, yes, I do think C is the most viable language in a wide range of areas,
(and it's way better than Macro-32/Bliss), but I do not consider it to be
the _ideal_ language in those areas. I believe I have expressed my
language preferences enough times in this area. :-)

(And I still think it's a pity that Pillar never got established as
an alternative to C).

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

<6238ce01$0$694$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 21 Mar 2022 15:11:57 -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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t1ah59$khr$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 38
Message-ID: <6238ce01$0$694$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 0184be2a.news.sunsite.dk
X-Trace: 1647889922 news.sunsite.dk 694 arne@vajhoej.dk/68.9.63.232:61309
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 21 Mar 2022 19:11 UTC

On 3/21/2022 2:46 PM, Simon Clubley wrote:
> On 2022-03-19, abrsvc <dansabrservices@yahoo.com> wrote:
>> I have used some of the mentioned languages for some projects with
>> success. I suppose that the point I am making too is that the
>> correct languages should also fit the problem. Using JAVA for
>> example to solve numerical problems makes no sense. FORTRAN is
>> ideal for such things. (I know, Simon will say that C is too...).
>> Just because a language is new and is all the rage, does not mean
>> that it is the right choice. >
> Actually Dan, no, I most certainly would _not_ say that.
>
> I would say that C is a _viable_ programming language in that case,
> but I would not say that it is an _ideal_ programming language.
>
> You may end up using something that is viable but is not your preferred
> language. This could be due to language availability across multiple
> environments, the ability of the language to be easily called from
> other languages, etc.
>
> This is especially important when you are writing library code for
> example. Consider that I can write a portable library in C, and I can
> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
> the library is small enough.
>
> I can then easily call that C library from a wide range of languages
> running on those multiple operating systems and environments. The language
> also allows me to create code that runs both in kernel mode and user mode.
>
> Name one other programming language that allows me to do all that.

C compilers are available on most platforms.

But how many percent of C programs are written so that they
are actually guaranteed to work with all ISO compliant C compilers?

Arne

Re: Viable versus ideal programming languages

<t1ajhu$q39$1@dont-email.me>

  copy mid

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

  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: Mon, 21 Mar 2022 19:26:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <t1ajhu$q39$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>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 21 Mar 2022 19:26:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d04de412a5769fcc3135c6e367b295f5";
logging-data="26729"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FZB+jgFRV6YMNZ08XryPXOVUubSar8Nc="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:y3HPlQfTffAlFsb17yfd0fZgkzw=
 by: Simon Clubley - Mon, 21 Mar 2022 19:26 UTC

On 2022-03-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 3/21/2022 2:46 PM, Simon Clubley wrote:
>>
>> I would say that C is a _viable_ programming language in that case,
>> but I would not say that it is an _ideal_ programming language.
>>
>> You may end up using something that is viable but is not your preferred
>> language. This could be due to language availability across multiple
>> environments, the ability of the language to be easily called from
>> other languages, etc.
>>
>> This is especially important when you are writing library code for
>> example. Consider that I can write a portable library in C, and I can
>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>> the library is small enough.
>>
>> I can then easily call that C library from a wide range of languages
>> running on those multiple operating systems and environments. The language
>> also allows me to create code that runs both in kernel mode and user mode.
>>
>> Name one other programming language that allows me to do all that.
>
> C compilers are available on most platforms.
>

I would be interested in knowing about a platform they are not
available on. You can even get them for GPUs...

> But how many percent of C programs are written so that they
> are actually guaranteed to work with all ISO compliant C compilers?
>

The point is that you have the option to write to those standards
and run your code everywhere you might want to.

And just for the record, I _really_ wish C was not the only language
I could say that about...

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

<j9s625Fl0f1U1@mid.individual.net>

  copy mid

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

  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: Mon, 21 Mar 2022 16:38:28 -0400
Lines: 62
Message-ID: <j9s625Fl0f1U1@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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net xOMQYTVebSBSvzk3+L44zgfP4z25HkC/3Yn5DVsz4ECkNYCgi3
Cancel-Lock: sha1:K8FRInwLeJJqnxbQSgugkl/XaFE=
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: <t1ah59$khr$1@dont-email.me>
 by: Bill Gunshannon - Mon, 21 Mar 2022 20:38 UTC

On 3/21/22 14:46, Simon Clubley wrote:
> On 2022-03-19, abrsvc <dansabrservices@yahoo.com> wrote:
>>
>> I have used some of the mentioned languages for some projects with success. I suppose that the point I am making too is that the correct languages should also fit the problem. Using JAVA for example to solve numerical problems makes no sense. FORTRAN is ideal for such things. (I know, Simon will say that C is too...). Just because a language is new and is all the rage, does not mean that it is the right choice.
>
> Actually Dan, no, I most certainly would _not_ say that.
>
> I would say that C is a _viable_ programming language in that case,
> but I would not say that it is an _ideal_ programming language.
>
> You may end up using something that is viable but is not your preferred
> language. This could be due to language availability across multiple
> environments, the ability of the language to be easily called from
> other languages, etc.
>
> This is especially important when you are writing library code for
> example. Consider that I can write a portable library in C, and I can
> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
> the library is small enough.
>
> I can then easily call that C library from a wide range of languages
> running on those multiple operating systems and environments. The language
> also allows me to create code that runs both in kernel mode and user mode.
>
> Name one other programming language that allows me to do all that.

What does any of that have to do with the language? The specific
compiler maybe, but not necessarily the language. I could see
not doing it in COBOL and probably LISP but otherwise, most languages
can do what you want.

Many programs, right down to the OS itself, on Primos were written
in a number of languages all linked together successfully.

Library-wise, The NAG Mathematical Library was written in Fortran
and I saw it linked to a number of other languages. The low level
languages offered on Primos could link to any other language they
offered (and there were a bunch!) I used the same library to do
an Editor in Fortran, a DNS clone for the Sytek Broadband Network
in Pascal. I saw it used in COBOL to provide Curses-like functions
before they became part of the standard. And even C for some
low level Primos stuff (And Prime had the weirdest C compiler
you are ever likely to see). Languages have little to do with
stuff like this, It is more the mindset of the developer.

>
> So, yes, I do think C is the most viable language in a wide range of areas,
> (and it's way better than Macro-32/Bliss), but I do not consider it to be
> the _ideal_ language in those areas. I believe I have expressed my
> language preferences enough times in this area. :-)
>
> (And I still think it's a pity that Pillar never got established as
> an alternative to C).

Maybe we need to bring back MP/M.... Simple enough that it could
be done on every machine I can think of. Powerful enough to do
the tasks you are talking about. Low-level enough to even do the
hardware stuff usually relegated to C. :-)

bill

Re: Viable versus ideal programming languages

<6239184b$0$699$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 21 Mar 2022 20:28:56 -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> <6238ce01$0$694$14726298@news.sunsite.dk>
<t1ajhu$q39$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t1ajhu$q39$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 44
Message-ID: <6239184b$0$699$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b6fb424c.news.sunsite.dk
X-Trace: 1647908939 news.sunsite.dk 699 arne@vajhoej.dk/68.9.63.232:55715
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 22 Mar 2022 00:28 UTC

On 3/21/2022 3:26 PM, Simon Clubley wrote:
> On 2022-03-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 3/21/2022 2:46 PM, Simon Clubley wrote:
>>>
>>> I would say that C is a _viable_ programming language in that case,
>>> but I would not say that it is an _ideal_ programming language.
>>>
>>> You may end up using something that is viable but is not your preferred
>>> language. This could be due to language availability across multiple
>>> environments, the ability of the language to be easily called from
>>> other languages, etc.
>>>
>>> This is especially important when you are writing library code for
>>> example. Consider that I can write a portable library in C, and I can
>>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>>> the library is small enough.
>>>
>>> I can then easily call that C library from a wide range of languages
>>> running on those multiple operating systems and environments. The language
>>> also allows me to create code that runs both in kernel mode and user mode.
>>>
>>> Name one other programming language that allows me to do all that.
>>
>> C compilers are available on most platforms.
>
> I would be interested in knowing about a platform they are not
> available on. You can even get them for GPUs...

I don't know any.

But if any then I would expect it to be either very old platforms
from before C or very tiny platforms only supporting assembler.

>> But how many percent of C programs are written so that they
>> are actually guaranteed to work with all ISO compliant C compilers?
>
> The point is that you have the option to write to those standards
> and run your code everywhere you might want to.

They could but they don't.

Arne

Re: Viable versus ideal programming languages

<j9so04Fo6omU1@mid.individual.net>

  copy mid

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

  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: Mon, 21 Mar 2022 21:44:36 -0400
Lines: 45
Message-ID: <j9so04Fo6omU1@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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net A4o0Cpbk7Qw1bLayuwjicgFsoBp4LMDN2oM6Zbjr9y4jHFB1u+
Cancel-Lock: sha1:kymoOwfTpWOXMv4+WaNoGDcTpCM=
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: <6239184b$0$699$14726298@news.sunsite.dk>
 by: Bill Gunshannon - Tue, 22 Mar 2022 01:44 UTC

On 3/21/22 20:28, Arne Vajhøj wrote:
> On 3/21/2022 3:26 PM, Simon Clubley wrote:
>> On 2022-03-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 3/21/2022 2:46 PM, Simon Clubley wrote:
>>>>
>>>> I would say that C is a _viable_ programming language in that case,
>>>> but I would not say that it is an _ideal_ programming language.
>>>>
>>>> You may end up using something that is viable but is not your preferred
>>>> language. This could be due to language availability across multiple
>>>> environments, the ability of the language to be easily called from
>>>> other languages, etc.
>>>>
>>>> This is especially important when you are writing library code for
>>>> example. Consider that I can write a portable library in C, and I can
>>>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>>>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>>>> the library is small enough.
>>>>
>>>> I can then easily call that C library from a wide range of languages
>>>> running on those multiple operating systems and environments. The
>>>> language
>>>> also allows me to create code that runs both in kernel mode and user
>>>> mode.
>>>>
>>>> Name one other programming language that allows me to do all that.
>>>
>>> C compilers are available on most platforms.
>>
>> I would be interested in knowing about a platform they are not
>> available on. You can even get them for GPUs...
>
> I don't know any.
>
> But if any then I would expect it to be either very old platforms
> from before C or very tiny platforms only supporting assembler.
>

Well, Z80 and 6809 both meet your criteria of very old and very
small and both of them support C compilers. Maybe not ANSI C but
then, some of us are still quite happy with K&R.

bill

Re: Viable versus ideal programming languages

<t1cs4t$96a$1@dont-email.me>

  copy mid

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

  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: Tue, 22 Mar 2022 17:05:50 +0100
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <t1cs4t$96a$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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 22 Mar 2022 16:05:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c76f7a95431ef89200a9b0221307ec66";
logging-data="9418"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hxc+ZhjLeyH9yHEdA4jT/"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:ZDNgqekdWcJiE4zl47kKREg4bSU=
In-Reply-To: <j9so04Fo6omU1@mid.individual.net>
Content-Language: sv
 by: Jan-Erik Söderholm - Tue, 22 Mar 2022 16:05 UTC

Den 2022-03-22 kl. 02:44, skrev Bill Gunshannon:
> On 3/21/22 20:28, Arne Vajhøj wrote:
>> On 3/21/2022 3:26 PM, Simon Clubley wrote:
>>> On 2022-03-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>> On 3/21/2022 2:46 PM, Simon Clubley wrote:
>>>>>
>>>>> I would say that C is a _viable_ programming language in that case,
>>>>> but I would not say that it is an _ideal_ programming language.
>>>>>
>>>>> You may end up using something that is viable but is not your preferred
>>>>> language. This could be due to language availability across multiple
>>>>> environments, the ability of the language to be easily called from
>>>>> other languages, etc.
>>>>>
>>>>> This is especially important when you are writing library code for
>>>>> example. Consider that I can write a portable library in C, and I can
>>>>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>>>>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>>>>> the library is small enough.
>>>>>
>>>>> I can then easily call that C library from a wide range of languages
>>>>> running on those multiple operating systems and environments. The
>>>>> language
>>>>> also allows me to create code that runs both in kernel mode and user
>>>>> mode.
>>>>>
>>>>> Name one other programming language that allows me to do all that.
>>>>
>>>> C compilers are available on most platforms.
>>>
>>> I would be interested in knowing about a platform they are not
>>> available on. You can even get them for GPUs...
>>
>> I don't know any.
>>
>> But if any then I would expect it to be either very old platforms
>> from before C or very tiny platforms only supporting assembler.
>>
>
> Well, Z80 and 6809 both meet your criteria of very old and very
> small and both of them support C compilers.  Maybe not ANSI C but
> then, some of us are still quite happy with K&R.
>
> bill
>
>

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.

Re: Viable versus ideal programming languages

<t1d53c$ges$1@dont-email.me>

  copy mid

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

  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: Tue, 22 Mar 2022 18:38:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <t1d53c$ges$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> <j9s625Fl0f1U1@mid.individual.net>
Injection-Date: Tue, 22 Mar 2022 18:38:36 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a65fd6456216f0c4a19f737b66e9df8b";
logging-data="16860"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sKZOAL4cokLbrRCMaY8tjNN4hvnLsd9I="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:jMZUb6GBP81OLZlHHMQtk8vNp3I=
 by: Simon Clubley - Tue, 22 Mar 2022 18:38 UTC

On 2022-03-21, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
> On 3/21/22 14:46, Simon Clubley wrote:
>>
>> I would say that C is a _viable_ programming language in that case,
>> but I would not say that it is an _ideal_ programming language.
>>
>> You may end up using something that is viable but is not your preferred
>> language. This could be due to language availability across multiple
>> environments, the ability of the language to be easily called from
>> other languages, etc.
>>
>> This is especially important when you are writing library code for
>> example. Consider that I can write a portable library in C, and I can
>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>> the library is small enough.
>>
>> I can then easily call that C library from a wide range of languages
>> running on those multiple operating systems and environments. The language
>> also allows me to create code that runs both in kernel mode and user mode.
>>
>> Name one other programming language that allows me to do all that.
>
> What does any of that have to do with the language? The specific
> compiler maybe, but not necessarily the language. I could see
> not doing it in COBOL and probably LISP but otherwise, most languages
> can do what you want.
>

Fine. Where do I find the compilers in today's world that allow me
to do all of the above in a language other than C ? :-)

BTW, you are not going to be writing kernel mode device drivers or
kernel modules in Fortran (for example).

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

Would be nice if that was not the only viable option, but the problem
is that C is a very viable language in all of these cases, even when
it is not an ideal language, so no-one has developed a viable alternative
over the decades.

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

<t1d5aq$ges$2@dont-email.me>

  copy mid

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

  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: Tue, 22 Mar 2022 18:42:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <t1d5aq$ges$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> <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>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 22 Mar 2022 18:42:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a65fd6456216f0c4a19f737b66e9df8b";
logging-data="16860"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JsPFJ1rHoP5dJzJMQLp680kUV353tmuY="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:wwyK91mVWB/99Ze5C9jRH1vvsRY=
 by: Simon Clubley - Tue, 22 Mar 2022 18:42 UTC

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.

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

<j9umb1F5949U1@mid.individual.net>

  copy mid

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

  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: Tue, 22 Mar 2022 15:28:32 -0400
Lines: 73
Message-ID: <j9umb1F5949U1@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> <j9s625Fl0f1U1@mid.individual.net>
<t1d53c$ges$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 xX8uj1x3ngVoa3ann9Y02gBFQRSzm37mtQrN7q1pImRcA2jTFz
Cancel-Lock: sha1:KdskQ6tw4eJurWxVwYGHenmU8R4=
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: <t1d53c$ges$1@dont-email.me>
 by: Bill Gunshannon - Tue, 22 Mar 2022 19:28 UTC

On 3/22/22 14:38, Simon Clubley wrote:
> On 2022-03-21, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>> On 3/21/22 14:46, Simon Clubley wrote:
>>>
>>> I would say that C is a _viable_ programming language in that case,
>>> but I would not say that it is an _ideal_ programming language.
>>>
>>> You may end up using something that is viable but is not your preferred
>>> language. This could be due to language availability across multiple
>>> environments, the ability of the language to be easily called from
>>> other languages, etc.
>>>
>>> This is especially important when you are writing library code for
>>> example. Consider that I can write a portable library in C, and I can
>>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>>> the library is small enough.
>>>
>>> I can then easily call that C library from a wide range of languages
>>> running on those multiple operating systems and environments. The language
>>> also allows me to create code that runs both in kernel mode and user mode.
>>>
>>> Name one other programming language that allows me to do all that.
>>
>> What does any of that have to do with the language? The specific
>> compiler maybe, but not necessarily the language. I could see
>> not doing it in COBOL and probably LISP but otherwise, most languages
>> can do what you want.
>>
>
> Fine. Where do I find the compilers in today's world that allow me
> to do all of the above in a language other than C ? :-)

Well, you missed the point of that entirely.
I specifically said it was the fault of the compiler and not the
fault of any language. Just because no one makes a compiler to
do what you want to do isn't the fault of the languages. Make
your own compiler.

I do have to admit that I am baffled why no one made/makes an
Ada compiler to do this. I thought that was one of the intents
of Ada. But it looks like language snobbery is strong in Ada.
Probably why even the agency responsible for it refused to use
it when it finally came out.

>
> BTW, you are not going to be writing kernel mode device drivers or
> kernel modules in Fortran (for example).

No, cause that's not the intended purpose of that language. But
that really has nothing to do with writing libraries.

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

>
> Would be nice if that was not the only viable option, but the problem
> is that C is a very viable language in all of these cases, even when
> it is not an ideal language, so no-one has developed a viable alternative
> over the decades.

But they could. Just like they could develop a Safe C language and
make compilers for it. That was done. And was met with a resounding
silence and the company just went away. All of these things could be
addressed but all we seem to get is the latest ego language du jour.

bill

Re: Viable versus ideal programming languages

<j9umf9F5949U2@mid.individual.net>

  copy mid

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

  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: Tue, 22 Mar 2022 15:30:49 -0400
Lines: 23
Message-ID: <j9umf9F5949U2@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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net aHaXGjbQH7tXlwGAZDa+egto5MZ9vG8Ks1ecZXDHSlZCssau4r
Cancel-Lock: sha1:eMk6yTVKMm8tvvAkikFe7bqzp/o=
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: <t1d5aq$ges$2@dont-email.me>
 by: Bill Gunshannon - Tue, 22 Mar 2022 19:30 UTC

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

Re: Viable versus ideal programming languages

<t1da72$59t$1@dont-email.me>

  copy mid

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

  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: Tue, 22 Mar 2022 16:05:21 -0400
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <t1da72$59t$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> <j9s625Fl0f1U1@mid.individual.net>
<t1d53c$ges$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Mar 2022 20:05:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4dcaf8446b944effb31ebbb8244fb0ed";
logging-data="5437"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JgG6MbzDp126kMni6HngSQzpwl0tv7LY="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:oi1Q7kRhBZaise02uLw3gLbDybk=
In-Reply-To: <t1d53c$ges$1@dont-email.me>
 by: Dave Froble - Tue, 22 Mar 2022 20:05 UTC

On 3/22/2022 2:38 PM, Simon Clubley wrote:
> On 2022-03-21, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>> On 3/21/22 14:46, Simon Clubley wrote:
>>>
>>> I would say that C is a _viable_ programming language in that case,
>>> but I would not say that it is an _ideal_ programming language.
>>>
>>> You may end up using something that is viable but is not your preferred
>>> language. This could be due to language availability across multiple
>>> environments, the ability of the language to be easily called from
>>> other languages, etc.
>>>
>>> This is especially important when you are writing library code for
>>> example. Consider that I can write a portable library in C, and I can
>>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>>> the library is small enough.
>>>
>>> I can then easily call that C library from a wide range of languages
>>> running on those multiple operating systems and environments. The language
>>> also allows me to create code that runs both in kernel mode and user mode.
>>>
>>> Name one other programming language that allows me to do all that.
>>
>> What does any of that have to do with the language? The specific
>> compiler maybe, but not necessarily the language. I could see
>> not doing it in COBOL and probably LISP but otherwise, most languages
>> can do what you want.
>>
>
> Fine. Where do I find the compilers in today's world that allow me
> to do all of the above in a language other than C ? :-)
>
> BTW, you are not going to be writing kernel mode device drivers or
> kernel modules in Fortran (for example).
>
> 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++...
>
> Would be nice if that was not the only viable option, but the problem
> is that C is a very viable language in all of these cases, even when
> it is not an ideal language, so no-one has developed a viable alternative
> over the decades.
>
> Simon.
>

Your argument is, that if one desires to have transportable code, then C allows
that.

But what if one never intends to have transportable code? Then the argument is
meaningless, and, one should choose the language(s) that best support the
task(s) intended.

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

<623a5281$0$703$14726298@news.sunsite.dk>

  copy mid

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

  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: Tue, 22 Mar 2022 18:49:33 -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>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t1d53c$ges$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 55
Message-ID: <623a5281$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: d903a457.news.sunsite.dk
X-Trace: 1647989378 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:62241
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 22 Mar 2022 22:49 UTC

On 3/22/2022 2:38 PM, Simon Clubley wrote:
> On 2022-03-21, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>> On 3/21/22 14:46, Simon Clubley wrote:
>>>
>>> I would say that C is a _viable_ programming language in that case,
>>> but I would not say that it is an _ideal_ programming language.
>>>
>>> You may end up using something that is viable but is not your preferred
>>> language. This could be due to language availability across multiple
>>> environments, the ability of the language to be easily called from
>>> other languages, etc.
>>>
>>> This is especially important when you are writing library code for
>>> example. Consider that I can write a portable library in C, and I can
>>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>>> the library is small enough.
>>>
>>> I can then easily call that C library from a wide range of languages
>>> running on those multiple operating systems and environments. The language
>>> also allows me to create code that runs both in kernel mode and user mode.
>>>
>>> Name one other programming language that allows me to do all that.
>>
>> What does any of that have to do with the language? The specific
>> compiler maybe, but not necessarily the language. I could see
>> not doing it in COBOL and probably LISP but otherwise, most languages
>> can do what you want.
>
> Fine. Where do I find the compilers in today's world that allow me
> to do all of the above in a language other than C ? :-)

But it really all boils down to being widely available.

The reason you can build your library on all those platforms is because
a C compiler is available.

When it comes to code being portable then C code is generally not
great - more like somewhere in the middle (I would expect a higher
portion of Fortran and Cobol to build unchanged and a less portion
of Pascal and Basic).

And C does not have any particular advantages for language interop
either. But given how widely used C are then C interop get more
priority than other language interop.

> Would be nice if that was not the only viable option, but the problem
> is that C is a very viable language in all of these cases, even when
> it is not an ideal language, so no-one has developed a viable alternative
> over the decades.

Frequently it is the language available.

Arne

Re: Viable versus ideal programming languages

<623a53fa$0$700$14726298@news.sunsite.dk>

  copy mid

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

  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: Tue, 22 Mar 2022 18:55:50 -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> <t1da72$59t$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t1da72$59t$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 29
Message-ID: <623a53fa$0$700$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: d903a457.news.sunsite.dk
X-Trace: 1647989755 news.sunsite.dk 700 arne@vajhoej.dk/68.9.63.232:62400
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 22 Mar 2022 22:55 UTC

On 3/22/2022 4:05 PM, Dave Froble wrote:
> On 3/22/2022 2:38 PM, Simon Clubley wrote:
>> Would be nice if that was not the only viable option, but the problem
>> is that C is a very viable language in all of these cases, even when
>> it is not an ideal language, so no-one has developed a viable alternative
>> over the decades.
>
> Your argument is, that if one desires to have transportable code, then C
> allows that.
>
> But what if one never intends to have transportable code?  Then the
> argument is meaningless, and, one should choose the language(s) that
> best support the task(s) intended.

Unless one is writing very HW/OS close code, then portability
is always a plus - maybe it will one day be necessary to port
(only question is whether it is 1% probability or 99% probability)
and there is no drawbacks from being portable (in itself).

So portability should always be counted as a plus. But obviously
there can be other aspects outweighing that in the evaluation.

Also note that while portable code tend to be tricky among
native languages, then it is more the norm in non-native
languages.

Arne

Re: Viable versus ideal programming languages

<t1dulk$i27$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.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 01:55:00 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t1dulk$i27$1@reader1.panix.com>
References: <t0iq6h$mna$1@dont-email.me> <t1ah59$khr$1@dont-email.me> <j9s625Fl0f1U1@mid.individual.net> <t1d53c$ges$1@dont-email.me>
Injection-Date: Wed, 23 Mar 2022 01:55:00 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="18503"; 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 01:55 UTC

In article <t1d53c$ges$1@dont-email.me>,
Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>On 2022-03-21, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>> On 3/21/22 14:46, Simon Clubley wrote:
>>>
>>> I would say that C is a _viable_ programming language in that case,
>>> but I would not say that it is an _ideal_ programming language.
>>>
>>> You may end up using something that is viable but is not your preferred
>>> language. This could be due to language availability across multiple
>>> environments, the ability of the language to be easily called from
>>> other languages, etc.
>>>
>>> This is especially important when you are writing library code for
>>> example. Consider that I can write a portable library in C, and I can
>>> then compile it unchanged on VMS, Linux/FreeBSD/Unix, Windows, embedded
>>> operating systems, bare metal ARM/MIPS/etc, and even 8/16-bit MCUs if
>>> the library is small enough.
>>>
>>> I can then easily call that C library from a wide range of languages
>>> running on those multiple operating systems and environments. The language
>>> also allows me to create code that runs both in kernel mode and user mode.
>>>
>>> Name one other programming language that allows me to do all that.
>>
>> What does any of that have to do with the language? The specific
>> compiler maybe, but not necessarily the language. I could see
>> not doing it in COBOL and probably LISP but otherwise, most languages
>> can do what you want.
>>
>
>Fine. Where do I find the compilers in today's world that allow me
>to do all of the above in a language other than C ? :-)

I do pretty much everything listed here in Rust on a daily
basis.

>BTW, you are not going to be writing kernel mode device drivers or
>kernel modules in Fortran (for example).

Hmm, I seem to recall that much of JNet was written in FORTRAN.
On several systems, it was extended enough to be a viable
language for low-level work.

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

>Would be nice if that was not the only viable option, but the problem
>is that C is a very viable language in all of these cases, even when
>it is not an ideal language, so no-one has developed a viable alternative
>over the decades.

It's true that e.g. Rust isn't presently as popular as C, but as
an alternative, it's pretty viable.

- Dan C.

Pages:12345
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor