Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A formal parsing algorithm should not always be used. -- D. Gries


computers / comp.os.vms / Re: 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
Re: Rust as a HS language, was: Re: Quiet?

<t2q8jm$334$1@dont-email.me>

  copy mid

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

  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: Fri, 8 Apr 2022 21:14:30 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 123
Message-ID: <t2q8jm$334$1@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <t2mkq4$ib9$1@dont-email.me> <t2mu1q$b6$3@reader1.panix.com> <t2na4b$sdf$1@dont-email.me> <t2nbj4$mce$4@reader1.panix.com> <t2q1u3$ddm$1@dont-email.me> <6250943c$0$695$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Apr 2022 21:14:30 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d6690e4a1463064a63340ca4f5429bc8";
logging-data="3172"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9XUKBdLTRCOvIt0uMQEoySaFLr2jQa28="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:C7DJyFgE6IONKw3/DbY/7QqD8GQ=
 by: Simon Clubley - Fri, 8 Apr 2022 21:14 UTC

On 2022-04-08, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 4/8/2022 3:20 PM, Simon Clubley wrote:
>> On 2022-04-07, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>>>
>>> Could you perhaps provide a citation to one of these articles?
>>>
>>
>> Interesting question. I obviously can't remember the locations of
>> the articles I found in the past, so I looked at a small sample of
>> articles returned by Google to see if I had problems with them.
>>
>> Comments below.
>>
>> https://dev.to/katholder/pros-and-cons-of-rust-language-313i
>>
>> Obviously a gushing user type writeup with non of the serious
>> analysis and flaws such as unsafe code you would expect to see.
>
> That article is pretty bad. 99% filler.
>

Yes, it is. I included it because it was one of the first articles
Google returned to me when I did a search for Rust language articles.

>> https://codilime.com/blog/why-is-rust-programming-language-so-popular/
>>
>> Mentions briefly unsafe mode
>
> There are 3 sections about it.
>
>> but doesn't make it clear that you can
>> invalidate _all_ the unique features and guarantees in Rust when you
>> use it.
>
> It doesn't because that is not the case.
>
> It disable some features but not all - among other things it does
> not disable memory ownership.
>

To go back to one of the examples I posted recently (which I picked at
random from a list of Rust CVEs):

https://rustsec.org/advisories/RUSTSEC-2020-0148.html

|Affected versions of this crate have the following issues:
| |Ptr implements Send and Sync for all types, this can lead to data races by
|sending non-thread safe types across threads.
|

Avoiding data races is advertised as a core feature of Rust and this
library managed to violate that rule.

|Ptr::get violates mutable alias rules by returning multiple mutable
|references to the same object.
|

_This_ violates the core feature of Rust which is the borrow checker.

|Ptr::write uses non-atomic writes to the underlying pointer. This means
|that when used across threads it can lead to data races.

Another data races problem.

>
>> Based on the complete bypassing of Rust's unique features seen in the
>> CVEs when running in unsafe mode,
>
> Your assumption about unsafe bypassing everything is simply wrong.
>

I'd call the above examples of the complete bypassing of Rust's unique
features. And it doesn't even matter how they did it. What matters is
that they did.

>> the following is either wrong or at
>> least misleading depending on how you look at it:
>>
>> |Rust lets you live dangerously if you need to, to a point. Rust's safeties
>> |can be partly suspended where you need to manipulate memory directly, such
>> |as dereferencing a raw pointer a la C/C++. The key word is partly, because
>> |Rust's memory safety operations can never be completely disabled. Even
>> |then, you almost never have to take off the seatbelts for common use cases,
>> |so the end result is software that's safer by default.
>>
>> Can never be fully disabled ? There are a set of CVEs that say otherwise.
>
> No.
>
> Some memory safety can be disabled by unsafe. And the CVE's are
> example of that.
>
> The CVE does not show all memory safety disabled.
>
> That is your imagination.
>

Just this one CVE shows the borrow checker being bypassed and the
eliminating data races feature of Rust also being bypassed.

I also posted another example of a traditional buffer overflow issue.

I would call this all memory safety being disabled, so no, it's not
my imagination.

>>
>> https://blog.rust-lang.org/2022/01/20/cve-2022-21658.html
>>
>> Not the first time I have seen that type of mistake elsewhere. Interesting
>> that Rust can have the same problem and that it wasn't detected until now.
>
> There are still plenty of opportunities for problems in Rust.
>

Would be nice if those articles pointed that out instead of gushing
over Rust in the same way as people did over Java in the early days.

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?

<841e04a7-ceb7-4da2-b532-a6fa45fa0eb5n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:6cc:b0:69b:dd1b:3235 with SMTP id 12-20020a05620a06cc00b0069bdd1b3235mr3232864qky.374.1649458052969;
Fri, 08 Apr 2022 15:47:32 -0700 (PDT)
X-Received: by 2002:a05:620a:38e:b0:67d:31cc:d718 with SMTP id
q14-20020a05620a038e00b0067d31ccd718mr14479521qkm.617.1649458052801; Fri, 08
Apr 2022 15:47:32 -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: Fri, 8 Apr 2022 15:47:32 -0700 (PDT)
In-Reply-To: <t2q8jm$334$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:642:c301:502b:b519:1b61:798:f41e;
posting-account=a_gCewoAAAD0QiVN02iHDdQ3zIcCoJqL
NNTP-Posting-Host: 2601:642:c301:502b:b519:1b61:798:f41e
References: <t2eo9n$mj7$1@dont-email.me> <t2mkq4$ib9$1@dont-email.me>
<t2mu1q$b6$3@reader1.panix.com> <t2na4b$sdf$1@dont-email.me>
<t2nbj4$mce$4@reader1.panix.com> <t2q1u3$ddm$1@dont-email.me>
<6250943c$0$695$14726298@news.sunsite.dk> <t2q8jm$334$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <841e04a7-ceb7-4da2-b532-a6fa45fa0eb5n@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: dhog...@gmail.com (Don Baccus)
Injection-Date: Fri, 08 Apr 2022 22:47:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 17
 by: Don Baccus - Fri, 8 Apr 2022 22:47 UTC

On Friday, April 8, 2022 at 2:14:33 PM UTC-7, Simon Clubley wrote:
> On 2022-04-08, Arne Vajhøj <ar...@vajhoej.dk> wrote:

> Just this one CVE shows the borrow checker being bypassed and the
> eliminating data races feature of Rust also being bypassed.
>
> I also posted another example of a traditional buffer overflow issue.
>
> I would call this all memory safety being disabled, so no, it's not
> my imagination.

The point, of course, is that while you can make this kind of error within an unsafe block (?) section (? I don't actually know much about rust), outside of these explicitly marked unsafe sections of code you are prevented from accidentally making these errors.

Discounting this as being worthless is well ... uhhh ... I can't really think of any thing polite to say so I'll just sit here shaking my head.

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

<a3b299ca-1f94-4f3f-9e9d-21b8d7a5fd30n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:41d6:0:b0:67e:4494:c5e9 with SMTP id o205-20020a3741d6000000b0067e4494c5e9mr14518101qka.605.1649458440014;
Fri, 08 Apr 2022 15:54:00 -0700 (PDT)
X-Received: by 2002:a05:622a:228c:b0:2ec:2e0a:51c0 with SMTP id
ay12-20020a05622a228c00b002ec2e0a51c0mr4975860qtb.651.1649458439880; Fri, 08
Apr 2022 15:53:59 -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: Fri, 8 Apr 2022 15:53:59 -0700 (PDT)
In-Reply-To: <62506d2e$0$702$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:642:c301:502b:b519:1b61:798:f41e;
posting-account=a_gCewoAAAD0QiVN02iHDdQ3zIcCoJqL
NNTP-Posting-Host: 2601:642:c301:502b:b519:1b61:798:f41e
References: <t2eo9n$mj7$1@dont-email.me> <jb8ci7F6634U2@mid.individual.net>
<t2n0h3$fgk$2@reader1.panix.com> <t2navi$sdf$2@dont-email.me>
<t2nbhd$mce$3@reader1.panix.com> <62506d2e$0$702$14726298@news.sunsite.dk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a3b299ca-1f94-4f3f-9e9d-21b8d7a5fd30n@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: dhog...@gmail.com (Don Baccus)
Injection-Date: Fri, 08 Apr 2022 22:54:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 31
 by: Don Baccus - Fri, 8 Apr 2022 22:53 UTC

On Friday, April 8, 2022 at 10:13:21 AM UTC-7, Arne Vajhøj wrote:
> On 4/7/2022 2:46 PM, Dan Cross wrote:
> > In article <t2navi$sdf$2...@dont-email.me>,
> > Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
> >> BTW, I wouldn't mind seeing Ada's ranged integers showing up elsewhere,
> >> including being supported as an array index. That's a very nice feature
> >> of Ada.
> >
> > That's a feature I would very much like to have.
>
> Pascal has it.
>
> :-)
>
> $ type ar.pas
> program ar(input,output);
>
> type
> r = 1..3;
> a = array[r] of integer;

Yes, ADA took the idea from Pascal.

The Oregon Software Pascal-2 compiler leveraged this to reduce checking (when checking was enabled) and that worked reasonably well if the programmer was careful about declaring ranges when it made sense to do so.

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

<t2qfsp$lat$1@dont-email.me>

  copy mid

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

  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: Fri, 8 Apr 2022 23:18:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <t2qfsp$lat$1@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <t2mkq4$ib9$1@dont-email.me> <t2mu1q$b6$3@reader1.panix.com> <t2na4b$sdf$1@dont-email.me> <t2nbj4$mce$4@reader1.panix.com> <t2q1u3$ddm$1@dont-email.me> <6250943c$0$695$14726298@news.sunsite.dk> <t2q8jm$334$1@dont-email.me> <841e04a7-ceb7-4da2-b532-a6fa45fa0eb5n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Apr 2022 23:18:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9c87b31ad52d213c456dadf4ea04770f";
logging-data="21853"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LRfKuwJB49y6W7jLgJT7hTWKvChxnICA="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:YnFB09HOE4GgMmHuMgGkX6KSNcA=
 by: Simon Clubley - Fri, 8 Apr 2022 23:18 UTC

On 2022-04-08, Don Baccus <dhogaza@gmail.com> wrote:
> On Friday, April 8, 2022 at 2:14:33 PM UTC-7, Simon Clubley wrote:
>> On 2022-04-08, Arne Vajhøj <ar...@vajhoej.dk> wrote:
>
>> Just this one CVE shows the borrow checker being bypassed and the
>> eliminating data races feature of Rust also being bypassed.
>>
>> I also posted another example of a traditional buffer overflow issue.
>>
>> I would call this all memory safety being disabled, so no, it's not
>> my imagination.
>
> The point, of course, is that while you can make this kind of error within an unsafe block (?) section (? I don't actually know much about rust), outside of these explicitly marked unsafe sections of code you are prevented from accidentally making these errors.
>
> Discounting this as being worthless is well ... uhhh ... I can't really think of any thing polite to say so I'll just sit here shaking my head.

At no point have I called the features Rust offers in safe mode worthless.

I'm just taking issue with the claims in the articles I quoted, about
still been somewhat protected in unsafe mode, by pointing to actual
CVEs that violated the basic core features of Rust (the borrow checker
and the data races protection) that its advocates say make Rust unique.

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?

<t2qhqp$1p90$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 00:51:53 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2qhqp$1p90$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2n2b1$nvk$1@dont-email.me> <t2ncib$ra7$2@reader1.panix.com> <t2nn0k$rns$1@gioia.aioe.org> <t2p9ts$ipe$2@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="58656"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Fri, 8 Apr 2022 23:51 UTC

On 04/08/22 13:30, Dan Cross wrote:
> In article<t2nn0k$rns$1@gioia.aioe.org>,
> chris<chris-nospam@tridac.net> wrote:
>> Far too much of an academic attitude.
>
> Sounds like one of those "ad hominem on the sly" things you
> were talking about.

Not an insult. We need the academics to do the research, but it's
the engineers who have to translate the theory into usable product,
where possible.

>
>> It's an imperfect world and
>> in real life, systems get designed and built within the constraints
>> of available tech of the day. Usually too much risk in working at
>> the bleeding edge of tech, especially with unproven tools.
>
> Static typing is not an "unproven tool".
>
> - Dan C.
>

Don't remember discussing static typing at all...

Chris

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

<t2qigs$1vub$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 01:03:40 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2qigs$1vub$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2l9jp$b8i$1@gioia.aioe.org> <t2mu8f$b6$4@reader1.panix.com> <t2n1o9$1fjb$1@gioia.aioe.org> <t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org> <624f7cce$0$702$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="65483"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 00:03 UTC

On 04/08/22 01:07, Arne Vajhøj wrote:
> On 4/7/2022 5:50 PM, chris wrote:
>> On 04/07/22 19:59, Dan Cross wrote:
>>> In article<t2n1o9$1fjb$1@gioia.aioe.org>,
>>> chris<chris-nospam@tridac.net> wrote:
>>>> I don't apologise for that. Those who are not prepared to make
>>>> the effort to learn their craft and accept substandard should
>>>> not be in the business, no excuses...
>>>
>>> I think it's odd that people reject better tooling while they
>>> assert that programmers should "make the effort to learn their
>>> craft." Why are these things perceived as mutually exclusive?
>>> Indeed, why isn't part of learning the "craft" adopting better
>>> tooling? And who suggested accepting substandard results?
>>>
>>> On the other hand, those who stick their collective heads in the
>>> sand and pretend that the same old techniques using the same old
>>> tools in the same old way should consider leaving the business.
>>
>> There you are again, another dig at others suggest insecurity, but
>> I digress. Fortunately, people like you don't get to decide who
>> works in the business and who doesn't.
>
> "And why beholdest thou the mote that is in thy brother's eye, but
> considerest not the beam that is in thine own eye?"
>
>> That's decided by project
>> managers and engineers who look for the right kind of experience
>> and attitude for the work they are trying to get done...
>
> Hopefully project managers are never involved in making
> decisions about tech stack as it is not a project management
> matter.
>
> Decisions about tech stack is an architecture matter and
> architects should be the primary decision makers. They
> can solicit input from software engineering to verify
> that would should work actually does work in practice.
>
> Arne
>

In companies i've worked for, many of them, only the tech /
team leaders have enough of a grip on a project to know what
skills are required for the task and the sort of personality
that would fit into the team. In the UK, it's usually someone
at senior tech level that runs the interview, never HR.
HR may run the background checks, but are rarely qualified
to ask the right questions from a tech point of view.

Might be different in the US though...

Chris

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

<t2qm09$121c$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 02:03:05 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2qm09$121c$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2n1o9$1fjb$1@gioia.aioe.org> <t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org> <t2p9mc$ipe$1@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="34860"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 01:03 UTC

On 04/08/22 13:26, Dan Cross wrote:

>
> I was responding to the culmination of three things that you
> wrote:
>
> "This sounds like medication to cure everyone from their sloppy
> programming. The infantilisation of complex subjects, just to give the
> lazy an easier time, while still getting the product built."

>
> And then,
>
> "[...] if you have been in the business for decades, you know
> what works and what doesn't and what is fluff, so a certain
> arrogance and intolerance of fools is normal."
>
> And finally, an allusion to, "often hard won experience in
> product delivery".
>
> So in the first quote, you seem to be asserting that safer
> languages are for the lazy who just don't want to put in the
> work, while in the second, you refer to "what works and what
> doesn't and what is fluff", but without acknowledging that new
> techniques and tools are introduced all the time.

If you intentionally misrepresent in joining the dots,
expect to reach the wrong conclusions.

>
> And finally you allude to your "hard won experience" while
> simultaneously discounting others who disagree with you.

Remind me, where did I discount others ?.

>
> Taken together, this seems to indicate an attitude of, "if it
> ain't broke, don't fix it" and aversion to incorporating change,
> which seems strange. Truly, is the way you develop software
> _now_ the same as how you developed software 25 years ago?

In a lot of ways, yes and true of many companies i've done work
for in the past. Don't know where you have been, but most
companies prefer proven methods over fashion, because it reduces
risk and cost overruns. Sure, keep an eye on new ideas, but
stick to core to get the job done and meet targets. The tools change,
but the overall process remains largely the same.

>
>>> Entire new classes of problems that were once obscure research
>>> domains have become the workaday domain of everyday programmers
>>> (parallel programming, multithreading, distributed systems).
>>> Interactivity has gone from terminals to graphical workstations
>>> to web browsers. The unit of computing has gone from one CPU to
>>> a multicore machine to a rack to a datacenter and beyond. We've
>>> gone from "testing" being something lesser humans did to an
>>> accepted practice performed by programmers and carried out in an
>>> automated fashion.
>>>
>>> Distributed, scalable systems hosted in geographically dispersed
>>> facilities, often pushed automatically by continuous integration
>>> pipelines fed by distributed revision control repositories are
>>> the new normal for tens of thousands of programmers across the
>>> industry.
>>
>> Yes, oh, the complexity :-).
>>
>>> So yeah, keep what works (let's be honest: mostly techniques),
>>> but if you're not also keeping up with the changes in technology
>>> you're going to be left behind in an asymptotically shrinking
>>> pool of legacy technology.

Now we have it: Perhaps you are pre conditioned by the idea
that vms is a dinosaur that has no place in "modern
computing" ?. Far from it, may have had a difficult time with
HP, but a robust os still in wide use and under active
development.

>>
>> Obviously, tech is a lifelong learning experience, always a
>> student makes it very attractive. Take the best or useful
>> ideas of the new, while maintaining core expertise in the
>> current technology.
>
> Yes, but the critical point is that the "current technology"
> changes.

Repeating the obvious gets tiresome after a while.

>

>>>
>>> On the other hand, those who stick their collective heads in the
>>> sand and pretend that the same old techniques using the same old
>>> tools in the same old way should consider leaving the business.
>>
>> There you are again, another dig at others suggest insecurity, but
>> I digress. Fortunately, people like you don't get to decide who
>> works in the business and who doesn't. That's decided by project
>> managers and engineers who look for the right kind of experience
>> and attitude for the work they are trying to get done...
>
> You seem to be taking what I say rather personally. Perhaps
> don't?

Well, "better" is subjective. If you have a system that
produces results, why does it need to be fixed ?. Use a wide
variety of tools for clients, various ide's scripting and more,
but still wedded to an ancient editor and makefile environment
for my own work.

You seem to be suggesting that those who value proven but
not leading edge development methods are somehow deficient. If so,
expect a response.Rants about Head in sand attitudes don't
help either.

If you want to be an evangelist for rust, good for you, but
sorry, just suspicious of salesman of any kind, however good
the product. Far from mainstream and proven so far, even
though it's been around for (what did you say ?) 10+ years,
suggests it's not a great hit anywhere.

>
> On the other hand, you write the following about those of us who
> choose to use safer tools:
>
> "This sounds like medication to cure everyone from their sloppy
> programming. The infantilisation of complex subjects, just to give the
> lazy an easier time, while still getting the product built."
>

Some sections of society these days seem to think rewarding failure
a good idea, but not everyone would agree. Good programming is not
about language or tools, but an attitude of mind, like all professional
work. That's what I was trying to get across...

Chris

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

<046363d4-2dd9-4e7c-a4bf-3f9ec4bdc265n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:5c66:0:b0:443:5f43:2a5d with SMTP id i6-20020ad45c66000000b004435f432a5dmr18077846qvh.90.1649466968995;
Fri, 08 Apr 2022 18:16:08 -0700 (PDT)
X-Received: by 2002:a05:6214:258a:b0:443:e73c:7419 with SMTP id
fq10-20020a056214258a00b00443e73c7419mr19013571qvb.104.1649466968880; Fri, 08
Apr 2022 18:16:08 -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: Fri, 8 Apr 2022 18:16:08 -0700 (PDT)
In-Reply-To: <t2qm09$121c$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:642:c301:502b:461:c54e:c58c:e83d;
posting-account=a_gCewoAAAD0QiVN02iHDdQ3zIcCoJqL
NNTP-Posting-Host: 2601:642:c301:502b:461:c54e:c58c:e83d
References: <t2eo9n$mj7$1@dont-email.me> <t2n1o9$1fjb$1@gioia.aioe.org>
<t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org>
<t2p9mc$ipe$1@reader1.panix.com> <t2qm09$121c$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <046363d4-2dd9-4e7c-a4bf-3f9ec4bdc265n@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: dhog...@gmail.com (Don Baccus)
Injection-Date: Sat, 09 Apr 2022 01:16:08 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 141
 by: Don Baccus - Sat, 9 Apr 2022 01:16 UTC

On Friday, April 8, 2022 at 6:03:09 PM UTC-7, chris wrote:
> On 04/08/22 13:26, Dan Cross wrote:
>
> >
> > I was responding to the culmination of three things that you
> > wrote:
> >
> > "This sounds like medication to cure everyone from their sloppy
> > programming. The infantilisation of complex subjects, just to give the
> > lazy an easier time, while still getting the product built."
>
> >
> > And then,
> >
> > "[...] if you have been in the business for decades, you know
> > what works and what doesn't and what is fluff, so a certain
> > arrogance and intolerance of fools is normal."
> >
> > And finally, an allusion to, "often hard won experience in
> > product delivery".
> >
> > So in the first quote, you seem to be asserting that safer
> > languages are for the lazy who just don't want to put in the
> > work, while in the second, you refer to "what works and what
> > doesn't and what is fluff", but without acknowledging that new
> > techniques and tools are introduced all the time.
>
> If you intentionally misrepresent in joining the dots,
> expect to reach the wrong conclusions.
>
> >
> > And finally you allude to your "hard won experience" while
> > simultaneously discounting others who disagree with you.
>
> Remind me, where did I discount others ?.
>
> >
> > Taken together, this seems to indicate an attitude of, "if it
> > ain't broke, don't fix it" and aversion to incorporating change,
> > which seems strange. Truly, is the way you develop software
> > _now_ the same as how you developed software 25 years ago?
>
> In a lot of ways, yes and true of many companies i've done work
> for in the past. Don't know where you have been, but most
> companies prefer proven methods over fashion, because it reduces
> risk and cost overruns. Sure, keep an eye on new ideas, but
> stick to core to get the job done and meet targets. The tools change,
> but the overall process remains largely the same.
>
> >
> >>> Entire new classes of problems that were once obscure research
> >>> domains have become the workaday domain of everyday programmers
> >>> (parallel programming, multithreading, distributed systems).
> >>> Interactivity has gone from terminals to graphical workstations
> >>> to web browsers. The unit of computing has gone from one CPU to
> >>> a multicore machine to a rack to a datacenter and beyond. We've
> >>> gone from "testing" being something lesser humans did to an
> >>> accepted practice performed by programmers and carried out in an
> >>> automated fashion.
> >>>
> >>> Distributed, scalable systems hosted in geographically dispersed
> >>> facilities, often pushed automatically by continuous integration
> >>> pipelines fed by distributed revision control repositories are
> >>> the new normal for tens of thousands of programmers across the
> >>> industry.
> >>
> >> Yes, oh, the complexity :-).
> >>
> >>> So yeah, keep what works (let's be honest: mostly techniques),
> >>> but if you're not also keeping up with the changes in technology
> >>> you're going to be left behind in an asymptotically shrinking
> >>> pool of legacy technology.
>
> Now we have it: Perhaps you are pre conditioned by the idea
> that vms is a dinosaur that has no place in "modern
> computing" ?. Far from it, may have had a difficult time with
> HP, but a robust os still in wide use and under active
> development.
>
> >>
> >> Obviously, tech is a lifelong learning experience, always a
> >> student makes it very attractive. Take the best or useful
> >> ideas of the new, while maintaining core expertise in the
> >> current technology.
> >
> > Yes, but the critical point is that the "current technology"
> > changes.
>
> Repeating the obvious gets tiresome after a while.
> >
>
> >>>
> >>> On the other hand, those who stick their collective heads in the
> >>> sand and pretend that the same old techniques using the same old
> >>> tools in the same old way should consider leaving the business.
> >>
> >> There you are again, another dig at others suggest insecurity, but
> >> I digress. Fortunately, people like you don't get to decide who
> >> works in the business and who doesn't. That's decided by project
> >> managers and engineers who look for the right kind of experience
> >> and attitude for the work they are trying to get done...
> >
> > You seem to be taking what I say rather personally. Perhaps
> > don't?
>
> Well, "better" is subjective. If you have a system that
> produces results, why does it need to be fixed ?. Use a wide
> variety of tools for clients, various ide's scripting and more,
> but still wedded to an ancient editor and makefile environment
> for my own work.
>
> You seem to be suggesting that those who value proven but
> not leading edge development methods are somehow deficient. If so,
> expect a response.Rants about Head in sand attitudes don't
> help either.
>
> If you want to be an evangelist for rust, good for you, but
> sorry, just suspicious of salesman of any kind, however good
> the product. Far from mainstream and proven so far, even
> though it's been around for (what did you say ?) 10+ years,
> suggests it's not a great hit anywhere.
>
> >
> > On the other hand, you write the following about those of us who
> > choose to use safer tools:
> >
> > "This sounds like medication to cure everyone from their sloppy
> > programming. The infantilisation of complex subjects, just to give the
> > lazy an easier time, while still getting the product built."
> >
>
> Some sections of society these days seem to think rewarding failure
> a good idea, but not everyone would agree. Good programming is not
> about language or tools, but an attitude of mind, like all professional
> work. That's what I was trying to get across...
>
> Chris

"Good programming is not about language or tools, but an attitude of mind"

Remind me why you stopped doing all of your work in assembler again?

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

<6250e2e8$0$699$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 8 Apr 2022 21:35: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: Rust as a HS language, was: Re: Quiet?
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t2eo9n$mj7$1@dont-email.me>
<624d95fe$0$706$14726298@news.sunsite.dk> <t2k59i$e5n$1@reader2.panix.com>
<t2klgp$dm4$1@dont-email.me> <t2kv8v$st0$1@reader2.panix.com>
<t2mkq4$ib9$1@dont-email.me> <6250a24e$0$706$14726298@news.sunsite.dk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <6250a24e$0$706$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 21
Message-ID: <6250e2e8$0$699$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 5d9cca8b.news.sunsite.dk
X-Trace: 1649468136 news.sunsite.dk 699 arne@vajhoej.dk/68.9.63.232:64708
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 9 Apr 2022 01:35 UTC

On 4/8/2022 4:59 PM, Arne Vajhøj wrote:
> And it pulled a lot of new concepts into mainstream
> software development - the concepts were not necessarily
> invented in the Java world, but the Java world
> was where they had their first success driving their
> adaptation elsewhere:
>
> focus on interface inheritance over implementation inheritance
> reflection
> garbage collection
> JIT compilation
> ORM (entity beans with CMP)

DI (Spring)

> logging frameworks (log4j)
> unit testing (JUnit)
> etc.

Arne

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

<t2r273$2u0$1@dont-email.me>

  copy mid

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

  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: Sat, 9 Apr 2022 00:31:20 -0400
Organization: A noiseless patient Spider
Lines: 155
Message-ID: <t2r273$2u0$1@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <t2n1o9$1fjb$1@gioia.aioe.org>
<t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org>
<t2p9mc$ipe$1@reader1.panix.com> <t2qm09$121c$1@gioia.aioe.org>
<046363d4-2dd9-4e7c-a4bf-3f9ec4bdc265n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Apr 2022 04:31:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a8c1086088ae705d5fee318d1ff78652";
logging-data="3008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fxdEWz4bix3CxzZ/uJRE2hItlNRZFoCs="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:al82BNF5JQ4q5hmGX647oI6C2B8=
In-Reply-To: <046363d4-2dd9-4e7c-a4bf-3f9ec4bdc265n@googlegroups.com>
 by: Dave Froble - Sat, 9 Apr 2022 04:31 UTC

On 4/8/2022 9:16 PM, Don Baccus wrote:
> On Friday, April 8, 2022 at 6:03:09 PM UTC-7, chris wrote:
>> On 04/08/22 13:26, Dan Cross wrote:
>>
>>>
>>> I was responding to the culmination of three things that you
>>> wrote:
>>>
>>> "This sounds like medication to cure everyone from their sloppy
>>> programming. The infantilisation of complex subjects, just to give the
>>> lazy an easier time, while still getting the product built."
>>
>>>
>>> And then,
>>>
>>> "[...] if you have been in the business for decades, you know
>>> what works and what doesn't and what is fluff, so a certain
>>> arrogance and intolerance of fools is normal."
>>>
>>> And finally, an allusion to, "often hard won experience in
>>> product delivery".
>>>
>>> So in the first quote, you seem to be asserting that safer
>>> languages are for the lazy who just don't want to put in the
>>> work, while in the second, you refer to "what works and what
>>> doesn't and what is fluff", but without acknowledging that new
>>> techniques and tools are introduced all the time.
>>
>> If you intentionally misrepresent in joining the dots,
>> expect to reach the wrong conclusions.
>>
>>>
>>> And finally you allude to your "hard won experience" while
>>> simultaneously discounting others who disagree with you.
>>
>> Remind me, where did I discount others ?.
>>
>>>
>>> Taken together, this seems to indicate an attitude of, "if it
>>> ain't broke, don't fix it" and aversion to incorporating change,
>>> which seems strange. Truly, is the way you develop software
>>> _now_ the same as how you developed software 25 years ago?
>>
>> In a lot of ways, yes and true of many companies i've done work
>> for in the past. Don't know where you have been, but most
>> companies prefer proven methods over fashion, because it reduces
>> risk and cost overruns. Sure, keep an eye on new ideas, but
>> stick to core to get the job done and meet targets. The tools change,
>> but the overall process remains largely the same.
>>
>>>
>>>>> Entire new classes of problems that were once obscure research
>>>>> domains have become the workaday domain of everyday programmers
>>>>> (parallel programming, multithreading, distributed systems).
>>>>> Interactivity has gone from terminals to graphical workstations
>>>>> to web browsers. The unit of computing has gone from one CPU to
>>>>> a multicore machine to a rack to a datacenter and beyond. We've
>>>>> gone from "testing" being something lesser humans did to an
>>>>> accepted practice performed by programmers and carried out in an
>>>>> automated fashion.
>>>>>
>>>>> Distributed, scalable systems hosted in geographically dispersed
>>>>> facilities, often pushed automatically by continuous integration
>>>>> pipelines fed by distributed revision control repositories are
>>>>> the new normal for tens of thousands of programmers across the
>>>>> industry.
>>>>
>>>> Yes, oh, the complexity :-).
>>>>
>>>>> So yeah, keep what works (let's be honest: mostly techniques),
>>>>> but if you're not also keeping up with the changes in technology
>>>>> you're going to be left behind in an asymptotically shrinking
>>>>> pool of legacy technology.
>>
>> Now we have it: Perhaps you are pre conditioned by the idea
>> that vms is a dinosaur that has no place in "modern
>> computing" ?. Far from it, may have had a difficult time with
>> HP, but a robust os still in wide use and under active
>> development.
>>
>>>>
>>>> Obviously, tech is a lifelong learning experience, always a
>>>> student makes it very attractive. Take the best or useful
>>>> ideas of the new, while maintaining core expertise in the
>>>> current technology.
>>>
>>> Yes, but the critical point is that the "current technology"
>>> changes.
>>
>> Repeating the obvious gets tiresome after a while.
>>>
>>
>>>>>
>>>>> On the other hand, those who stick their collective heads in the
>>>>> sand and pretend that the same old techniques using the same old
>>>>> tools in the same old way should consider leaving the business.
>>>>
>>>> There you are again, another dig at others suggest insecurity, but
>>>> I digress. Fortunately, people like you don't get to decide who
>>>> works in the business and who doesn't. That's decided by project
>>>> managers and engineers who look for the right kind of experience
>>>> and attitude for the work they are trying to get done...
>>>
>>> You seem to be taking what I say rather personally. Perhaps
>>> don't?
>>
>> Well, "better" is subjective. If you have a system that
>> produces results, why does it need to be fixed ?. Use a wide
>> variety of tools for clients, various ide's scripting and more,
>> but still wedded to an ancient editor and makefile environment
>> for my own work.
>>
>> You seem to be suggesting that those who value proven but
>> not leading edge development methods are somehow deficient. If so,
>> expect a response.Rants about Head in sand attitudes don't
>> help either.
>>
>> If you want to be an evangelist for rust, good for you, but
>> sorry, just suspicious of salesman of any kind, however good
>> the product. Far from mainstream and proven so far, even
>> though it's been around for (what did you say ?) 10+ years,
>> suggests it's not a great hit anywhere.
>>
>>>
>>> On the other hand, you write the following about those of us who
>>> choose to use safer tools:
>>>
>>> "This sounds like medication to cure everyone from their sloppy
>>> programming. The infantilisation of complex subjects, just to give the
>>> lazy an easier time, while still getting the product built."
>>>
>>
>> Some sections of society these days seem to think rewarding failure
>> a good idea, but not everyone would agree. Good programming is not
>> about language or tools, but an attitude of mind, like all professional
>> work. That's what I was trying to get across...
>>
>> Chris
>
> "Good programming is not about language or tools, but an attitude of mind"
>
> Remind me why you stopped doing all of your work in assembler again?
>

I would suggest that the need to do so has decreased.

I doubt that many, if any, choose assembler because they like it. At times it
is the best choice. That appears to have decreased.

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

<t2r2b8$2u0$2@dont-email.me>

  copy mid

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

  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: Sat, 9 Apr 2022 00:33:35 -0400
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <t2r2b8$2u0$2@dont-email.me>
References: <t2eo9n$mj7$1@dont-email.me> <t2n2b1$nvk$1@dont-email.me>
<t2ncib$ra7$2@reader1.panix.com> <t2nn0k$rns$1@gioia.aioe.org>
<t2p9ts$ipe$2@reader1.panix.com> <t2qhqp$1p90$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Apr 2022 04:33:44 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a8c1086088ae705d5fee318d1ff78652";
logging-data="3008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jCsMxgUngYmAxeW/bSKTVlbqGfmyXCS8="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:jdBIjRzUnWyzebC0bduXqRJ49hQ=
In-Reply-To: <t2qhqp$1p90$1@gioia.aioe.org>
 by: Dave Froble - Sat, 9 Apr 2022 04:33 UTC

On 4/8/2022 7:51 PM, chris wrote:
> On 04/08/22 13:30, Dan Cross wrote:
>> In article<t2nn0k$rns$1@gioia.aioe.org>,
>> chris<chris-nospam@tridac.net> wrote:
>>> Far too much of an academic attitude.
>>
>> Sounds like one of those "ad hominem on the sly" things you
>> were talking about.
>
> Not an insult. We need the academics to do the research, but it's
> the engineers who have to translate the theory into usable product,
> where possible.
>
>>
>>> It's an imperfect world and
>>> in real life, systems get designed and built within the constraints
>>> of available tech of the day. Usually too much risk in working at
>>> the bleeding edge of tech, especially with unproven tools.
>>
>> Static typing is not an "unproven tool".
>>
>> - Dan C.
>>
>
> Don't remember discussing static typing at all...
>
> Chris
>

That was maybe me. This conversation has been all over the place. I'm thinking
most that can be said has been said, and now we're just beating it to death.
Perhaps move on?

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

<t2rekj$12t4$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 09:03:31 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2rekj$12t4$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2n1o9$1fjb$1@gioia.aioe.org> <t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org> <t2p9mc$ipe$1@reader1.panix.com> <t2qm09$121c$1@gioia.aioe.org> <046363d4-2dd9-4e7c-a4bf-3f9ec4bdc265n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="35748"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 08:03 UTC

On 04/09/22 02:16, Don Baccus wrote:
> On Friday, April 8, 2022 at 6:03:09 PM UTC-7, chris wrote:

>
> "Good programming is not about language or tools, but an attitude of mind"
>
> Remind me why you stopped doing all of your work in assembler again?
>

That's a different issue. The point is that a good programmer can get
athe job done using less than optimum tools, even using assembler.
Someone at DEC wrote piece about what it means to be a professional
engineer years ago. Don't have a reference, but it's worth looking at
from time to time...

Chris

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

<t2rf46$1940$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 09:11:50 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2rf46$1940$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2l9jp$b8i$1@gioia.aioe.org> <t2mu8f$b6$4@reader1.panix.com> <t2n1o9$1fjb$1@gioia.aioe.org> <t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org> <624f7cce$0$702$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="42112"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 08:11 UTC

On 04/08/22 01:07, Arne Vajhøj wrote:
> On 4/7/2022 5:50 PM, chris wrote:
>> On 04/07/22 19:59, Dan Cross wrote:
>>> In article<t2n1o9$1fjb$1@gioia.aioe.org>,
>>> chris<chris-nospam@tridac.net> wrote:
>>>> I don't apologise for that. Those who are not prepared to make
>>>> the effort to learn their craft and accept substandard should
>>>> not be in the business, no excuses...
>>>
>>> I think it's odd that people reject better tooling while they
>>> assert that programmers should "make the effort to learn their
>>> craft." Why are these things perceived as mutually exclusive?
>>> Indeed, why isn't part of learning the "craft" adopting better
>>> tooling? And who suggested accepting substandard results?
>>>
>>> On the other hand, those who stick their collective heads in the
>>> sand and pretend that the same old techniques using the same old
>>> tools in the same old way should consider leaving the business.
>>
>> There you are again, another dig at others suggest insecurity, but
>> I digress. Fortunately, people like you don't get to decide who
>> works in the business and who doesn't.
>
> "And why beholdest thou the mote that is in thy brother's eye, but
> considerest not the beam that is in thine own eye?"
>
>> That's decided by project
>> managers and engineers who look for the right kind of experience
>> and attitude for the work they are trying to get done...
>
> Hopefully project managers are never involved in making
> decisions about tech stack as it is not a project management
> matter.
>
> Decisions about tech stack is an architecture matter and
> architects should be the primary decision makers. They
> can solicit input from software engineering to verify
> that would should work actually does work in practice.
>
> Arne
>

Nit picking semantics there. The project manager / team leader
is usually at least as technically aware and switched on as
the rest of the team. Also, "tech stack" may be initiated by
one of two people, but that is usually discussed and often
changed once it reaches peer group review. Shared responsibility
and many eyes helps build better product...

Chris

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

<t2rfbd$1bhj$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 09:15:41 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2rfbd$1bhj$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <624d95fe$0$706$14726298@news.sunsite.dk> <t2k59i$e5n$1@reader2.panix.com> <t2klgp$dm4$1@dont-email.me> <t2kv8v$st0$1@reader2.panix.com> <t2l82r$1s8o$1@gioia.aioe.org> <00B72D6F.C1A72923@SendSpamHere.ORG> <624e38ee$0$693$14726298@news.sunsite.dk> <t2mlir$ib9$2@dont-email.me> <624f8164$0$698$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="44595"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 08:15 UTC

On 04/08/22 01:27, Arne Vajhøj wrote:
> On 4/7/2022 8:31 AM, Simon Clubley wrote:
>> On 2022-04-06, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 4/6/2022 6:51 PM, VAXman-@SendSpamHere.ORG wrote:
>>>> Rust as a high school language? I believe schools should be
>>>> concentrating on
>>>> reading, writing and mathematics with special emphasis on the
>>>> mathematics. I
>>>> can not believe that colleges need to offer remedial mathematics
>>>> such as basic
>>>> algebra to their incoming freshmen. Writing should be a close
>>>> second. Writing
>>>> as if "texting" friends is not composition.
>
>>> The idea about teaching programming in secondary or primary school
>>> come up frequently.
>>>
>>> Mostly from people that don't know programming.
>>>
>>> I don't think it make any sense. The available time will be
>>> so small and the level taught so low that it will not be
>>> useful. It does not provide the IT industry with something
>>> they can use. And it does not provide any valuable skills to
>>> the students.
>>
>> Back when I was in secondary school (early 1980s) programming classes
>> _were_ along the subjects offered. Basic was the language in use but
>> I also came across this new language called Fortran and started doing
>> the assignments in that language as well as in Basic just for fun. :-)
>>
>> And you are wrong Arne in an important way. You don't get any direct
>> skills that you can use in industry but it exposes students to what
>> is involved in writing programs and the mindset required.
>>
>> It became obvious to me very quickly that this was something I _really_
>> liked and made me consider it as my possible future (which obviously
>> turned into reality).
>
> It may work as a recruiting mechanism for IT relevant tertiary
> educations.
>
> But what is learnt in that context is something that eventually
> has to be unlearned to actually become good at software development.
>
> Software development has very little to do with typing in
> lines of code.
>
> Arne
>

Yes. Any fool can write a two or three page utility and make it
work, but analysing and building even medium sized sysems requires a
different approach. The actual coding is just a small part of that...

Chris

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

<t2rg0k$1k3i$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 09:27:00 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2rg0k$1k3i$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2l82r$1s8o$1@gioia.aioe.org> <t2mteg$b6$2@reader1.panix.com> <jb8cf5F6634U1@mid.individual.net> <t2n0d6$fgk$1@reader1.panix.com> <t2n3cv$ed7$1@dont-email.me> <t2n7ju$otb$1@dont-email.me> <t2nc9n$91k$1@dont-email.me> <624f839e$0$706$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="53362"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 08:27 UTC

On 04/08/22 01:36, Arne Vajhøj wrote:
> On 4/7/2022 2:58 PM, Dave Froble wrote:
>> On 4/7/2022 1:39 PM, Simon Clubley wrote:
>>> BTW, testing can only prove the presence of bugs and not the absence
>>> of them. Someone else can still come along and do testing in a different
>>> way that finds undiscovered issues. Look at the stuff about EVL that
>>> I posted recently as an example.
>>
>> Not if all possible outcomes are expected and handled.
>>
>> A good design will include handling all possible outcomes. Anything
>> else is just when, not if, something unexpected occurs.
>
> True.
>
> But not particular relevant.
>
> Too many cases to test.
>
> If your program take 1 KB of input then there are
> 2**8192 possible inputs. That is a pretty big number.
>
> But it is what it takes to prove that this
> program is correct by test.

Good design range checks all input against the limits
that the code can handle. Anything else is sloppy, but is
seen everywhere these days. No excuse for design errors
like that, as it's so easy to avoid.

>
> Of course you can probably pick a couple of handful
> careful designed test cases and if they work, then you
> are somewhat optimistic that the program will work in
> general. But that is different from proving.
>
> Arne
>

For work here, tend to write a test harness for every
module as part of the build process, with data designed
to stress test the code well outside expected limits,
as well as with valid data.

Of course, that doesn't prove that the overall system
design is correct and that is often where the real
testing problems arise...

Chris

>

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

<t2rgo8$1ssd$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 09:39:35 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2rgo8$1ssd$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <jb8ci7F6634U2@mid.individual.net> <t2n0h3$fgk$2@reader1.panix.com> <624f89b3$0$694$14726298@news.sunsite.dk> <t2pbfr$csv$3@reader1.panix.com> <6250369b$0$698$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="62349"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 08:39 UTC

On 04/08/22 14:20, Arne Vajhøj wrote:
> On 4/8/2022 8:57 AM, Dan Cross wrote:
>> In article <624f89b3$0$694$14726298@news.sunsite.dk>,
>> Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 4/7/2022 11:38 AM, Dan Cross wrote:
>>>> Have the likes of Robert
>>>> C Martin ever actually delivered a large program?
>>>
>>> He developed software in the Telecom business for
>>> many years before starting to focus on writing and
>>> training.
>>
>> That doesn't actually answer my question. :-)
>>
>> Most of his publicly available experience seems like it was more
>> in the development management space, less actually writing code.
>
> There are not much detail available.
>
> But I find it hard to believe that he walked directly from
> his graduation to a managerial role in the 1970's telco world.
>
> Arne

If anything, telco took the most disciplined approach to software
engineering, with ideas like state driven design coming from their
long experience in hardware design..

State driven programming is a very elegant sdesign technique, as it's
easy to make anything other than valid data an error...

Chris

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

<t2rhgo$6jg$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 09:52:40 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2rhgo$6jg$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2n2b1$nvk$1@dont-email.me> <t2ncib$ra7$2@reader1.panix.com> <t2nn0k$rns$1@gioia.aioe.org> <t2p9ts$ipe$2@reader1.panix.com> <t2qhqp$1p90$1@gioia.aioe.org> <t2r2b8$2u0$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="6768"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 08:52 UTC

On 04/09/22 05:33, Dave Froble wrote:
> On 4/8/2022 7:51 PM, chris wrote:
>> On 04/08/22 13:30, Dan Cross wrote:
>>> In article<t2nn0k$rns$1@gioia.aioe.org>,
>>> chris<chris-nospam@tridac.net> wrote:
>>>> Far too much of an academic attitude.
>>>
>>> Sounds like one of those "ad hominem on the sly" things you
>>> were talking about.
>>
>> Not an insult. We need the academics to do the research, but it's
>> the engineers who have to translate the theory into usable product,
>> where possible.
>>
>>>
>>>> It's an imperfect world and
>>>> in real life, systems get designed and built within the constraints
>>>> of available tech of the day. Usually too much risk in working at
>>>> the bleeding edge of tech, especially with unproven tools.
>>>
>>> Static typing is not an "unproven tool".
>>>
>>> - Dan C.
>>>
>>
>> Don't remember discussing static typing at all...
>>
>> Chris
>>
>
> That was maybe me. This conversation has been all over the place. I'm
> thinking most that can be said has been said, and now we're just beating
> it to death. Perhaps move on?
>

In comp.os.vms, things can take a life of their own, so perhaps you are
right. I think we all would like to see higher standards in software
engineering. Some seem to want to constrain freedom to get there. Others
think it's more about personal responsibility and doing it right for
it's own sake. Same in mainstream politics I guess...

Chris.

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

<t2ro4o$b1f$1@news.misty.com>

  copy mid

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

  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: Rust as a HS language, was: Re: Quiet?
Date: Sat, 9 Apr 2022 12:45:43 +0200
Organization: MGT Consulting
Message-ID: <t2ro4o$b1f$1@news.misty.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>
<t2hcmm$368$2@reader2.panix.com> <jb2t2oF49voU1@mid.individual.net>
<624cd4e1$0$701$14726298@news.sunsite.dk> <jb43vkFbiv7U2@mid.individual.net>
<624cdccc$0$704$14726298@news.sunsite.dk> <jb5s77FlsqfU1@mid.individual.net>
<624dc172$0$697$14726298@news.sunsite.dk> <jb85lpF4stvU1@mid.individual.net>
<62506a72$0$699$14726298@news.sunsite.dk> <jbb8qlFn7csU1@mid.individual.net>
<62506fa4$0$702$14726298@news.sunsite.dk> <jbbja7Fp5j6U1@mid.individual.net>
<62509969$0$695$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Apr 2022 10:45:44 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="77-58-244-139.dclient.hispeed.ch:77.58.244.139";
logging-data="11311"; 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.8.0
Content-Language: en-US
In-Reply-To: <62509969$0$695$14726298@news.sunsite.dk>
 by: Johnny Billquist - Sat, 9 Apr 2022 10:45 UTC

On 2022-04-08 22:21, Arne Vajhøj wrote:
> On 4/8/2022 4:12 PM, Bill Gunshannon wrote:
>> On 4/8/22 13:23, Arne Vajhøj wrote:
>>> On 4/8/2022 1:13 PM, Bill Gunshannon wrote:
>>>> As I stated elsewhere, the change to ANSI C from K&R broke
>>>> everything.  You can not compile K&R with an ANSI C Compiler
>>>> and vice versa.  What better time to fix it all?
>>>
>>> Not everything.
>>
>> If you can't compile K&R with an ANSI C compiler and you can't
>> compile ANSI C with a K&R compiler what exactly didn't get broken?
>
> I believe the breaking change was the function prototyping.

Hum. I don't know what the two of you are going on about. :-)

As far as I know, you can still compile a program that don't have
function prototypes in current C, and you can definitely do it in C89.

So K&R style code is still compilable. Obviously, "modern" C won't pass
the K&R compiler, but that's more expected.

But there might be something in old K&R code that is not acceptable in
newer compilers. I can't think of anything now, but that might just be me.

But array bounds checking is never going to be possible in C, since
arrays are mostly syntactic sugar to start with.

Johnny

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

<jbdbf6F4p3kU1@mid.individual.net>

  copy mid

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

  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: Sat, 9 Apr 2022 08:11:18 -0400
Lines: 13
Message-ID: <jbdbf6F4p3kU1@mid.individual.net>
References: <t2eo9n$mj7$1@dont-email.me> <t2n1o9$1fjb$1@gioia.aioe.org>
<t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org>
<t2p9mc$ipe$1@reader1.panix.com> <t2qm09$121c$1@gioia.aioe.org>
<046363d4-2dd9-4e7c-a4bf-3f9ec4bdc265n@googlegroups.com>
<t2r273$2u0$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net v2A8gGNifzmUb3bwd/maYg2C6GNgIXuYyPINYGXasqXUmY97Wr
Cancel-Lock: sha1:CLfF0TUL3LlCDOxSWOOGK54K9wc=
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: <t2r273$2u0$1@dont-email.me>
 by: Bill Gunshannon - Sat, 9 Apr 2022 12:11 UTC

On 4/9/22 00:31, Dave Froble wrote:
>
>
> I doubt that many, if any, choose assembler because they like it.  At
> times it is the best choice.  That appears to have decreased.
>

I always like assembler. Have done some recently and expect to more
in the near future. I know the assembler for at least 10 processors.
But then, I am a dinosaur.

bill

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

<12486106-eed2-4c4f-91d9-75ca81c6eb39n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:c3:b0:2e3:4bd0:16c2 with SMTP id p3-20020a05622a00c300b002e34bd016c2mr19096318qtw.575.1649506932739;
Sat, 09 Apr 2022 05:22:12 -0700 (PDT)
X-Received: by 2002:a05:622a:4016:b0:2eb:d9f3:2ca5 with SMTP id
cf22-20020a05622a401600b002ebd9f32ca5mr9095041qtb.540.1649506932619; Sat, 09
Apr 2022 05:22:12 -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, 9 Apr 2022 05:22:12 -0700 (PDT)
In-Reply-To: <jbdbf6F4p3kU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:642:c301:502b:461:c54e:c58c:e83d;
posting-account=a_gCewoAAAD0QiVN02iHDdQ3zIcCoJqL
NNTP-Posting-Host: 2601:642:c301:502b:461:c54e:c58c:e83d
References: <t2eo9n$mj7$1@dont-email.me> <t2n1o9$1fjb$1@gioia.aioe.org>
<t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org>
<t2p9mc$ipe$1@reader1.panix.com> <t2qm09$121c$1@gioia.aioe.org>
<046363d4-2dd9-4e7c-a4bf-3f9ec4bdc265n@googlegroups.com> <t2r273$2u0$1@dont-email.me>
<jbdbf6F4p3kU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <12486106-eed2-4c4f-91d9-75ca81c6eb39n@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: dhog...@gmail.com (Don Baccus)
Injection-Date: Sat, 09 Apr 2022 12:22:12 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Don Baccus - Sat, 9 Apr 2022 12:22 UTC

On Saturday, April 9, 2022 at 5:11:23 AM UTC-7, Bill Gunshannon wrote:
> On 4/9/22 00:31, Dave Froble wrote:
> >
> >
> > I doubt that many, if any, choose assembler because they like it. At
> > times it is the best choice. That appears to have decreased.
> >
> I always like assembler. Have done some recently and expect to more
> in the near future. I know the assembler for at least 10 processors.
> But then, I am a dinosaur.
>
> bill

My point is that since Chris seems to reject language design decisions that restrict his "freedom" to screw up, why isn't he still writing assembly code?

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

<b3ecde88-43da-41b9-8715-0288ec1a6ae8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:29c3:b0:444:616:111d with SMTP id gh3-20020a05621429c300b004440616111dmr11986628qvb.47.1649507390057;
Sat, 09 Apr 2022 05:29:50 -0700 (PDT)
X-Received: by 2002:a0c:a68a:0:b0:443:d22b:cdff with SMTP id
t10-20020a0ca68a000000b00443d22bcdffmr19605329qva.47.1649507389931; Sat, 09
Apr 2022 05:29:49 -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, 9 Apr 2022 05:29:49 -0700 (PDT)
In-Reply-To: <t2rhgo$6jg$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:642:c301:502b:461:c54e:c58c:e83d;
posting-account=a_gCewoAAAD0QiVN02iHDdQ3zIcCoJqL
NNTP-Posting-Host: 2601:642:c301:502b:461:c54e:c58c:e83d
References: <t2eo9n$mj7$1@dont-email.me> <t2n2b1$nvk$1@dont-email.me>
<t2ncib$ra7$2@reader1.panix.com> <t2nn0k$rns$1@gioia.aioe.org>
<t2p9ts$ipe$2@reader1.panix.com> <t2qhqp$1p90$1@gioia.aioe.org>
<t2r2b8$2u0$2@dont-email.me> <t2rhgo$6jg$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b3ecde88-43da-41b9-8715-0288ec1a6ae8n@googlegroups.com>
Subject: Re: Rust as a HS language, was: Re: Quiet?
From: dhog...@gmail.com (Don Baccus)
Injection-Date: Sat, 09 Apr 2022 12:29:50 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Don Baccus - Sat, 9 Apr 2022 12:29 UTC

On Saturday, April 9, 2022 at 1:52:43 AM UTC-7, chris wrote:
> On 04/09/22 05:33, Dave Froble wrote:
> > On 4/8/2022 7:51 PM, chris wrote:
> >> On 04/08/22 13:30, Dan Cross wrote:
> >>> In article<t2nn0k$rns$1...@gioia.aioe.org>,
> >>> chris<chris-...@tridac.net> wrote:
> >>>> Far too much of an academic attitude.
> >>>
> >>> Sounds like one of those "ad hominem on the sly" things you
> >>> were talking about.
> >>
> >> Not an insult. We need the academics to do the research, but it's
> >> the engineers who have to translate the theory into usable product,
> >> where possible.
> >>
> >>>
> >>>> It's an imperfect world and
> >>>> in real life, systems get designed and built within the constraints
> >>>> of available tech of the day. Usually too much risk in working at
> >>>> the bleeding edge of tech, especially with unproven tools.
> >>>
> >>> Static typing is not an "unproven tool".
> >>>
> >>> - Dan C.
> >>>
> >>
> >> Don't remember discussing static typing at all...
> >>
> >> Chris
> >>
> >
> > That was maybe me. This conversation has been all over the place. I'm
> > thinking most that can be said has been said, and now we're just beating
> > it to death. Perhaps move on?
> >
> In comp.os.vms, things can take a life of their own, so perhaps you are
> right. I think we all would like to see higher standards in software
> engineering. Some seem to want to constrain freedom to get there. Others
> think it's more about personal responsibility and doing it right for
> it's own sake. Same in mainstream politics I guess...
>
> Chris.

"Some seem to want to constrain freedom to get there."

This and your other politically-driven comments are the stupidest things I've ever seen a self-described software engineer make.

You know what language designers who work towards making safer languages want?

To lower engineering costs. And, yes, this means often limiting degrees of freedom but not in the political sense. The "freedom" to write:

int foo[10];
int *bar=foo;
....
bar[11];

is simply the "freedom" to break your program.

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

<t2s1ni$183h$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 14:29:22 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2s1ni$183h$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2n1o9$1fjb$1@gioia.aioe.org> <t2ncag$ra7$1@reader1.panix.com> <t2nmc0$kp7$1@gioia.aioe.org> <t2p9mc$ipe$1@reader1.panix.com> <t2qm09$121c$1@gioia.aioe.org> <046363d4-2dd9-4e7c-a4bf-3f9ec4bdc265n@googlegroups.com> <t2r273$2u0$1@dont-email.me> <jbdbf6F4p3kU1@mid.individual.net> <12486106-eed2-4c4f-91d9-75ca81c6eb39n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="41073"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 13:29 UTC

On 04/09/22 13:22, Don Baccus wrote:
> On Saturday, April 9, 2022 at 5:11:23 AM UTC-7, Bill Gunshannon wrote:
>> On 4/9/22 00:31, Dave Froble wrote:
>>>
>>>
>>> I doubt that many, if any, choose assembler because they like it. At
>>> times it is the best choice. That appears to have decreased.
>>>
>> I always like assembler. Have done some recently and expect to more
>> in the near future. I know the assembler for at least 10 processors.
>> But then, I am a dinosaur.
>>
>> bill
>
> My point is that since Chris seems to reject language design decisions that restrict his "freedom" to screw up, why isn't he still writing assembly code?

Perhaps I can answer that myself.

It's essential to have complete transparency and audit trail
from source code right down to the bare metal where necessary.
Any language using dynamic memory allocation makes that far more
difficult to show fully deterministic behaviour. That is the
reason I don't do much work in C++, for example, though some of
ideas in C++ are quite elegant and quite usable in C. Fully
deterministic behaviour is often mandatory for real time systems
and can make any code more robust.

Still happy programming in assembler where necessary, but can be hard
work building even moderately sized systems using it. Also, it makes
maintenance difficult, since few now are really fluent in even
a single machine assembler. Since maintenance can account for
the majority of ongoing development costs, try to write systems to
be maintainable, even though it means added work. Finally, it's
far easier to express abstract concepts in a higher level language
and C is just high level enough to do that, without added features
that I don't need. As I said, the swiss army knife of programming...

Chris

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

<t2s2o5$1nj3$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 14:46:45 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2s2o5$1nj3$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2n2b1$nvk$1@dont-email.me> <t2ncib$ra7$2@reader1.panix.com> <t2nn0k$rns$1@gioia.aioe.org> <t2p9ts$ipe$2@reader1.panix.com> <t2qhqp$1p90$1@gioia.aioe.org> <t2r2b8$2u0$2@dont-email.me> <t2rhgo$6jg$1@gioia.aioe.org> <b3ecde88-43da-41b9-8715-0288ec1a6ae8n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="56931"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 13:46 UTC

On 04/09/22 13:29, Don Baccus wrote:
> On Saturday, April 9, 2022 at 1:52:43 AM UTC-7, chris wrote:
>> On 04/09/22 05:33, Dave Froble wrote:
>>> On 4/8/2022 7:51 PM, chris wrote:
>>>> On 04/08/22 13:30, Dan Cross wrote:
>>>>> In article<t2nn0k$rns$1...@gioia.aioe.org>,
>>>>> chris<chris-...@tridac.net> wrote:
>>>>>> Far too much of an academic attitude.
>>>>>
>>>>> Sounds like one of those "ad hominem on the sly" things you
>>>>> were talking about.
>>>>
>>>> Not an insult. We need the academics to do the research, but it's
>>>> the engineers who have to translate the theory into usable product,
>>>> where possible.
>>>>
>>>>>
>>>>>> It's an imperfect world and
>>>>>> in real life, systems get designed and built within the constraints
>>>>>> of available tech of the day. Usually too much risk in working at
>>>>>> the bleeding edge of tech, especially with unproven tools.
>>>>>
>>>>> Static typing is not an "unproven tool".
>>>>>
>>>>> - Dan C.
>>>>>
>>>>
>>>> Don't remember discussing static typing at all...
>>>>
>>>> Chris
>>>>
>>>
>>> That was maybe me. This conversation has been all over the place. I'm
>>> thinking most that can be said has been said, and now we're just beating
>>> it to death. Perhaps move on?
>>>
>> In comp.os.vms, things can take a life of their own, so perhaps you are
>> right. I think we all would like to see higher standards in software
>> engineering. Some seem to want to constrain freedom to get there. Others
>> think it's more about personal responsibility and doing it right for
>> it's own sake. Same in mainstream politics I guess...
>>
>> Chris.
>
> "Some seem to want to constrain freedom to get there."
>
> This and your other politically-driven comments are the stupidest
things I've ever seen a self-described software engineer make.
>
> You know what language designers who work towards making safer languages want?
>
> To lower engineering costs.

and I suppose we should all be grateful ?.

And, yes, this means often limiting degrees

of freedom but not in the political sense. The "freedom" to write:

Well ymmv, but everything in life where humanity interacts
is political. We have always had evangelists, this and that,
those who think they know what's best for us all and want to
bestow their version of perfection onto humanity, but they are
so often intolerant under the skin and push come to
shove, are quite happy to impose it onto others by any means
possible. That's not democracy as I see it.

Taking a more generous view, perhaps some are idealists
with good ideas, but natural selection rules, in that if
an idea is that good, it sells itself and will be taken
up, given enough time...

>
> int foo[10];
> int *bar=foo;
> ...
> bar[11];
>
> is simply the "freedom" to break your program.
>

If you are stupid enough to write that sort of code and ignore
good practice, you deserve what you get :-)...

Chris

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

<t2sgsr$gpb$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: Rust as a HS language, was: Re: Quiet?
Date: Sat, 09 Apr 2022 18:48:11 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t2sgsr$gpb$1@gioia.aioe.org>
References: <t2eo9n$mj7$1@dont-email.me> <t2n8va$1299$1@gioia.aioe.org> <t2nb9r$mce$1@reader1.panix.com> <t2nk1q$1p31$1@gioia.aioe.org> <t2p88j$ack$1@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="17195"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 9 Apr 2022 17:48 UTC

On 04/08/22 13:02, Dan Cross wrote:
> In article<t2nk1q$1p31$1@gioia.aioe.org>,
> chris<chris-nospam@tridac.net> wrote:
>> On 04/07/22 19:42, Dan Cross wrote:
>>> In article<t2n8va$1299$1@gioia.aioe.org>,
>>> chris<chris-nospam@tridac.net> wrote:
>>>> On 04/07/22 17:27, Dan Cross wrote:
>>>>>> The basic idea of a language as close as possible to the bare
>>>>>> metal, yet with enough capability for serious high level work,
>>>>>> with layered design, is as close to an ideal language as
>>>>>> anyone could wish for. Tricky language indeed ?, rofl...
>>>>>
>>>>> The "C is close to the hardware" thing hasn't been true a long
>>>>> time now.
>>>>>
>>>>> https://queue.acm.org/detail.cfm?id=3212479
>>>>
>>>> Wrong again.
>>>
>>> What, precisely, is wrong here?
>
> I reiterate the question.
>
>>>> Mainly embedded work here and the first thing I
>>>> do with a new architecture and tool set is to examine the assembler
>>>> source to check for efficiency and sensible looking code. Even
>>>> ten years ago, the gcc compiler often produced a single line
>>>> of asm per C statement. That can be optimised by choices such
>>>> as do while / for next style, for example. You can argue against
>>>> that sort of thing, but you need to know your compiler to get the
>>>> best out of it.
>>>
>>> "It works with my compiler, so it's correct" used to get you
>>> flamed out of e.g. comp.lang.c.
>>>
>>>> That and being completely unambiguous in terms
>>>> of source code and not trying to outsmart the compiler :-)...
>>>
>>> It's funny that you are so fixated on compilers, but don't
>>> really focus much on the language. The language is specified
>>> against an abstract virtual machine that's behavior is
>>> described in the language standard. What your program does is,
>>> simply, not the same as what your hardware does.
>>
>> Fixated on compilers ?, looks like projection to me :-).
>
> Well, you've brought up GCC and looking at the listings, but
> haven't touched on the standard. That indicates a tendancy to
> look at what a _compiler_ does instead of what the _langauge_
> does.
>
>>> Like you, I often have to read assembly language listings to
>>> make sure I'm getting the output I expect. But I'm not a
>>> cowboy about it.
>>
>> Now you are arm waving and can't resist sly ad hom, suggesting
>> you have nothing valid to say and possibly insecure about the
>> merits of you favourite solution.
>
> I'll admit that the cowboy quip could be interpreted poorly, so
> I apologize for that. But the rest of your interpretation is
> just wrong. I don't have a "favorite solution"; I keep abreast
> of developments and adopt what I perceive to be the most
> appropriate solution for a given problem domain at the time when
> I need it; this is always a tradeoff, and "most appropriate"
> means a combination of technology, maturity, industry knowledge,
> etc.
>
>> We are all different. You seem interested in language design,
>> whereas a compiler is just a tool in the box and part of a
>> much larger system framewwork for me. It either produces the code
>> I expect it to, or it fails. If you like rust, go for it, but
>> I see no value for the work done here and I don't feel the
>> need to knock it, as C has a rich history going back decades
>> and is a proven solution for a wide variety of different work...
>
> Where we seem to differ is that I concede that the set of most
> appropriate tools changes over time as the industry as a whole
> advances, and that tools (such as languages) that allow me to
> express programs more safely and provide me with more expressive
> power tend to yield better programs than those that do not.
>
> I've given citations to why, e.g., C may be falling from favor,
> and why some of the participants in this conversation may be
> wrong in their perceptions of that language. The response has
> mostly been assertions without supporting evidence, and
> statements implying that safer languages somehow limit the
> programmer; usually these are made by people with no or very
> limited experience in the languages in question.
>
> - Dan C.
>

I think it must be the practical engineer in me, where the goal
is to design the most elegant and often least complex solution to a
given problem It's about efficiency and transparency and also
wary because the early C compilers were often not very good at
all. Still quite wary of anything where the
internal workings are not fully transparent. Modern compilers are
very good in general, but still like to look at the entrails
to see what sort of code is being generated. Trust, but verify
etc.

Maybe rust will be significant, time and the global community
will decide, but there will always be a place for less safe
languages, just as we still need assembler from time to time...

Chris

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

<t2sn6u$ac$1@reader1.panix.com>

  copy mid

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

  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: Sat, 9 Apr 2022 19:35:58 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t2sn6u$ac$1@reader1.panix.com>
References: <t2eo9n$mj7$1@dont-email.me> <624f803d$0$698$14726298@news.sunsite.dk> <t2papd$csv$1@reader1.panix.com> <t2pn8f$r5q$1@news.misty.com>
Injection-Date: Sat, 9 Apr 2022 19:35:58 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="332"; 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 - Sat, 9 Apr 2022 19:35 UTC

In article <t2pn8f$r5q$1@news.misty.com>,
Johnny Billquist <bqt@softjar.se> wrote:
>On 2022-04-08 14:45, Dan Cross wrote:
>> In article <624f803d$0$698$14726298@news.sunsite.dk>,
>> Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 4/7/2022 12:27 PM, Dan Cross wrote:
>>>> In article <t2n2u6$3jv$1@gioia.aioe.org>,
>>>> chris <chris-nospam@tridac.net> wrote:
>>>>> The basic idea of a language as close as possible to the bare
>>>>> metal, yet with enough capability for serious high level work,
>>>>> with layered design, is as close to an ideal language as
>>>>> anyone could wish for. Tricky language indeed ?, rofl...
>>>>
>>>> The "C is close to the hardware" thing hasn't been true a long
>>>> time now.
>>>>
>>>> https://queue.acm.org/detail.cfm?id=3212479
>>>
>>> That is a rather unusual definition of close to HW.
>>>
>>> A way more common definition is that the language can
>>> actually directly access HW.
>>>
>>> Work with memory mapped devices etc.. And C typical
>>> does that great.
>>
>> Does it, though? How well-defined are the semantics around, say
>> `volatile`?
>
>volatile is simple enough. Every reference have to stay, and be kept in
>the same order, and order also kept in relation to other volatile
>variables, and the value cannot be "cached" or placed in a register, or
>whatever. Memory barriers all around.

The last time this came up where I was involved, the murky stuff
revolved around precise semantics of generated loads and stores.
What you wrote above is true, but suppose I'm doing multiple
stores into aligned buffers; can the compiler lower into stores
into a larger datum, or must they be kept distinct? That is,
suppose I'm writing a bunch of uint16_t's from an aligned source
into an aligned destination; can the compiler turn that into
corresponding loads/stores of uint32_t? Can it write to the
same byte twice? And how do I work with volatile byte buffers
without memcpy?

>There are other parts that are much more devious in C these days.

Can't argue with that. :-)

- Dan C.

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor