Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Economics is extremely useful as a form of employment for economists. -- John Kenneth Galbraith


computers / comp.os.vms / Rust as a HS language, was: Re: Quiet?

SubjectAuthor
* Rust as a HS language, was: Re: Quiet?Simon Clubley
+* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
|`* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| +* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| |+* Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| ||+- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| ||+* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| |||`* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| ||| `- Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| ||`* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| || `- Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| |`* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| | `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| |  `* Re: Rust as a HS language, was: Re: Quiet?Chris Townley
| |   +- Re: Rust as a HS language, was: Re: Quiet?Bill Gunshannon
| |   +* Re: Rust as a HS language, was: Re: Quiet?Jan-Erik Söderholm
| |   |`- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| |   `* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| |    `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| |     `- Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| +- Re: Rust as a HS language, was: Re: Quiet?Craig A. Berry
| `* Re: Rust as a HS language, was: Re: Quiet?chris
|  `* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|   `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
|    `* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|     +* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
|     |`- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
|     `* Re: Rust as a HS language, was: Re: Quiet?chris
|      `* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|       `* Re: Rust as a HS language, was: Re: Quiet?chris
|        +* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|        |`* Re: Rust as a HS language, was: Re: Quiet?chris
|        | `* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|        |  `- Re: Rust as a HS language, was: Re: Quiet?chris
|        +- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
|        `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
|         `* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|          +* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
|          |`* Re: Rust as a HS language, was: Re: Quiet?Johnny Billquist
|          | `- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
|          `* Re: Rust as a HS language, was: Re: Quiet?Johnny Billquist
|           `* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|            +* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
|            |`- Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|            `* Re: Rust as a HS language, was: Re: Quiet?Johnny Billquist
|             `- Re: Rust as a HS language, was: Re: Quiet?Dan Cross
+* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
|`* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| +* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| |+- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| |`* Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| |  `* Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| |   `- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| +* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| |`* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | +* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |+* Re: Rust as a HS language, was: Re: Quiet?Bill Gunshannon
| | ||+* Re: Rust as a HS language, was: Re: Quiet?plugh
| | |||`- Re: Rust as a HS language, was: Re: Quiet?plugh
| | ||+* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |||`* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| | ||| +* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | ||| |`* Re: Rust as a HS language, was: Re: Quiet?Bill Gunshannon
| | ||| | +- Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | ||| | `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | ||| |  `- Unsafe coding, was: Re: Rust as a HS languageSimon Clubley
| | ||| `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | |||  `* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |||   `* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| | |||    +- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | |||    `* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |||     +* Re: Rust as a HS language, was: Re: Quiet?chris
| | |||     |+* Re: Rust as a HS language, was: Re: Quiet?VAXman-
| | |||     ||`* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | |||     || `* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| | |||     ||  +* Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | |||     ||  |`* Re: Rust as a HS language, was: Re: Quiet?Bill Gunshannon
| | |||     ||  | `- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | |||     ||  `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | |||     ||   `- Re: Rust as a HS language, was: Re: Quiet?chris
| | |||     |`* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |||     | +* Re: Rust as a HS language, was: Re: Quiet?Bill Gunshannon
| | |||     | |+* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |||     | ||+* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |||     | |||`- Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | |||     | ||`* Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | |||     | || +- Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |||     | || `* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | |||     | ||  +* Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | |||     | ||  |`* Re: Rust as a HS language, was: Re: Quiet?Dan Cross
| | |||     | ||  | `- Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | |||     | ||  `* Re: Rust as a HS language, was: Re: Quiet?chris
| | |||     | ||   `- Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | |||     | |+* Re: Rust as a HS language, was: Re: Quiet?chris
| | |||     | ||`* Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | |||     | || `- Re: Rust as a HS language, was: Re: Quiet?Bill Gunshannon
| | |||     | |`- Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | |||     | +- Re: Rust as a HS language, was: Re: Quiet?chris
| | |||     | `- Re: Rust as a HS language, was: Re: Quiet?Dave Froble
| | |||     `* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| | ||`* Re: Rust as a HS language, was: Re: Quiet?Arne Vajhøj
| | |`* Re: Rust as a HS language, was: Re: Quiet?plugh
| | `* Re: Rust as a HS language, was: Re: Quiet?Simon Clubley
| `- Re: Rust as a HS language, was: Re: Quiet?chris
`- Re: Rust as a HS language, was: Re: Quiet?Galen

Pages:12345678910
Rust as a HS language, was: Re: Quiet?

<t2eo9n$mj7$1@dont-email.me>

  copy mid

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

  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: Rust as a HS language, was: Re: Quiet?
Date: Mon, 4 Apr 2022 12:28:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <t2eo9n$mj7$1@dont-email.me>
Injection-Date: Mon, 4 Apr 2022 12:28:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b2046201c7ae13e9b6456c1cdaa8cb7f";
logging-data="23143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184664jBILHp5ZahKTKV+FCvv3PLdX2/cQ="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:6zzNhMr/YNmgeS0QX6BqmNsx+ps=
 by: Simon Clubley - Mon, 4 Apr 2022 12:28 UTC

On 2022-04-03, plugh <jchimene@gmail.com> wrote:
>
> Perhaps this will stimulate a discussion
>
> https://highassurance.rs

There are 3 things that switch me off from considering Rust as a HA language.
These 3 things are more important than any specific advantages that Rust
might have over other programming languages.

1) The syntax. It's horrible and imposes a higher cognitive load than
it needs to when you are looking at something new or revisiting old code.
That means you are more likely to miss something or work a lot harder
than you need to in order to understand the code.

One of the official Ada RMs/Style Guides/etc had it right when it pointed
out that you write the code once but read it many times. The Rust people
have forgotten this.

2) No official ISO or similar language standard I can rely on 5/10/20 years
from now when I need to work on my safety or general production critical
code at that point.

Even though many of the Rust people appear not to understand this, the
lack of those guarantees is a _massive_ problem in the real world.

3) Unlike mainstream programming languages, the Rust community always
seems to be lurching from one social drama to the next.

That in itself is an instant switchoff because the community is one
major social crisis away from falling apart (at least until it's then
rebuilt and a new direction emerges).

You can't rely on a programming language when something like that is
a real possibility. You wouldn't see social crisis stuff on the C/C++/Ada
language standards groups for example.

Simon.

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

Re: Rust as a HS language, was: Re: Quiet?

<624af118$0$701$14726298@news.sunsite.dk>

  copy mid

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

  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, 4 Apr 2022 09:22:25 -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: Rust as a HS language, was: Re: Quiet?
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t2eo9n$mj7$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t2eo9n$mj7$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 58
Message-ID: <624af118$0$701$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f7c8e136.news.sunsite.dk
X-Trace: 1649078552 news.sunsite.dk 701 arne@vajhoej.dk/68.9.63.232:56305
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 4 Apr 2022 13:22 UTC

On 4/4/2022 8:28 AM, Simon Clubley wrote:
> On 2022-04-03, plugh <jchimene@gmail.com> wrote:
>> Perhaps this will stimulate a discussion
>>
>> https://highassurance.rs
>
> There are 3 things that switch me off from considering Rust as a HA language.
> These 3 things are more important than any specific advantages that Rust
> might have over other programming languages.
>
> 1) The syntax. It's horrible and imposes a higher cognitive load than
> it needs to when you are looking at something new or revisiting old code.
> That means you are more likely to miss something or work a lot harder
> than you need to in order to understand the code.
>
> One of the official Ada RMs/Style Guides/etc had it right when it pointed
> out that you write the code once but read it many times. The Rust people
> have forgotten this.

Rust does not look anything like C/C++ or Pascal/Modula-2/Ada.

But it looks somewhat similar to newer languages like Kotlin and Swift.

It seems reasonable to believe that it can be read.

> 2) No official ISO or similar language standard I can rely on 5/10/20 years
> from now when I need to work on my safety or general production critical
> code at that point.
>
> Even though many of the Rust people appear not to understand this, the
> lack of those guarantees is a _massive_ problem in the real world.

Not really. Lot of popular languages are not formally standardized.
Python and PHP are not standardized. C# is/was standardized but the
standard is 6 versions behind. It took 13 years before C++ got
standardized.

If there is a desire for ISO Rust then it could happen. The likelihood
of it happening will increase if different implementations show up.

> 3) Unlike mainstream programming languages, the Rust community always
> seems to be lurching from one social drama to the next.
>
> That in itself is an instant switchoff because the community is one
> major social crisis away from falling apart (at least until it's then
> rebuilt and a new direction emerges).
>
> You can't rely on a programming language when something like that is
> a real possibility. You wouldn't see social crisis stuff on the C/C++/Ada
> language standards groups for example.

I don't think the number of heated discussions in the rust community
is unique. They may be a bit more transparent about it than most. And
the "internet tabloid press" loves that type of stuff. But has anything
actually been significant delayed due to it?

Arne

Re: Rust as a HS language, was: Re: Quiet?

<t2etk0$9n1$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Mon, 4 Apr 2022 13:59:28 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t2etk0$9n1$1@reader1.panix.com>
References: <t2eo9n$mj7$1@dont-email.me>
Injection-Date: Mon, 4 Apr 2022 13:59:28 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="9953"; 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 - Mon, 4 Apr 2022 13:59 UTC

In article <t2eo9n$mj7$1@dont-email.me>,
Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>On 2022-04-03, plugh <jchimene@gmail.com> wrote:
>>
>> Perhaps this will stimulate a discussion
>>
>> https://highassurance.rs
>
>There are 3 things that switch me off from considering Rust as a HA language.
>These 3 things are more important than any specific advantages that Rust
>might have over other programming languages.

Let's take a look.

>1) The syntax. It's horrible and imposes a higher cognitive load than
>it needs to when you are looking at something new or revisiting old code.
>That means you are more likely to miss something or work a lot harder
>than you need to in order to understand the code.
>
>One of the official Ada RMs/Style Guides/etc had it right when it pointed
>out that you write the code once but read it many times. The Rust people
>have forgotten this.

Surely this is subjective?

>2) No official ISO or similar language standard I can rely on 5/10/20 years
>from now when I need to work on my safety or general production critical
>code at that point.

This is a valid point.

>Even though many of the Rust people appear not to understand this, the
>lack of those guarantees is a _massive_ problem in the real world.

But this is just insulting to the Rust people. They aren't
fools. They understand the value of standards, but they're
still evolving the language. A standard will come in time.

>3) Unlike mainstream programming languages, the Rust community always
>seems to be lurching from one social drama to the next.
>
>That in itself is an instant switchoff because the community is one
>major social crisis away from falling apart (at least until it's then
>rebuilt and a new direction emerges).
>
>You can't rely on a programming language when something like that is
>a real possibility. You wouldn't see social crisis stuff on the C/C++/Ada
>language standards groups for example.

Oh really? It seems that the C++ community just went through a
bit of social "drama" with a convicted sex offender being
invited to a conference. Someone objected; that person was
shouted down. Chaos ensued.

In fact, I can't think of a language community that hasn't had
some kind of "drama" over the last 30 years or so that I've
been paying attention.

- Dan C.

Re: Rust as a HS language, was: Re: Quiet?

<t2fbfp$fml$2@dont-email.me>

  copy mid

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

  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: Rust as a HS language, was: Re: Quiet?
Date: Mon, 4 Apr 2022 17:56:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <t2fbfp$fml$2@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <624af118$0$701$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 4 Apr 2022 17:56:09 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b2046201c7ae13e9b6456c1cdaa8cb7f";
logging-data="16085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mo5/ZeWk2N2DPQbvQ0q0RJ5reFadx5Lo="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:9bGoz/FqNxJB36YQc0KIp8cFnVc=
 by: Simon Clubley - Mon, 4 Apr 2022 17:56 UTC

On 2022-04-04, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 4/4/2022 8:28 AM, Simon Clubley wrote:
>> 2) No official ISO or similar language standard I can rely on 5/10/20 years
>> from now when I need to work on my safety or general production critical
>> code at that point.
>>
>> Even though many of the Rust people appear not to understand this, the
>> lack of those guarantees is a _massive_ problem in the real world.
>
> Not really. Lot of popular languages are not formally standardized.
> Python and PHP are not standardized. C# is/was standardized but the
> standard is 6 versions behind. It took 13 years before C++ got
> standardized.
>

You have just made my point for me Arne. Or to put it another way,
Python 2 to Python 3.

Why wasn't Python 3 just another language mode in the existing compiler
instead of being a whole different compiler ?

Why did Python 2.7 stay around for as long as it did ? How many are still
using it these days due to an existing code base ?

I can compile C89 code on a compiler 33 years later. When another standard
for C is released, it becomes just another language mode in the existing
compilers and all the existing C standards are still supported.

How confident are you that I can compile C89 code in yet another 10 years ?

In comparison, how confident are you that I can compile existing Python 3
or Rust code in another 10 years ?

What's to stop the Rust people from having some great language revamp a
few years from now and then stop supporting the existing language variant ?

The Python people did that and it's a _much_ more popular language than
Rust so what's to stop the Rust people from doing the same thing ?

> If there is a desire for ISO Rust then it could happen. The likelihood
> of it happening will increase if different implementations show up.
>
>> 3) Unlike mainstream programming languages, the Rust community always
>> seems to be lurching from one social drama to the next.
>>
>> That in itself is an instant switchoff because the community is one
>> major social crisis away from falling apart (at least until it's then
>> rebuilt and a new direction emerges).
>>
>> You can't rely on a programming language when something like that is
>> a real possibility. You wouldn't see social crisis stuff on the C/C++/Ada
>> language standards groups for example.
>
> I don't think the number of heated discussions in the rust community
> is unique. They may be a bit more transparent about it than most. And
> the "internet tabloid press" loves that type of stuff. But has anything
> actually been significant delayed due to it?
>

I'm talking about the social stuff, not the technical stuff.

It's the stuff that can become so toxic, it can cause a community
itself to become damaged.

Simon.

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

Re: Rust as a HS language, was: Re: Quiet?

<t2fc4n$fml$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!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: Rust as a HS language, was: Re: Quiet?
Date: Mon, 4 Apr 2022 18:07:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <t2fc4n$fml$3@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <t2etk0$9n1$1@reader1.panix.com>
Injection-Date: Mon, 4 Apr 2022 18:07:19 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b2046201c7ae13e9b6456c1cdaa8cb7f";
logging-data="16085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hNlOlw5lW9PEUM4h+nZ/1Ch6fXMdpkHQ="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:2W4XUFz0oJHGfohFDznaHFAie1A=
 by: Simon Clubley - Mon, 4 Apr 2022 18:07 UTC

On 2022-04-04, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
> In article <t2eo9n$mj7$1@dont-email.me>,
> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>1) The syntax. It's horrible and imposes a higher cognitive load than
>>it needs to when you are looking at something new or revisiting old code.
>>That means you are more likely to miss something or work a lot harder
>>than you need to in order to understand the code.
>>
>>One of the official Ada RMs/Style Guides/etc had it right when it pointed
>>out that you write the code once but read it many times. The Rust people
>>have forgotten this.
>
> Surely this is subjective?
>

All I can say is that I've learnt lots of languages over the years and
the Rust syntax is easily the most ugly I have encountered.

>>2) No official ISO or similar language standard I can rely on 5/10/20 years
>>from now when I need to work on my safety or general production critical
>>code at that point.
>
> This is a valid point.
>
>>Even though many of the Rust people appear not to understand this, the
>>lack of those guarantees is a _massive_ problem in the real world.
>
> But this is just insulting to the Rust people. They aren't
> fools. They understand the value of standards, but they're
> still evolving the language. A standard will come in time.
>

But other languages are also evolving over time, and they do it in
a way that guarantees the next language variant is just another
language mode in the existing compilers. That means I know I can still
compile code written to that old language variant in the years to come.

If the Rust language isn't going through a formal language standards
process, how do I know that I can compile existing Rust code in
5/10/20 years time ?

Simon.

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

Re: Rust as a HS language, was: Re: Quiet?

<624b3ad8$0$692$14726298@news.sunsite.dk>

  copy mid

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

  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, 4 Apr 2022 14:37:05 -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: Rust as a HS language, was: Re: Quiet?
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t2eo9n$mj7$1@dont-email.me>
<624af118$0$701$14726298@news.sunsite.dk> <t2fbfp$fml$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t2fbfp$fml$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 108
Message-ID: <624b3ad8$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: af978d11.news.sunsite.dk
X-Trace: 1649097432 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:57274
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 4 Apr 2022 18:37 UTC

On 4/4/2022 1:56 PM, Simon Clubley wrote:
> On 2022-04-04, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 4/4/2022 8:28 AM, Simon Clubley wrote:
>>> 2) No official ISO or similar language standard I can rely on 5/10/20 years
>>> from now when I need to work on my safety or general production critical
>>> code at that point.
>>>
>>> Even though many of the Rust people appear not to understand this, the
>>> lack of those guarantees is a _massive_ problem in the real world.
>>
>> Not really. Lot of popular languages are not formally standardized.
>> Python and PHP are not standardized. C# is/was standardized but the
>> standard is 6 versions behind. It took 13 years before C++ got
>> standardized.
>
> You have just made my point for me Arne. Or to put it another way,
> Python 2 to Python 3.
>
> Why wasn't Python 3 just another language mode in the existing compiler
> instead of being a whole different compiler ?

(ignoring that I would not call Python a compiler)

The language has evolved. Most languages does.

They could have chosen to prioritize backwards compatibility higher.
Let us call it "Java approach".

They could have introduced a compatibility mode. Let us call it
"DEC C approach".

But they did not.

Would difference decisions have been made if it had been an ISO
committee and not a BDFL?

I don't know.

If the same people were making the decision then they may likely have
made the same decision. Whether they have a "core team" hat or an
"ISO WG member" hat should not change their opinion.

> Why did Python 2.7 stay around for as long as it did ? How many are still
> using it these days due to an existing code base ?

That people have old code bases that they build with old compilers or
run with old interpreters is not Python specific. Lots of companies
are buried in technical debt.

> I can compile C89 code on a compiler 33 years later. When another standard
> for C is released, it becomes just another language mode in the existing
> compilers and all the existing C standards are still supported.

That is a choice. They can change it if they want to.

> How confident are you that I can compile C89 code in yet another 10 years ?

Compatibility seems to be a priority so that seems extremely likely.

> In comparison, how confident are you that I can compile existing Python 3
> or Rust code in another 10 years ?

Python - pretty sure. I believe the Python community learned the
lesson. Nobody expects an incompatible Python 4.

Rust - no idea. I don't follow the Rust community enough to know.

> What's to stop the Rust people from having some great language revamp a
> few years from now and then stop supporting the existing language variant ?

Obviously nothing.

Same applies to all languages.

You will have to evaluate. Do they claim they want to stay compatible?
Do you have faith in them do as they say? What is the community opinion?

I don't even know what the Rust people say about this.

But if they don't prioritize compatibility and you do, then it is
of course a reason to not pick rust.

>>> 3) Unlike mainstream programming languages, the Rust community always
>>> seems to be lurching from one social drama to the next.
>>>
>>> That in itself is an instant switchoff because the community is one
>>> major social crisis away from falling apart (at least until it's then
>>> rebuilt and a new direction emerges).
>>>
>>> You can't rely on a programming language when something like that is
>>> a real possibility. You wouldn't see social crisis stuff on the C/C++/Ada
>>> language standards groups for example.
>>
>> I don't think the number of heated discussions in the rust community
>> is unique. They may be a bit more transparent about it than most. And
>> the "internet tabloid press" loves that type of stuff. But has anything
>> actually been significant delayed due to it?
>>
>
> I'm talking about the social stuff, not the technical stuff.
>
> It's the stuff that can become so toxic, it can cause a community
> itself to become damaged.

Yes. Big headlines in the internet tabloids. No impact.

Arne

Re: Rust as a HS language, was: Re: Quiet?

<624b3cf7$0$692$14726298@news.sunsite.dk>

  copy mid

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

  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, 4 Apr 2022 14:46:08 -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: Rust as a HS language, was: Re: Quiet?
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t2eo9n$mj7$1@dont-email.me> <t2etk0$9n1$1@reader1.panix.com>
<t2fc4n$fml$3@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t2fc4n$fml$3@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 60
Message-ID: <624b3cf7$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: af978d11.news.sunsite.dk
X-Trace: 1649097975 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:57576
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 4 Apr 2022 18:46 UTC

On 4/4/2022 2:07 PM, Simon Clubley wrote:
> On 2022-04-04, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>> In article <t2eo9n$mj7$1@dont-email.me>,
>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>> 1) The syntax. It's horrible and imposes a higher cognitive load than
>>> it needs to when you are looking at something new or revisiting old code.
>>> That means you are more likely to miss something or work a lot harder
>>> than you need to in order to understand the code.
>>>
>>> One of the official Ada RMs/Style Guides/etc had it right when it pointed
>>> out that you write the code once but read it many times. The Rust people
>>> have forgotten this.
>>
>> Surely this is subjective?
>
> All I can say is that I've learnt lots of languages over the years and
> the Rust syntax is easily the most ugly I have encountered.

Ugly is practically by definition subjective.

>>> 2) No official ISO or similar language standard I can rely on 5/10/20 years
>> >from now when I need to work on my safety or general production critical
>>> code at that point.
>>
>> This is a valid point.
>>
>>> Even though many of the Rust people appear not to understand this, the
>>> lack of those guarantees is a _massive_ problem in the real world.
>>
>> But this is just insulting to the Rust people. They aren't
>> fools. They understand the value of standards, but they're
>> still evolving the language. A standard will come in time.
>
> But other languages are also evolving over time, and they do it in
> a way that guarantees the next language variant is just another
> language mode in the existing compilers. That means I know I can still
> compile code written to that old language variant in the years to come.

There are no such guarantee.

There are plenty of examples of breaking changes.

Because even when prioritizing compatibility it is easy to make
something not compile - or worse compile with a different semantics.

18 years ago Java added an enum keyword. There were a surprisingly
amount of code using enum as a variable name.

> If the Rust language isn't going through a formal language standards
> process, how do I know that I can compile existing Rust code in
> 5/10/20 years time ?

Rust is almost certainly going through a formal process. All
major languages has to.

Whether that process prioritize compatibility or not is up
the people involved in that process.

Arne

Re: Rust as a HS language, was: Re: Quiet?

<624b427e$0$700$14726298@news.sunsite.dk>

  copy mid

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

  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, 4 Apr 2022 15:09:48 -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: Rust as a HS language, was: Re: Quiet?
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t2eo9n$mj7$1@dont-email.me> <t2etk0$9n1$1@reader1.panix.com>
<t2fc4n$fml$3@dont-email.me> <624b3cf7$0$692$14726298@news.sunsite.dk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <624b3cf7$0$692$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 26
Message-ID: <624b427e$0$700$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: da0238ef.news.sunsite.dk
X-Trace: 1649099390 news.sunsite.dk 700 arne@vajhoej.dk/68.9.63.232:58666
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 4 Apr 2022 19:09 UTC

An example of very breaking language change: Scala 2 to 3.

Example code:

object Ooops {
def main(args: Array[String]): Unit = {
println("start")
val b = false
if(b) {
println("1")
println("2")
}
if(b)
println("3")
println("4")
println("finish")
}
}

It compiles/runs fine with both Scala 2 and 3.

But it does not print the same output.

:-(

Arne

Re: Rust as a HS language, was: Re: Quiet?

<t2flsn$i3u$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Mon, 4 Apr 2022 15:53:42 -0500
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <t2flsn$i3u$1@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me>
<624af118$0$701$14726298@news.sunsite.dk> <t2fbfp$fml$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 4 Apr 2022 20:53:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="52b232ca4e251d02457ffe4d3b391d37";
logging-data="18558"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kT1ErrK0ma9Rx4lGH9iAsvc8foUgFgOc="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.7.0
Cancel-Lock: sha1:nd76EQX74kBtys/QlX54gtB7IxI=
In-Reply-To: <t2fbfp$fml$2@dont-email.me>
Content-Language: en-US
 by: Craig A. Berry - Mon, 4 Apr 2022 20:53 UTC

On 4/4/22 12:56 PM, Simon Clubley wrote:

> Why wasn't Python 3 just another language mode in the existing compiler
> instead of being a whole different compiler ?

In a scripting language, that would have made for an extraordinarily
complicated and unmaintainable (and likely poor-performing) run-time
given that they were changing the fundamentals of how strings are stored
in a language where strings are a first-order data type.

Re: Rust as a HS language, was: Re: Quiet?

<t2g2t3$qrp$1@reader1.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Tue, 5 Apr 2022 00:35:47 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t2g2t3$qrp$1@reader1.panix.com>
References: <t2eo9n$mj7$1@dont-email.me> <t2etk0$9n1$1@reader1.panix.com> <t2fc4n$fml$3@dont-email.me>
Injection-Date: Tue, 5 Apr 2022 00:35:47 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="27513"; 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 - Tue, 5 Apr 2022 00:35 UTC

In article <t2fc4n$fml$3@dont-email.me>,
Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>On 2022-04-04, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>> In article <t2eo9n$mj7$1@dont-email.me>,
>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>>1) The syntax. It's horrible and imposes a higher cognitive load than
>>>it needs to when you are looking at something new or revisiting old code.
>>>That means you are more likely to miss something or work a lot harder
>>>than you need to in order to understand the code.
>>>
>>>One of the official Ada RMs/Style Guides/etc had it right when it pointed
>>>out that you write the code once but read it many times. The Rust people
>>>have forgotten this.
>>
>> Surely this is subjective?
>
>All I can say is that I've learnt lots of languages over the years and
>the Rust syntax is easily the most ugly I have encountered.

Again, that's subjective. I can think of half a dozen languages
that I personally feel are much uglier than Rust, Ada and COBOL
among them. So what? My personal aesthetics have little
bearing on the matter.

Though in fairness, when I first saw Rust I thought to myself,
"big ugly language, but super small runtime and works on bare
metal." I have to admit, it's grown on me since then.

>>>2) No official ISO or similar language standard I can rely on 5/10/20 years
>>>from now when I need to work on my safety or general production critical
>>>code at that point.
>>
>> This is a valid point.
>>
>>>Even though many of the Rust people appear not to understand this, the
>>>lack of those guarantees is a _massive_ problem in the real world.
>>
>> But this is just insulting to the Rust people. They aren't
>> fools. They understand the value of standards, but they're
>> still evolving the language. A standard will come in time.
>
>But other languages are also evolving over time, and they do it in
>a way that guarantees the next language variant is just another
>language mode in the existing compilers. That means I know I can still
>compile code written to that old language variant in the years to come.
>
>If the Rust language isn't going through a formal language standards
>process, how do I know that I can compile existing Rust code in
>5/10/20 years time ?

Again, they're not fools. They understand the value of a robust
standard; when the time comes, I have every confidence that one
will be produced under the auspices of a relevant standards body
but, again, that time hasn't come yet.

Languages usually have a bit of history behind them before they
get standardized.

As for the, "how can I be sure my code will compile..." question
have a look at Rust "editions", that are per-crate attributes.
They provide exactly the sort of guarantees you are looking for.

- Dan C.

Re: Rust as a HS language, was: Re: Quiet?

<624b909b$0$703$14726298@news.sunsite.dk>

  copy mid

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

  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, 4 Apr 2022 20:43:04 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Rust as a HS language, was: Re: Quiet?
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t2eo9n$mj7$1@dont-email.me> <t2etk0$9n1$1@reader1.panix.com>
<t2fc4n$fml$3@dont-email.me> <t2g2t3$qrp$1@reader1.panix.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t2g2t3$qrp$1@reader1.panix.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 26
Message-ID: <624b909b$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: a8e3f352.news.sunsite.dk
X-Trace: 1649119387 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:57313
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 5 Apr 2022 00:43 UTC

On 4/4/2022 8:35 PM, Dan Cross wrote:
> In article <t2fc4n$fml$3@dont-email.me>,
> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>> But other languages are also evolving over time, and they do it in
>> a way that guarantees the next language variant is just another
>> language mode in the existing compilers. That means I know I can still
>> compile code written to that old language variant in the years to come.
>>
>> If the Rust language isn't going through a formal language standards
>> process, how do I know that I can compile existing Rust code in
>> 5/10/20 years time ?

> As for the, "how can I be sure my code will compile..." question
> have a look at Rust "editions", that are per-crate attributes.
> They provide exactly the sort of guarantees you are looking for.

This thing:

https://doc.rust-lang.org/edition-guide/editions/index.html

?

It actually looks like Rust do prioritize compatibility.

Arne

Re: Rust as a HS language, was: Re: Quiet?

<t2g5jj$8kb$1@dont-email.me>

  copy mid

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

  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: Rust as a HS language, was: Re: Quiet?
Date: Mon, 4 Apr 2022 21:21:33 -0400
Organization: A noiseless patient Spider
Lines: 119
Message-ID: <t2g5jj$8kb$1@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me>
<624af118$0$701$14726298@news.sunsite.dk> <t2fbfp$fml$2@dont-email.me>
<624b3ad8$0$692$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 5 Apr 2022 01:21:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="eda4fb7e4afd028f1f9231afd9e2600a";
logging-data="8843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TOyeUFfLX28Fj4NWSlFAGcgRyiVpJLrI="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:WwLHnLB1invRolCp/ypJcCPv9xA=
In-Reply-To: <624b3ad8$0$692$14726298@news.sunsite.dk>
 by: Dave Froble - Tue, 5 Apr 2022 01:21 UTC

On 4/4/2022 2:37 PM, Arne Vajhøj wrote:
> On 4/4/2022 1:56 PM, Simon Clubley wrote:
>> On 2022-04-04, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 4/4/2022 8:28 AM, Simon Clubley wrote:
>>>> 2) No official ISO or similar language standard I can rely on 5/10/20 years
>>>> from now when I need to work on my safety or general production critical
>>>> code at that point.
>>>>
>>>> Even though many of the Rust people appear not to understand this, the
>>>> lack of those guarantees is a _massive_ problem in the real world.
>>>
>>> Not really. Lot of popular languages are not formally standardized.
>>> Python and PHP are not standardized. C# is/was standardized but the
>>> standard is 6 versions behind. It took 13 years before C++ got
>>> standardized.
>>
>> You have just made my point for me Arne. Or to put it another way,
>> Python 2 to Python 3.
>>
>> Why wasn't Python 3 just another language mode in the existing compiler
>> instead of being a whole different compiler ?
>
> (ignoring that I would not call Python a compiler)
>
> The language has evolved. Most languages does.

There is "evolve", and there is "replace" ...

> They could have chosen to prioritize backwards compatibility higher.
> Let us call it "Java approach".

Or, the VMS approach.

> They could have introduced a compatibility mode. Let us call it
> "DEC C approach".
>
> But they did not.
>
> Would difference decisions have been made if it had been an ISO
> committee and not a BDFL?
>
> I don't know.

I'm pretty sure that a committee of people already using the product would not
allow a break such Python 2 to Python 3. That is the difference, and it is a
major difference.

Much as it pains me, I have to state that Simon is "right on" with this discussion.

> If the same people were making the decision then they may likely have
> made the same decision. Whether they have a "core team" hat or an
> "ISO WG member" hat should not change their opinion.

Oh, but it does. When the developers are determined to do as they please, and
are not encumbered by users who might be affected, then you have the Python
issue. It can happen anywhere when there is not user input to decisions.

>> Why did Python 2.7 stay around for as long as it did ? How many are still
>> using it these days due to an existing code base ?
>
> That people have old code bases that they build with old compilers or
> run with old interpreters is not Python specific. Lots of companies
> are buried in technical debt.

Not "lots", but everyone.

So often I see programmer types quite ready to change things. Those footing the
bill may not be so eager. In fact they are not. For the programmers, it is job
security, it is polishing their resume. Not good for anyone but the
programmers, and then they are not good for their employers.

Off with their heads I say ...

>> I can compile C89 code on a compiler 33 years later. When another standard
>> for C is released, it becomes just another language mode in the existing
>> compilers and all the existing C standards are still supported.
>
> That is a choice. They can change it if they want to.
>
>> How confident are you that I can compile C89 code in yet another 10 years ?
>
> Compatibility seems to be a priority so that seems extremely likely.
>
>> In comparison, how confident are you that I can compile existing Python 3
>> or Rust code in another 10 years ?
>
> Python - pretty sure. I believe the Python community learned the
> lesson. Nobody expects an incompatible Python 4.

"Faith". Something not dependent on reality or facts.

> Rust - no idea. I don't follow the Rust community enough to know.
>
>> What's to stop the Rust people from having some great language revamp a
>> few years from now and then stop supporting the existing language variant ?
>
> Obviously nothing.

If the users had any input to such decisions, it would not happen.

> Same applies to all languages.
>
> You will have to evaluate. Do they claim they want to stay compatible?
> Do you have faith in them do as they say? What is the community opinion?
>
> I don't even know what the Rust people say about this.
>
> But if they don't prioritize compatibility and you do, then it is
> of course a reason to not pick rust.

And many other boondoggles ...

--
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: Rust as a HS language, was: Re: Quiet?

<t2g61m$fis$1@dont-email.me>

  copy mid

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

  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: Rust as a HS language, was: Re: Quiet?
Date: Mon, 4 Apr 2022 21:29:04 -0400
Organization: A noiseless patient Spider
Lines: 79
Message-ID: <t2g61m$fis$1@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <t2etk0$9n1$1@reader1.panix.com>
<t2fc4n$fml$3@dont-email.me> <624b3cf7$0$692$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 5 Apr 2022 01:29:26 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="eda4fb7e4afd028f1f9231afd9e2600a";
logging-data="15964"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1/DCfoMIHOgxB0XBZVrjLfcvHAbbB+UE="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:gQJbY8LYAJjjrziPrl6vCQzFoGs=
In-Reply-To: <624b3cf7$0$692$14726298@news.sunsite.dk>
 by: Dave Froble - Tue, 5 Apr 2022 01:29 UTC

On 4/4/2022 2:46 PM, Arne Vajhøj wrote:
> On 4/4/2022 2:07 PM, Simon Clubley wrote:
>> On 2022-04-04, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>>> In article <t2eo9n$mj7$1@dont-email.me>,
>>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>>> 1) The syntax. It's horrible and imposes a higher cognitive load than
>>>> it needs to when you are looking at something new or revisiting old code.
>>>> That means you are more likely to miss something or work a lot harder
>>>> than you need to in order to understand the code.
>>>>
>>>> One of the official Ada RMs/Style Guides/etc had it right when it pointed
>>>> out that you write the code once but read it many times. The Rust people
>>>> have forgotten this.
>>>
>>> Surely this is subjective?
>>
>> All I can say is that I've learnt lots of languages over the years and
>> the Rust syntax is easily the most ugly I have encountered.
>
> Ugly is practically by definition subjective.
>
>>>> 2) No official ISO or similar language standard I can rely on 5/10/20 years
>>> >from now when I need to work on my safety or general production critical
>>>> code at that point.
>>>
>>> This is a valid point.
>>>
>>>> Even though many of the Rust people appear not to understand this, the
>>>> lack of those guarantees is a _massive_ problem in the real world.
>>>
>>> But this is just insulting to the Rust people. They aren't
>>> fools. They understand the value of standards, but they're
>>> still evolving the language. A standard will come in time.
>>
>> But other languages are also evolving over time, and they do it in
>> a way that guarantees the next language variant is just another
>> language mode in the existing compilers. That means I know I can still
>> compile code written to that old language variant in the years to come.
>
> There are no such guarantee.
>
> There are plenty of examples of breaking changes.

There is also things such as Basic+, BP2, VAX Basic, DEC BASIC, Compaq BASIC, HP
BASIC, VSI BASIC that is probably 100% compatible. We have code originally
implemented back in the 1970s, which will still compile and run, correctly,
today. I will admit that the application has changed over the years, and
finding some of that old code might be a task, but, it will still do what it was
written to do.

Can anything be more valuable than that?

Is that something to desire?

> Because even when prioritizing compatibility it is easy to make
> something not compile - or worse compile with a different semantics.
>
> 18 years ago Java added an enum keyword. There were a surprisingly
> amount of code using enum as a variable name.
>
>> If the Rust language isn't going through a formal language standards
>> process, how do I know that I can compile existing Rust code in
>> 5/10/20 years time ?
>
> Rust is almost certainly going through a formal process. All
> major languages has to.
>
> Whether that process prioritize compatibility or not is up
> the people involved in that process.

Not the users, huh?

--
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: Rust as a HS language, was: Re: Quiet?

<624ba715$0$702$14726298@news.sunsite.dk>

  copy mid

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

  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, 4 Apr 2022 22:18:55 -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: Rust as a HS language, was: Re: Quiet?
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t2eo9n$mj7$1@dont-email.me> <t2etk0$9n1$1@reader1.panix.com>
<t2fc4n$fml$3@dont-email.me> <624b3cf7$0$692$14726298@news.sunsite.dk>
<t2g61m$fis$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t2g61m$fis$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 55
Message-ID: <624ba715$0$702$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: df4d79c4.news.sunsite.dk
X-Trace: 1649125141 news.sunsite.dk 702 arne@vajhoej.dk/68.9.63.232:60694
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 5 Apr 2022 02:18 UTC

On 4/4/2022 9:29 PM, Dave Froble wrote:
> On 4/4/2022 2:46 PM, Arne Vajhøj wrote:
>> On 4/4/2022 2:07 PM, Simon Clubley wrote:
>>> But other languages are also evolving over time, and they do it in
>>> a way that guarantees the next language variant is just another
>>> language mode in the existing compilers. That means I know I can still
>>> compile code written to that old language variant in the years to come.
>>
>> There are no such guarantee.
>>
>> There are plenty of examples of breaking changes.
>
> There is also things such as Basic+, BP2, VAX Basic, DEC BASIC, Compaq
> BASIC, HP BASIC, VSI BASIC that is probably 100% compatible.  We have
> code originally implemented back in the 1970s, which will still compile
> and run, correctly, today.  I will admit that the application has
> changed over the years, and finding some of that old code might be a
> task, but, it will still do what it was written to do.

Many languages prioritize compatibility.

> Can anything be more valuable than that?
>
> Is that something to desire?

It is a very desirable thing.

Code should be enhanced and improved, but preferably to meet
increase business demand not to keep up with an ever changing
language standard.

>> Because even when prioritizing compatibility it is easy to make
>> something not compile - or worse compile with a different semantics.
>>
>> 18 years ago Java added an enum keyword. There were a surprisingly
>> amount of code using enum as a variable name.
>>
>>> If the Rust language isn't going through a formal language standards
>>> process, how do I know that I can compile existing Rust code in
>>> 5/10/20 years time ?
>>
>> Rust is almost certainly going through a formal process. All
>> major languages has to.
>>
>> Whether that process prioritize compatibility or not is up
>> the people involved in that process.
>
> Not the users, huh?

They make the decisions. They may or may not be influenced by
the end users.

Arne

Re: Rust as a HS language, was: Re: Quiet?

<624ba880$0$692$14726298@news.sunsite.dk>

  copy mid

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

  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, 4 Apr 2022 22:24:58 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Rust as a HS language, was: Re: Quiet?
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t2eo9n$mj7$1@dont-email.me>
<624af118$0$701$14726298@news.sunsite.dk> <t2fbfp$fml$2@dont-email.me>
<624b3ad8$0$692$14726298@news.sunsite.dk> <t2g5jj$8kb$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t2g5jj$8kb$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 93
Message-ID: <624ba880$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: df4d79c4.news.sunsite.dk
X-Trace: 1649125504 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:60845
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 5 Apr 2022 02:24 UTC

On 4/4/2022 9:21 PM, Dave Froble wrote:
> On 4/4/2022 2:37 PM, Arne Vajhøj wrote:
>> On 4/4/2022 1:56 PM, Simon Clubley wrote:
>>> On 2022-04-04, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>> On 4/4/2022 8:28 AM, Simon Clubley wrote:
>>>>> 2) No official ISO or similar language standard I can rely on
>>>>> 5/10/20 years
>>>>> from now when I need to work on my safety or general production
>>>>> critical
>>>>> code at that point.
>>>>>
>>>>> Even though many of the Rust people appear not to understand this, the
>>>>> lack of those guarantees is a _massive_ problem in the real world.
>>>>
>>>> Not really. Lot of popular languages are not formally standardized.
>>>> Python and PHP are not standardized. C# is/was standardized but the
>>>> standard is 6 versions behind. It took 13 years before C++ got
>>>> standardized.
>>>
>>> You have just made my point for me Arne. Or to put it another way,
>>> Python 2 to Python 3.
>>>
>>> Why wasn't Python 3 just another language mode in the existing compiler
>>> instead of being a whole different compiler ?
>>
>> (ignoring that I would not call Python a compiler)
>>
>> The language has evolved. Most languages does.
>
> There is "evolve", and there is "replace" ...

We are talking evolve here. Replace is different.

>> They could have chosen to prioritize backwards compatibility higher.
>> Let us call it "Java approach".
>
> Or, the VMS approach.

Or the VMS Basic approach (to keep it around languages).

>> They could have introduced a compatibility mode. Let us call it
>> "DEC C approach".
>>
>> But they did not.
>>
>> Would difference decisions have been made if it had been an ISO
>> committee and not a BDFL?
>>
>> I don't know.
>
> I'm pretty sure that a committee of people already using the product
> would not allow a break such Python 2 to Python 3.  That is the
> difference, and it is a major difference.

>> If the same people were making the decision then they may likely have
>> made the same decision. Whether they have a "core team" hat or an
>> "ISO WG member" hat should not change their opinion.
>
> Oh, but it does.  When the developers are determined to do as they
> please, and are not encumbered by users who might be affected, then you
> have the Python issue.  It can happen anywhere when there is not user
> input to decisions.

I do not believe that "ISO WG = end user influence" and "Core team = no
end user influence".

>>> I can compile C89 code on a compiler 33 years later. When another
>>> standard
>>> for C is released, it becomes just another language mode in the existing
>>> compilers and all the existing C standards are still supported.
>>
>> That is a choice. They can change it if they want to.
>>
>>> How confident are you that I can compile C89 code in yet another 10
>>> years ?
>>
>> Compatibility seems to be a priority so that seems extremely likely.
>>
>>> In comparison, how confident are you that I can compile existing
>>> Python 3
>>> or Rust code in another 10 years ?
>>
>> Python - pretty sure. I believe the Python community learned the
>> lesson. Nobody expects an incompatible Python 4.
>
> "Faith".  Something not dependent on reality or facts.

The fact is that any language can decide to make a breaking
change.

The only difference is how likely one consider it.

Arne

Re: Rust as a HS language, was: Re: Quiet?

<t2ge4v$2hl$1@dont-email.me>

  copy mid

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

  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: Rust as a HS language, was: Re: Quiet?
Date: Mon, 4 Apr 2022 23:47:21 -0400
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <t2ge4v$2hl$1@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <t2etk0$9n1$1@reader1.panix.com>
<t2fc4n$fml$3@dont-email.me> <624b3cf7$0$692$14726298@news.sunsite.dk>
<t2g61m$fis$1@dont-email.me> <624ba715$0$702$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 5 Apr 2022 03:47:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="eda4fb7e4afd028f1f9231afd9e2600a";
logging-data="2613"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eCrUb4V+4o+tC8TnxCq7UsrABpuM6F50="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:7b3onfLTmeH5jutT3eF/tI5QX74=
In-Reply-To: <624ba715$0$702$14726298@news.sunsite.dk>
 by: Dave Froble - Tue, 5 Apr 2022 03:47 UTC

On 4/4/2022 10:18 PM, Arne Vajhøj wrote:
> On 4/4/2022 9:29 PM, Dave Froble wrote:
>> On 4/4/2022 2:46 PM, Arne Vajhøj wrote:
>>> On 4/4/2022 2:07 PM, Simon Clubley wrote:
>>>> But other languages are also evolving over time, and they do it in
>>>> a way that guarantees the next language variant is just another
>>>> language mode in the existing compilers. That means I know I can still
>>>> compile code written to that old language variant in the years to come.
>>>
>>> There are no such guarantee.
>>>
>>> There are plenty of examples of breaking changes.
>>
>> There is also things such as Basic+, BP2, VAX Basic, DEC BASIC, Compaq BASIC,
>> HP BASIC, VSI BASIC that is probably 100% compatible. We have code originally
>> implemented back in the 1970s, which will still compile and run, correctly,
>> today. I will admit that the application has changed over the years, and
>> finding some of that old code might be a task, but, it will still do what it
>> was written to do.
>
> Many languages prioritize compatibility.
>
>> Can anything be more valuable than that?
>>
>> Is that something to desire?
>
> It is a very desirable thing.
>
> Code should be enhanced and improved, but preferably to meet
> increase business demand not to keep up with an ever changing
> language standard.

Yes, this is the key.

Some time ago, perhaps in the 1990s, not sure, the Basic developers took a look
at things in general, and declared "we can implement just about anything".
Basic got the RECORD statement, basically similar to structures in C, and some
other things. The concept was "add helpful things, but don't break anything".
That was rather useful.

Another example, I can use Visual Basic a bit. I cannot use VB .NET. Not sure
of all the differences, but a VB program will not compile in .NET. That was
rather distasteful.

--
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: Rust as a HS language, was: Re: Quiet?

<t2hcj6$368$1@reader2.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Tue, 5 Apr 2022 12:27:18 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t2hcj6$368$1@reader2.panix.com>
References: <t2eo9n$mj7$1@dont-email.me> <t2fbfp$fml$2@dont-email.me> <624b3ad8$0$692$14726298@news.sunsite.dk> <t2g5jj$8kb$1@dont-email.me>
Injection-Date: Tue, 5 Apr 2022 12:27:18 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="3272"; 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 - Tue, 5 Apr 2022 12:27 UTC

In article <t2g5jj$8kb$1@dont-email.me>,
Dave Froble <davef@tsoft-inc.com> wrote:
>On 4/4/2022 2:37 PM, Arne Vajhøj wrote:
>> That people have old code bases that they build with old compilers or
>> run with old interpreters is not Python specific. Lots of companies
>> are buried in technical debt.
>
>Not "lots", but everyone.
>
>So often I see programmer types quite ready to change things. Those footing the
>bill may not be so eager. In fact they are not. For the programmers, it is job
>security, it is polishing their resume. Not good for anyone but the
>programmers, and then they are not good for their employers.
>
>Off with their heads I say ...

I strongly disagree. Technology evolves; over time, we learn
about things that work well and we adopt those things, and we
also learn about what does NOT work well, and let those things
fall by the evolutionary wayside. This is good.

But it also means that our software has to evolve. We hit new
scaling limits, we learn about things that work well in new
hardware and software environments, and critically, we learn
about things that do not work well.

C is an interesting case in point. Post the 1988 standard,
compiler writers started to realize that they could take
advantage of "undefined behavior" in the standard to make
aggressive optimizations that changed the program to be
faster, but clearly violated the intent of the programmer.
For example:

int a, b;
if (a * b < 0) {
// Handle overflow case.
} else {
// Do something.
}

Well, signed integer overflow is UB in C, so a compiler is free
to elide the conditional entirely, thus never handling overflow
(and yes, this has appeared in the wild;
https://people.csail.mit.edu/nickolai/papers/wang-undef-2012-08-21.pdf).

So your program that "works" today may not "work" tomorrow, even
though it conforms to a standard, because the standard gives
implementations substantial leeway to do things you did never
anticipated.

Standards are not a panacea of compatibility.

>> [context: Rust changes]
>> Obviously nothing.
>
>If the users had any input to such decisions, it would not happen.

Backwards compatibility for stable Rust is a big goal of the
language and the community. One could simply read up on it; all
of the documentation is available online.

- Dan C.

Re: Rust as a HS language, was: Re: Quiet?

<t2hcmm$368$2@reader2.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Tue, 5 Apr 2022 12:29:10 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t2hcmm$368$2@reader2.panix.com>
References: <t2eo9n$mj7$1@dont-email.me> <t2fc4n$fml$3@dont-email.me> <t2g2t3$qrp$1@reader1.panix.com> <624b909b$0$703$14726298@news.sunsite.dk>
Injection-Date: Tue, 5 Apr 2022 12:29:10 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="3272"; 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 - Tue, 5 Apr 2022 12:29 UTC

In article <624b909b$0$703$14726298@news.sunsite.dk>,
Arne Vajhøj <arne@vajhoej.dk> wrote:
>On 4/4/2022 8:35 PM, Dan Cross wrote:
>> In article <t2fc4n$fml$3@dont-email.me>,
>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>> But other languages are also evolving over time, and they do it in
>>> a way that guarantees the next language variant is just another
>>> language mode in the existing compilers. That means I know I can still
>>> compile code written to that old language variant in the years to come.
>>>
>>> If the Rust language isn't going through a formal language standards
>>> process, how do I know that I can compile existing Rust code in
>>> 5/10/20 years time ?
>
>> As for the, "how can I be sure my code will compile..." question
>> have a look at Rust "editions", that are per-crate attributes.
>> They provide exactly the sort of guarantees you are looking for.
>
>This thing:
>
>https://doc.rust-lang.org/edition-guide/editions/index.html
>
>?
>
>It actually looks like Rust do prioritize compatibility.

Yup. That's it. They give pretty strict guarantees of
backwards compate for the stable parts of the language.
They saw the messes in Python on other languages, and
consciously sought to avoid them.

- Dan C.

Re: Rust as a HS language, was: Re: Quiet?

<jb2t2oF49voU1@mid.individual.net>

  copy mid

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

  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: Rust as a HS language, was: Re: Quiet?
Date: Tue, 5 Apr 2022 09:04:24 -0400
Lines: 9
Message-ID: <jb2t2oF49voU1@mid.individual.net>
References: <t2eo9n$mj7$1@dont-email.me> <t2fc4n$fml$3@dont-email.me>
<t2g2t3$qrp$1@reader1.panix.com> <624b909b$0$703$14726298@news.sunsite.dk>
<t2hcmm$368$2@reader2.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net srOl9vniLWjBkW5Jd5LODQDXSTBCIw3r/2nMws11EAVH4K0WXR
Cancel-Lock: sha1:Vx27+lDYxZFqXubVubTMeZ/upXQ=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <t2hcmm$368$2@reader2.panix.com>
 by: Bill Gunshannon - Tue, 5 Apr 2022 13:04 UTC

So, I have been following this discussion for some time now. I have
never used Rust. I have never even looked at Rust. But I do have one
question.

Just what is it that Rust can do that none of the already existing
languages could do?

bill

Re: Rust as a HS language, was: Re: Quiet?

<e2032650-e72a-42e9-b417-4e2aaaea9482n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:5be3:0:b0:441:2af0:6ea2 with SMTP id k3-20020ad45be3000000b004412af06ea2mr2873593qvc.116.1649164584287;
Tue, 05 Apr 2022 06:16:24 -0700 (PDT)
X-Received: by 2002:a05:622a:170b:b0:2e1:a659:8b4 with SMTP id
h11-20020a05622a170b00b002e1a65908b4mr3018847qtk.107.1649164584081; Tue, 05
Apr 2022 06:16:24 -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: Tue, 5 Apr 2022 06:16:23 -0700 (PDT)
In-Reply-To: <t2hcmm$368$2@reader2.panix.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.210.249.130; posting-account=uNeudQoAAACm0ETOCzPNrvtq-73lRbuD
NNTP-Posting-Host: 66.210.249.130
References: <t2eo9n$mj7$1@dont-email.me> <t2fc4n$fml$3@dont-email.me>
<t2g2t3$qrp$1@reader1.panix.com> <624b909b$0$703$14726298@news.sunsite.dk> <t2hcmm$368$2@reader2.panix.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e2032650-e72a-42e9-b417-4e2aaaea9482n@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: jchim...@gmail.com (plugh)
Injection-Date: Tue, 05 Apr 2022 13:16:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 47
 by: plugh - Tue, 5 Apr 2022 13:16 UTC

"Chaos, Confusion, Disorder.... My work here is done." :)

To most of you who didn't really follow the original link, please favour my posting some interesting (to me) bits:

"The prior chapter walked through a Rust library and CLI tool in the service of introducing software security concepts. This chapter will focus on the Rust language proper - we'll tour its syntax, features, and conventions.
Now we won't be covering all of Rust. It's a big language. Much closer to C++ than C. Our favorite comprehensive Rust book, Programming Rust, is a 700+ page tome, a relentless enumeration of language features. Now it's a phenomenal book, and a major inspiration for this one. But we're talking multiple-Costco-mini-barrels-of-whole-bean-coffee kinds of endurance.
Part of the challenge is the sheer breadth of features Rust offers. Being a relatively new language, Rust has the benefit of hindsight: it's free to cherry-pick successful aspects of its predecessors.
This includes OCaml's algebraic data types, C++'s monomorphization, Scheme's hygienic macros, etc2. While the Rust Team strives for a cohesive design3, the language juggles several influences.
Fortunately for us, you don't need an exhaustive understanding of Rust to be productive in it. This section previews key concepts - just enough to get you started reading and writing Rust snippets. We'll cement those concepts in the rest of the book by building an embedded-friendly, high assurance library.
With that as a foundation, you'll be prepared to write your own real-world Rust programs. And to tackle learning additional language features (smart pointers, channels, async, macros, etc) as project needs arise.
Our tour of Rust will be broken into six short-ish parts:
Low-Level Data Representation - primitives, tuples, arrays, references, and slices.
High-level Data Representation - structs, enums, generics, and traits.
Control Flow - conditional statements, loops, and pattern matching.
Ownership Principles - understanding the core principles of Rust's most novel feature.
Ownership in Practice - concepts for working with ownership day-to-day.
Error Handling - propagating failures and/or maintaining availability."

-- https://highassurance.rs/chp3/_index.html

The reason for posting this topic on comp.os.vms is that this language allows one to write software that provably eliminates (!) certain classes of Undefined Behavior. I can't stress the importance of that to those of us whose still writing C

I posit that those interested in the intersection of such languages and VMS will find this a useful language, and worth their time to study. Even if it's not available on VMS

Re: Rust as a HS language, was: Re: Quiet?

<02820cb2-0b30-4c2d-8b7f-a4ff9dcb21b4n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:3d3:b0:2e2:1294:5817 with SMTP id k19-20020a05622a03d300b002e212945817mr2912602qtx.638.1649164644184;
Tue, 05 Apr 2022 06:17:24 -0700 (PDT)
X-Received: by 2002:a05:620a:4309:b0:67b:3fc1:86eb with SMTP id
u9-20020a05620a430900b0067b3fc186ebmr2109387qko.495.1649164643977; Tue, 05
Apr 2022 06:17:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 5 Apr 2022 06:17:23 -0700 (PDT)
In-Reply-To: <jb2t2oF49voU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=66.210.249.130; posting-account=uNeudQoAAACm0ETOCzPNrvtq-73lRbuD
NNTP-Posting-Host: 66.210.249.130
References: <t2eo9n$mj7$1@dont-email.me> <t2fc4n$fml$3@dont-email.me>
<t2g2t3$qrp$1@reader1.panix.com> <624b909b$0$703$14726298@news.sunsite.dk>
<t2hcmm$368$2@reader2.panix.com> <jb2t2oF49voU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <02820cb2-0b30-4c2d-8b7f-a4ff9dcb21b4n@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: jchim...@gmail.com (plugh)
Injection-Date: Tue, 05 Apr 2022 13:17:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1811
 by: plugh - Tue, 5 Apr 2022 13:17 UTC

On Tuesday, April 5, 2022 at 6:04:27 AM UTC-7, Bill Gunshannon wrote:
> So, I have been following this discussion for some time now. I have
> never used Rust. I have never even looked at Rust. But I do have one
> question.
>
> Just what is it that Rust can do that none of the already existing
> languages could do?
>
> bill

For this particular topic, it eliminates certain classes of Undefined Behavior. There's a great deal more, but I'd start there.

Re: Rust as a HS language, was: Re: Quiet?

<fdcfa378-316e-4f9c-9457-09a33bd89c74n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:59d4:0:b0:2e1:f86d:b38c with SMTP id f20-20020ac859d4000000b002e1f86db38cmr2853263qtf.285.1649164889894;
Tue, 05 Apr 2022 06:21:29 -0700 (PDT)
X-Received: by 2002:ac8:5519:0:b0:2eb:bbdb:b2e5 with SMTP id
j25-20020ac85519000000b002ebbbdbb2e5mr2871615qtq.651.1649164889486; Tue, 05
Apr 2022 06:21:29 -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: Tue, 5 Apr 2022 06:21:29 -0700 (PDT)
In-Reply-To: <e2032650-e72a-42e9-b417-4e2aaaea9482n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.210.249.130; posting-account=uNeudQoAAACm0ETOCzPNrvtq-73lRbuD
NNTP-Posting-Host: 66.210.249.130
References: <t2eo9n$mj7$1@dont-email.me> <t2fc4n$fml$3@dont-email.me>
<t2g2t3$qrp$1@reader1.panix.com> <624b909b$0$703$14726298@news.sunsite.dk>
<t2hcmm$368$2@reader2.panix.com> <e2032650-e72a-42e9-b417-4e2aaaea9482n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fdcfa378-316e-4f9c-9457-09a33bd89c74n@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: jchim...@gmail.com (plugh)
Injection-Date: Tue, 05 Apr 2022 13:21:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: plugh - Tue, 5 Apr 2022 13:21 UTC

To follow up on the UB focus:

"Undefined behavior is still possible in Rust, if using unsafe keyword6, but it's almost eliminated in the safe subset of Rust. That's a major part of why the Rust language is so amenable to writing correct, reliable software.. Rust removes UB, nearly entirely, by default.
Why the "almost eliminated" and "nearly entirely" caveats?
At the time of this writing, Rust does not yet have an official language standard or specification, like C or C++. So it's difficult to make a definitive claim.
The Rust Reference contains a non-exhaustive list of behaviors considered undefined in Rust6, all of which would require the unsafe keyword to introduce. So there are likely only two potential sources of UB in Rust:
unsafe blocks whose invariants aren't actually upheld (our fault).
Rare compiler bugs7 that threaten soundness (patched once discovered)."
-- https://highassurance.rs/chp3/undef.html

Re: Rust as a HS language, was: Re: Quiet?

<1b60812c-6d40-479e-9e01-7f5ad15390den@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:593:b0:2e1:eabd:5e25 with SMTP id c19-20020a05622a059300b002e1eabd5e25mr3063297qtb.191.1649166973759;
Tue, 05 Apr 2022 06:56:13 -0700 (PDT)
X-Received: by 2002:ad4:5dc9:0:b0:441:56ad:8d93 with SMTP id
m9-20020ad45dc9000000b0044156ad8d93mr2705165qvh.76.1649166973624; Tue, 05 Apr
2022 06:56:13 -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: Tue, 5 Apr 2022 06:56:13 -0700 (PDT)
In-Reply-To: <02820cb2-0b30-4c2d-8b7f-a4ff9dcb21b4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.210.249.130; posting-account=uNeudQoAAACm0ETOCzPNrvtq-73lRbuD
NNTP-Posting-Host: 66.210.249.130
References: <t2eo9n$mj7$1@dont-email.me> <t2fc4n$fml$3@dont-email.me>
<t2g2t3$qrp$1@reader1.panix.com> <624b909b$0$703$14726298@news.sunsite.dk>
<t2hcmm$368$2@reader2.panix.com> <jb2t2oF49voU1@mid.individual.net> <02820cb2-0b30-4c2d-8b7f-a4ff9dcb21b4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1b60812c-6d40-479e-9e01-7f5ad15390den@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: jchim...@gmail.com (plugh)
Injection-Date: Tue, 05 Apr 2022 13:56:13 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 9
 by: plugh - Tue, 5 Apr 2022 13:56 UTC

On Tuesday, April 5, 2022 at 6:17:25 AM UTC-7, plugh wrote:
> On Tuesday, April 5, 2022 at 6:04:27 AM UTC-7, Bill Gunshannon wrote:
> > So, I have been following this discussion for some time now. I have
> > never used Rust. I have never even looked at Rust. But I do have one
> > question.
> >
> > Just what is it that Rust can do that none of the already existing
> > languages could do?

It also teaches what shit code one has written over their professional career.

Re: Rust as a HS language, was: Re: Quiet?

<t2hm2a$pl7$1@reader2.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Tue, 5 Apr 2022 15:08:58 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t2hm2a$pl7$1@reader2.panix.com>
References: <t2eo9n$mj7$1@dont-email.me> <624b909b$0$703$14726298@news.sunsite.dk> <t2hcmm$368$2@reader2.panix.com> <jb2t2oF49voU1@mid.individual.net>
Injection-Date: Tue, 5 Apr 2022 15:08:58 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="26279"; 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 - Tue, 5 Apr 2022 15:08 UTC

In article <jb2t2oF49voU1@mid.individual.net>,
Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>So, I have been following this discussion for some time now. I have
>never used Rust. I have never even looked at Rust. But I do have one
>question.
>
>Just what is it that Rust can do that none of the already existing
>languages could do?

There are three main interacting features that are unique in
their combination in the language that Rust brings to bear:

1) Lifetimes attached to pointers are a first-class primitive in
the language. They are literally part of the type.
References cannot outlive the objects they refer to.
2) A compile-time borrow checker that ensures that either a
single mutable reference to an object, or one or more
immutable references. In safe rust code, data races are
impossible.
3) Object ownership is a first-class primitive in the language,
and every object has exactly one owner. All objects must be
initialized before use. Dangling pointers and uninitialized
pointers are

The combination of these things is incredibly powerful, and
gives you type and memory safety _without garbage collection_.
The result is that you program as if you were using a managed
language, but with explicit control over memory allocation.

You can even do this on bare metal. The langauge gives you a
high degree of abstraction with the "core" library, even in
kernel mode. In that context, it's actually quite pleasant to
use.

- Dan C.

Re: Rust as a HS language, was: Re: Quiet?

<t2hu33$lpu$1@dont-email.me>

  copy mid

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

  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: Rust as a HS language, was: Re: Quiet?
Date: Tue, 5 Apr 2022 17:25:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <t2hu33$lpu$1@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <624af118$0$701$14726298@news.sunsite.dk> <t2fbfp$fml$2@dont-email.me> <624b3ad8$0$692$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 5 Apr 2022 17:25:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="aeec0792cdf80fb738e5d757880e3002";
logging-data="22334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZRvU03K/SLjnAE5j4KRcj6E0TH1zf7VI="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:38neVTF5UiIUSM8dknos7UZL8gE=
 by: Simon Clubley - Tue, 5 Apr 2022 17:25 UTC

On 2022-04-04, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 4/4/2022 1:56 PM, Simon Clubley wrote:
>>
>> Why wasn't Python 3 just another language mode in the existing compiler
>> instead of being a whole different compiler ?
>
> (ignoring that I would not call Python a compiler)
>

In that case, would you have said (for example) UCSD Pascal wasn't
a compiler ?

Python can output .pyc files but also has a way of running code
interactively if desired.

Simon.

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

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor