Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I am not an Economist. I am an honest man! -- Paul McCracken


computers / comp.os.vms / Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

SubjectAuthor
* 8-bit charactersPhillip Helbig (undress to reply
`* Re: 8-bit charactersStephen Hoffman
 +* Re: 8-bit charactersJan-Erik Söderholm
 |+- Re: 8-bit charactersStephen Hoffman
 |+* Re: 8-bit charactersArne Vajhøj
 ||`* Re: 8-bit charactersLawrence D’Oliveiro
 || `* Re: 8-bit charactersArne Vajhøj
 ||  +* Re: 8-bit charactersCraig A. Berry
 ||  |+* Re: 8-bit charactersArne Vajhøj
 ||  ||+* Re: 8-bit charactersCraig A. Berry
 ||  |||`- Re: 8-bit charactersLawrence D’Oliveiro
 ||  ||`* Re: 8-bit charactersLawrence D’Oliveiro
 ||  || `- Re: 8-bit charactersLawrence D’Oliveiro
 ||  |`- Re: 8-bit charactersLawrence D’Oliveiro
 ||  `* Re: 8-bit charactersLawrence D’Oliveiro
 ||   `- Re: 8-bit charactersArne Vajhøj
 |`* Re: 8-bit charactersPhillip Helbig (undress to reply
 | `- Re: 8-bit charactersMichael Moroney
 `* Re: 8-bit charactersPhillip Helbig (undress to reply
  `* Re: 8-bit charactersMichael Moroney
   +* Re: 8-bit charactersPhillip Helbig (undress to reply
   |`* Re: 8-bit charactersMichael Moroney
   | `* Re: 8-bit charactersPhillip Helbig (undress to reply
   |  `* Re: 8-bit charactersDave Froble
   |   `* Re: 8-bit charactersMichael Moroney
   |    `* Re: 8-bit charactersArne Vajhøj
   |     `* Re: 8-bit charactersRobert A. Brooks
   |      `* Re: 8-bit charactersSimon Clubley
   |       +* Re: 8-bit charactersRobert A. Brooks
   |       |+- Re: 8-bit charactersMichael Moroney
   |       |`* Re: 8-bit charactersStephen Hoffman
   |       | +- Re: 8-bit charactersArne Vajhøj
   |       | `* Impenetrable code, was: Re: 8-bit charactersSimon Clubley
   |       |  `- Re: Impenetrable code, was: Re: 8-bit charactersDave Froble
   |       `* Re: 8-bit charactersJohn Reagan
   |        +* Trigger warnings, was: Re: 8-bit charactersSimon Clubley
   |        |+* Re: Trigger warnings, was: Re: 8-bit charactersDave Froble
   |        ||`* Re: Trigger warnings, was: Re: 8-bit charactersArne Vajhøj
   |        || +* Re: Trigger warnings, was: Re: 8-bit charactersArne Vajhøj
   |        || |`- Re: Trigger warnings, was: Re: 8-bit charactersNorbert Schönartz
   |        || +* Re: Trigger warnings, was: Re: 8-bit charactersSimon Clubley
   |        || |`- Re: Trigger warnings, was: Re: 8-bit charactersArne Vajhøj
   |        || `* Re: Trigger warnings, was: Re: 8-bit charactersDave Froble
   |        ||  `- Re: Trigger warnings, was: Re: 8-bit charactersArne Vajhøj
   |        |`- Re: Trigger warnings, was: Re: 8-bit charactersJohn Reagan
   |        `* Re: 8-bit charactersDave Froble
   |         `* Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |          +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |          |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          | `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |          |  `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          |   +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |          |   |`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          |   `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |          |    +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |          |    |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |          |    | `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          |    `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |          `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |           `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            | +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            | |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            | | `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            | `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |  `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |   `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |    `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |     +- Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersStephen Hoffman
   |            |     `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |            |      `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |            |       |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       | `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |            |       |  +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |       |  | +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  | |+* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  | ||+* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  | |||`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  | ||`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersJake Hamby
   |            |       |  | |`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBob Eager
   |            |       |  | `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersStephen Hoffman
   |            |       |  |  `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |       |  |   `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  |    `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |     +- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitRichard Maher
   |            |       |  |     `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  |      `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |       `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  |        `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |         +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitJohnny Billquist
   |            |       |  |         |`- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   |            |       |  |         `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |       |  |          +- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |          `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitSingle Stage to Orbit
   |            |       |  |           +* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |           |+- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |           |`* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitSingle Stage to Orbit
   |            |       |  |           | `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bitArne Vajhøj
   |            |       |  |           `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersSimon Clubley
   |            |       |  `- Re: Safer programming languages (and walking :-) ), was: Re: 8-bit charactersRich Alderson
   |            |       `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitDave Froble
   |            `* Re: Safer programming languages (and walking :-) ), was: Re: 8-bitBill Gunshannon
   +* Re: 8-bit charactersLawrence D’Oliveiro
   `* Re: 8-bit charactersJon Pinkley

Pages:123456789
Re: ADA and VMS (was Safer programming languages)

<sn0hge$5sq$1@dont-email.me>

  copy mid

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

  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: ADA and VMS (was Safer programming languages)
Date: Tue, 16 Nov 2021 10:08:14 -0500
Organization: A noiseless patient Spider
Lines: 77
Message-ID: <sn0hge$5sq$1@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<ivfvhdFmg4rU2@mid.individual.net> <ivg04vFmkaaU1@mid.individual.net>
<smuiqs$v7g$1@dont-email.me> <ivg8ovFo6nsU1@mid.individual.net>
<6192fce1$0$706$14726298@news.sunsite.dk> <ivggo9Fpk5dU1@mid.individual.net>
<6193161e$0$698$14726298@news.sunsite.dk> <ivhlnjF1mq6U1@mid.individual.net>
<6193c48b$0$701$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Nov 2021 15:07:58 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1384110ad00211e58e2e8c84ec5d4922";
logging-data="6042"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JOhi8TH23rJ+/1Eoimn2zz9nTnqfPVKU="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:AKf5p6WXgdafvk3pa5nYkftw++U=
In-Reply-To: <6193c48b$0$701$14726298@news.sunsite.dk>
 by: Dave Froble - Tue, 16 Nov 2021 15:08 UTC

On 11/16/2021 9:47 AM, Arne Vajhøj wrote:
> On 11/16/2021 7:15 AM, Bill Gunshannon wrote:
>> On 11/15/21 9:23 PM, Arne Vajhøj wrote:
>>> On 11/15/2021 8:44 PM, Bill Gunshannon wrote:
>>>> On 11/15/21 7:35 PM, Arne Vajhøj wrote:
>>>>> On 11/15/2021 6:28 PM, Bill Gunshannon wrote:
>>>>>> On 11/15/21 4:18 PM, Robert A. Brooks wrote:
>>>>>>> ACME_SERVER and SECURITY_SERVER are written in ADA.
>>>>>>>
>>>>>>> Both are being rewritten in C.
>>>>>>
>>>>>> Were there ever any internal benchmarks run against them so that
>>>>>> a comparison of performance when the C conversion is done could
>>>>>> be looked at?
>>>>>
>>>>> Depending on how many checks were disabled in the Ada version, then
>>>>> the C version may be a little or a lot faster,
>>>>>
>>>>> But I cannot imagine it having any significance on modern hardware.
>>>>>
>>>>> They did not rewrite in C to save CPU cycles but because they did
>>>>> not have an Ada compiler for the new platform.
>>>>
>>>> I realize all that. I would just like to see some comparisons.
>>>> I don't know that any were actually done. It all goes back to
>>>> a comment I got from someone from the Ada Users Group about 30
>>>> years ago. I mentioned an interest in a version of Unix rewritten
>>>> in Ada and was quickly informed that while it could be done it
>>>> would result in a useless operating system because the Ada version
>>>> would be very inefficient. Needless to say, I never tried it.
>>>> Might be fun to dig up some benchmarks and try it, but I always
>>>> prefer real world examples to contrived benchmarks.
>>>
>>> But there are two very different questions here.
>>>
>>> Would Ada vs C for OS mean something 30 years ago (VAX 6000 and 3000)?
>>>
>>> Would Ada vs C for OS mean something today (16/24/32 core x86-64)?
>>
>> Thus the reason we have so much bloatware today. If the program
>> runs badly, throw more cores at it. I am not interested in whether
>> or not something ran faster or slower on todays machines vs. yesterdays.
>> I am interested in whether or not ADD A TO B GIVING C is faster, slower
>> or the same between Ada and C.( and other languages as well!) Throwing
>> more cores at the above will not result in faster performance.
>>
>> When I first started with programming we cared about programming and
>> efficiency. We profiled our programs in order to find the bad parts
>> and we fixed them. It is sad that efficiency is no longer considered
>> important to software development today. And they call it engineering
>> while we just called it programming.
>
> I would say that there is a lot of focus on efficiency today.
>
> But there are two types of such focus.
>
> There is the hacker/nerd crowd that focus on micro-benchmarks
> of all sorts of things. ADD A TO B GIVING C will fit fine in
> that.
>
> And then there is the engineering/professional crowd that
> focus on actual solution/system performance. But what measurement
> in this area prove to be relevant has changed over the last 30 years.
> Unless one is in a specialized area like HPC then ADD A TO B GIVING C
> is not relevant for solution/system performance today. They are
> looking for round trips between tiers, interpreted vs compiled,
> data models etc..

Lipstick on a pig, huh ???

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: ADA and VMS (was Safer programming languages)

<6193da5f$0$692$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!sewer!alphared!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 16 Nov 2021 11:20:41 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.1
Subject: Re: ADA and VMS (was Safer programming languages)
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<ivfvhdFmg4rU2@mid.individual.net> <ivg04vFmkaaU1@mid.individual.net>
<smuiqs$v7g$1@dont-email.me> <ivg8ovFo6nsU1@mid.individual.net>
<6192fce1$0$706$14726298@news.sunsite.dk> <ivggo9Fpk5dU1@mid.individual.net>
<6193161e$0$698$14726298@news.sunsite.dk> <ivhlnjF1mq6U1@mid.individual.net>
<6193c48b$0$701$14726298@news.sunsite.dk> <sn0hge$5sq$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sn0hge$5sq$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 38
Message-ID: <6193da5f$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: aaecd24e.news.sunsite.dk
X-Trace: 1637079647 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:55466
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 16 Nov 2021 16:20 UTC

On 11/16/2021 10:08 AM, Dave Froble wrote:
> On 11/16/2021 9:47 AM, Arne Vajhøj wrote:
>> I would say that there is a lot of focus on efficiency today.
>>
>> But there are two types of such focus.
>>
>> There is the hacker/nerd crowd that focus on micro-benchmarks
>> of all sorts of things. ADD A TO B GIVING C will fit fine in
>> that.
>>
>> And then there is the engineering/professional crowd that
>> focus on actual solution/system performance. But what measurement
>> in this area prove to be relevant has changed over the last 30 years.
>> Unless one is in a specialized area like HPC then ADD A TO B GIVING C
>> is not relevant for solution/system performance today. They are
>> looking for round trips between tiers, interpreted vs compiled,
>> data models etc..
>
> Lipstick on a pig, huh ???

Not sure what you mean.

There are lots of performance disasters.

But typical it is the high level design that is wrong not
the low level code.

Example 1: a system where reports was painful slow - turned out that the
report made 6000 database queries to get the data for the report.

Example 2: a web page was painful slow - turned out that the
client side JavaScript fetched data using 2000 AJAX requests.

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<sn0u41$j0$1@dont-email.me>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Tue, 16 Nov 2021 18:43:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <sn0u41$j0$1@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me> <smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org> <smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org> <smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me> <smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk> <smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me> <0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <ivdl9eF8tr0U1@mid.individual.net> <6191a254$0$706$14726298@news.sunsite.dk> <smu97p$3hs$1@dont-email.me> <6192b8e4$0$696$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Nov 2021 18:43:13 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2386616fa225f3c375c50639d5b23964";
logging-data="608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5EqHuQCExnNuPced532CBqjaLhGZWXGs="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:esXL/vFzu6WhHJPYBALJr5gVbxc=
 by: Simon Clubley - Tue, 16 Nov 2021 18:43 UTC

On 2021-11-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 11/15/2021 1:34 PM, Simon Clubley wrote:
>> On 2021-11-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>
>>> But Ada did fall out of fashion.
>>>
>>> There are probably many explanations for that, but my guess
>>> is that the complexity of the language turned out to be a
>>> problem.
>>
>> There's also the problem that the Ada compiler situation overall is not
>> good and that Adacore's Community Edition version of GNAT is pure GPL
>> with no runtime exception. See https://www.adacore.com/community for
>> details.
>
> I know about that restriction. It has been discussed before.
>
> If they really wanted it then they would pay ACT for the commercial edition.
>

Unfortunately, that's still an issue when you don't have that problem
with other languages such as C and C++.

People might want to explore other languages (including Ada) but there
are plenty of production-quality free language compilers available today.

Adacore's policy is a barrier to attracting those types of people.

> > There's still the FSF distribution of GNAT (at least for the targets
> > it supports) however.
>
> Unfortunately then most GCC dists does not include gnat.
>
> Supposedly m2 is going to be in standard GCC dist going forward,
> so maybe Modula-2 instead of Ada??
>

Interesting. I didn't know that, thanks. I wonder if uppercase
keywords will be an optional feature instead of being mandatory ?

I wonder if you will be able to do bare metal coding with it ?

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<sn0uo9$j0$2@dont-email.me>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Tue, 16 Nov 2021 18:54:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <sn0uo9$j0$2@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me> <smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org> <smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org> <smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me> <smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk> <smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me> <0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <6192bb11$0$702$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Nov 2021 18:54:01 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2386616fa225f3c375c50639d5b23964";
logging-data="608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//dwWlrowVVU0BMdL9Nbmz010RLrlIV+o="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:NvuQ9sEhyYSModIhjGZYURYgRRo=
 by: Simon Clubley - Tue, 16 Nov 2021 18:54 UTC

On 2021-11-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 11/15/2021 1:51 PM, Simon Clubley wrote:
>> On 2021-11-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 11/14/2021 5:05 PM, Simon Clubley wrote:
>>>> On 2021-11-14, Dave Froble <davef@tsoft-inc.com> wrote:
>>>>> One really doesn't need a language or compiler to get in the way of what needs
>>>>> to be done.
>>>>
>>>> There is a move towards more safe languages for systems programming.
>>>>
>>>> The current fashion, Rust, has horrible syntax, and I have no confidence
>>>> that code written in it today will still compile on the Rust compilers
>>>> of 5 to 10 years from now, but its use is being driven by the desire
>>>> for using safer languages.
>>>>
>>>> When Rust falls out of fashion, it would be nice if whatever follows
>>>> Rust would address both of those problems.
>>>
>>> Rust seems to be getting some traction.
>>>
>>
>> Unfortunately so. I like the concepts and desire to move to safer
>> languages but I find the Rust syntax itself ugly. People seem to
>> have forgotten that you write the code once (hopefully!) but then
>> read it many times.
>
> What do you think about Go?
>

It doesn't seem to be a language designed for writing bare metal code
or operating systems in general so I have not really used it.

On a non-technical level, given how Google treats its projects, I would
also worry that suddenly one day Go would no longer be supported by Google.

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<ividcbF655lU1@mid.individual.net>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Tue, 16 Nov 2021 13:59:23 -0500
Lines: 51
Message-ID: <ividcbF655lU1@mid.individual.net>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<ivdl9eF8tr0U1@mid.individual.net> <6191a254$0$706$14726298@news.sunsite.dk>
<smu97p$3hs$1@dont-email.me> <6192b8e4$0$696$14726298@news.sunsite.dk>
<sn0u41$j0$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 W8VufRIWt4bs7kWuJSfTsQg7+HRPgxtVaOYYftnf8/x6C7Xy+g
Cancel-Lock: sha1:KmP27LAJfDI63a1vL+ZReYdJkvI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
In-Reply-To: <sn0u41$j0$1@dont-email.me>
Content-Language: en-US
 by: Bill Gunshannon - Tue, 16 Nov 2021 18:59 UTC

On 11/16/21 1:43 PM, Simon Clubley wrote:
> On 2021-11-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 11/15/2021 1:34 PM, Simon Clubley wrote:
>>> On 2021-11-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>>
>>>> But Ada did fall out of fashion.
>>>>
>>>> There are probably many explanations for that, but my guess
>>>> is that the complexity of the language turned out to be a
>>>> problem.
>>>
>>> There's also the problem that the Ada compiler situation overall is not
>>> good and that Adacore's Community Edition version of GNAT is pure GPL
>>> with no runtime exception. See https://www.adacore.com/community for
>>> details.
>>
>> I know about that restriction. It has been discussed before.
>>
>> If they really wanted it then they would pay ACT for the commercial edition.
>>
>
> Unfortunately, that's still an issue when you don't have that problem
> with other languages such as C and C++.
>
> People might want to explore other languages (including Ada) but there
> are plenty of production-quality free language compilers available today.
>
> Adacore's policy is a barrier to attracting those types of people.
>
>>> There's still the FSF distribution of GNAT (at least for the targets
>>> it supports) however.
>>
>> Unfortunately then most GCC dists does not include gnat.
>>
>> Supposedly m2 is going to be in standard GCC dist going forward,
>> so maybe Modula-2 instead of Ada??
>>
>
> Interesting. I didn't know that, thanks. I wonder if uppercase
> keywords will be an optional feature instead of being mandatory ?
>
> I wonder if you will be able to do bare metal coding with it ?
>

It would seem to me that bare metal coding isn't a compiler thing,
it's a library thing. Create the necessary libraries for your bare
metal and have at it.

bill

Re: ADA and VMS (was Safer programming languages)

<sn0vi5$j0$3@dont-email.me>

  copy mid

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

  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: ADA and VMS (was Safer programming languages)
Date: Tue, 16 Nov 2021 19:07:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <sn0vi5$j0$3@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me> <smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org> <smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org> <smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me> <smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk> <smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me> <0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <ivfvhdFmg4rU2@mid.individual.net> <ivg04vFmkaaU1@mid.individual.net> <smuiqs$v7g$1@dont-email.me> <ivg8ovFo6nsU1@mid.individual.net> <6192fce1$0$706$14726298@news.sunsite.dk> <ivggo9Fpk5dU1@mid.individual.net>
Injection-Date: Tue, 16 Nov 2021 19:07:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2386616fa225f3c375c50639d5b23964";
logging-data="608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vkyw02zFJBOgGOx5dKatcmoD+njbr78s="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Lnj4u9suG9oAasSGLiz1MVURhj4=
 by: Simon Clubley - Tue, 16 Nov 2021 19:07 UTC

On 2021-11-15, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>
> I realize all that. I would just like to see some comparisons.
> I don't know that any were actually done. It all goes back to
> a comment I got from someone from the Ada Users Group about 30
> years ago. I mentioned an interest in a version of Unix rewritten
> in Ada and was quickly informed that while it could be done it
> would result in a useless operating system because the Ada version
> would be very inefficient. Needless to say, I never tried it.
> Might be fun to dig up some benchmarks and try it, but I always
> prefer real world examples to contrived benchmarks.
>

I think that person was talking (mostly) nonsense.

For example, the original version of RTEMS was written in Ada before
it was ported to C (IIRC, because C was more common in the open source
world and supported more architectures).

Also, look at the sheer amount of boundary checks and descriptor decoding
that VMS does in its APIs. (For example).

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6194029a$0$692$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 16 Nov 2021 14:12:21 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<ivdl9eF8tr0U1@mid.individual.net> <6191a254$0$706$14726298@news.sunsite.dk>
<smu97p$3hs$1@dont-email.me> <6192b8e4$0$696$14726298@news.sunsite.dk>
<sn0u41$j0$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sn0u41$j0$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 59
Message-ID: <6194029a$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b0a651c7.news.sunsite.dk
X-Trace: 1637089947 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:60384
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 16 Nov 2021 19:12 UTC

On 11/16/2021 1:43 PM, Simon Clubley wrote:
> On 2021-11-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 11/15/2021 1:34 PM, Simon Clubley wrote:
>>> On 2021-11-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>>
>>>> But Ada did fall out of fashion.
>>>>
>>>> There are probably many explanations for that, but my guess
>>>> is that the complexity of the language turned out to be a
>>>> problem.
>>>
>>> There's also the problem that the Ada compiler situation overall is not
>>> good and that Adacore's Community Edition version of GNAT is pure GPL
>>> with no runtime exception. See https://www.adacore.com/community for
>>> details.
>>
>> I know about that restriction. It has been discussed before.
>>
>> If they really wanted it then they would pay ACT for the commercial edition.
>
> Unfortunately, that's still an issue when you don't have that problem
> with other languages such as C and C++.
>
> People might want to explore other languages (including Ada) but there
> are plenty of production-quality free language compilers available today.
>
> Adacore's policy is a barrier to attracting those types of people.

Maybe.

But for very serious use then paying should not be a problem.

And for just trying it out then GPL should not be a problem.

GPL being unacceptable and not willing to pay is a group in between.

>>> There's still the FSF distribution of GNAT (at least for the targets
>>> it supports) however.
>>
>> Unfortunately then most GCC dists does not include gnat.
>>
>> Supposedly m2 is going to be in standard GCC dist going forward,
>> so maybe Modula-2 instead of Ada??
>
> Interesting. I didn't know that, thanks.

https://www.phoronix.com/scan.php?page=news_item&px=Modula-2-GCC-Mainline-Hope-2021

> I wonder if uppercase
> keywords will be an optional feature instead of being mandatory ?

I doubt it.

> I wonder if you will be able to do bare metal coding with it ?

No idea.

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<sn108b$j0$4@dont-email.me>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Tue, 16 Nov 2021 19:19:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <sn108b$j0$4@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me> <smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org> <smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org> <smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me> <smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk> <smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me> <0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <ivdl9eF8tr0U1@mid.individual.net> <6191a254$0$706$14726298@news.sunsite.dk> <smu97p$3hs$1@dont-email.me> <6192b8e4$0$696$14726298@news.sunsite.dk> <sn0u41$j0$1@dont-email.me> <ividcbF655lU1@mid.individual.net>
Injection-Date: Tue, 16 Nov 2021 19:19:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2386616fa225f3c375c50639d5b23964";
logging-data="608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XoQL3mZqTdn8WXVXg2kHvnthE5jcAXNU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:l6kL/TN3Uathn5U3Onz41argfE4=
 by: Simon Clubley - Tue, 16 Nov 2021 19:19 UTC

On 2021-11-16, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>
> It would seem to me that bare metal coding isn't a compiler thing,
> it's a library thing. Create the necessary libraries for your bare
> metal and have at it.
>

For one simple example, can you turn off garbage collection in a
language when running in bare metal mode ? (Go is a GC language)

How much of the language do you lose if you can do that ?

Go is also reported not to support low-level features such as
pointer arithmetric.

There's also the fact that at the very lowest levels, you need to
be able to write code that does not need a runtime because there
isn't an operating system under that code to support that runtime.
It wasn't clear to me if you can actually do that with Go.

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<619404ff$0$701$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 16 Nov 2021 14:22:34 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sn0uo9$j0$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 56
Message-ID: <619404ff$0$701$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b0a651c7.news.sunsite.dk
X-Trace: 1637090559 news.sunsite.dk 701 arne@vajhoej.dk/68.9.63.232:60715
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 16 Nov 2021 19:22 UTC

On 11/16/2021 1:54 PM, Simon Clubley wrote:
> On 2021-11-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 11/15/2021 1:51 PM, Simon Clubley wrote:
>>> On 2021-11-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>> On 11/14/2021 5:05 PM, Simon Clubley wrote:
>>>>> On 2021-11-14, Dave Froble <davef@tsoft-inc.com> wrote:
>>>>>> One really doesn't need a language or compiler to get in the way of what needs
>>>>>> to be done.
>>>>>
>>>>> There is a move towards more safe languages for systems programming.
>>>>>
>>>>> The current fashion, Rust, has horrible syntax, and I have no confidence
>>>>> that code written in it today will still compile on the Rust compilers
>>>>> of 5 to 10 years from now, but its use is being driven by the desire
>>>>> for using safer languages.
>>>>>
>>>>> When Rust falls out of fashion, it would be nice if whatever follows
>>>>> Rust would address both of those problems.
>>>>
>>>> Rust seems to be getting some traction.
>>>>
>>>
>>> Unfortunately so. I like the concepts and desire to move to safer
>>> languages but I find the Rust syntax itself ugly. People seem to
>>> have forgotten that you write the code once (hopefully!) but then
>>> read it many times.
>>
>> What do you think about Go?
>
> It doesn't seem to be a language designed for writing bare metal code
> or operating systems in general so I have not really used it.

It was designed for servers.

But people are using it for small stuff.

Examples:

https://tinygo.org/

https://golangexample.com/a-go-unikernel-running-on-x86-bare-metal/

> On a non-technical level, given how Google treats its projects, I would
> also worry that suddenly one day Go would no longer be supported by Google.

Not likely. It has gotten so much traction that it would
be very difficult to stop it.

Docker, Kubernetes and OpenShift are all written in Go. In 5 years then
75% of the worlds server computing will be run in Kubernetes clusters.

Amazon, Microsoft, Google themselves, IBM/Redhat, VMWare etc. all
need that stuff.

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6194070c$0$701$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 16 Nov 2021 14:31:18 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<ivdl9eF8tr0U1@mid.individual.net> <6191a254$0$706$14726298@news.sunsite.dk>
<smu97p$3hs$1@dont-email.me> <6192b8e4$0$696$14726298@news.sunsite.dk>
<sn0u41$j0$1@dont-email.me> <ividcbF655lU1@mid.individual.net>
<sn108b$j0$4@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sn108b$j0$4@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 50
Message-ID: <6194070c$0$701$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b0a651c7.news.sunsite.dk
X-Trace: 1637091084 news.sunsite.dk 701 arne@vajhoej.dk/68.9.63.232:60981
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 16 Nov 2021 19:31 UTC

On 11/16/2021 2:19 PM, Simon Clubley wrote:
> On 2021-11-16, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>> It would seem to me that bare metal coding isn't a compiler thing,
>> it's a library thing. Create the necessary libraries for your bare
>> metal and have at it.
>
> For one simple example, can you turn off garbage collection in a
> language when running in bare metal mode ? (Go is a GC language)
>
> How much of the language do you lose if you can do that ?

Bare metal and GC is not a problem.

Hard real time and GC is a problem.

But if your bare metal is also hard real time, then ...

It was not what Go was designed for.

But there are options available.

You can disable automatic and call GC when you want to.

There are external libraries available like:

https://github.com/teh-cmc/mmm

> Go is also reported not to support low-level features such as
> pointer arithmetric.

They strongly recommends against doing it.

But there is an unsafe package if you want to shoot yourself in the
foot.

> There's also the fact that at the very lowest levels, you need to
> be able to write code that does not need a runtime because there
> isn't an operating system under that code to support that runtime.
> It wasn't clear to me if you can actually do that with Go.

It is not designed for that.

But see one of the links I sent in the other post.

It looks doable.

Recommended? Questionable!

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<sn111u$j0$5@dont-email.me>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Tue, 16 Nov 2021 19:33:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <sn111u$j0$5@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me> <smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org> <smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org> <smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me> <smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk> <smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me> <0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me> <619404ff$0$701$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Nov 2021 19:33:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2386616fa225f3c375c50639d5b23964";
logging-data="608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KlE8QN6V5v9HK+r/DyFp7sFjA6JFfIhw="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:LxKzVdXZlx4xyXxDEes4Onwj2qc=
 by: Simon Clubley - Tue, 16 Nov 2021 19:33 UTC

On 2021-11-16, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> https://tinygo.org/
>
> https://golangexample.com/a-go-unikernel-running-on-x86-bare-metal/
>

Interesting thanks.

I've just done a bit of reading about Go to refresh my memory and I
discovered this once again:

https://stackoverflow.com/questions/17153838/why-does-golang-enforce-curly-bracket-to-not-be-on-the-next-line

Go is the only language I know of that forces this style.

Great if you like this brace style, not so great otherwise... :-)

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<619409bb$0$699$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 16 Nov 2021 14:42:45 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.1
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
<619404ff$0$701$14726298@news.sunsite.dk> <sn111u$j0$5@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sn111u$j0$5@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 20
Message-ID: <619409bb$0$699$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: b0a651c7.news.sunsite.dk
X-Trace: 1637091771 news.sunsite.dk 699 arne@vajhoej.dk/68.9.63.232:61274
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 16 Nov 2021 19:42 UTC

On 11/16/2021 2:33 PM, Simon Clubley wrote:
> On 2021-11-16, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> https://tinygo.org/
>>
>> https://golangexample.com/a-go-unikernel-running-on-x86-bare-metal/
>
> Interesting thanks.
>
> I've just done a bit of reading about Go to refresh my memory

You can pick and chose among lots of languages if you are looking
for high level languages for business applications.

But for low level stuff the choices are way more limited. If you want
something newer than C/C++ with some industry support and you do
not like Rust then Go becomes pretty obvious.

Alternatively you could learn to love Rust.

Arne

Re: ADA and VMS (was Safer programming languages)

<6194114f$0$697$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 16 Nov 2021 15:15:06 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.1
Subject: Re: ADA and VMS (was Safer programming languages)
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<ivfvhdFmg4rU2@mid.individual.net> <ivg04vFmkaaU1@mid.individual.net>
<smuiqs$v7g$1@dont-email.me> <ivg8ovFo6nsU1@mid.individual.net>
<6192fce1$0$706$14726298@news.sunsite.dk> <ivggo9Fpk5dU1@mid.individual.net>
<6193161e$0$698$14726298@news.sunsite.dk> <ivhlnjF1mq6U1@mid.individual.net>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <ivhlnjF1mq6U1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 43
Message-ID: <6194114f$0$697$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 5689313f.news.sunsite.dk
X-Trace: 1637093711 news.sunsite.dk 697 arne@vajhoej.dk/68.9.63.232:62288
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 16 Nov 2021 20:15 UTC

On 11/16/2021 7:15 AM, Bill Gunshannon wrote:
> I am interested in whether or not ADD A TO B GIVING C is faster, slower
> or the same between Ada and C.( and other languages as well!)

For some random synthetic micro-benchmark:

Language Compiler/Runtime Integer performance Floating point
performance String performance Total performance
C GCC 11.1 -O3 64 bit 1670 239 23.31 210.32
C MSVC++ VS19 /O2 64 bit 1055 239 13.76 151.39
C LLVM 12.0 -O3 64 bit 557 239 19.54 137.53
Java SUN 17.0 Server 64 bit 548 209 13.50 115.63
Java SUN 11.0 Server 64 bit 473 209 13.19 109.25
C# .NET 5.0 64 bit 668 209 8.22 104.70
Java SUN 1.8.0 Server 64 bit 473 209 9.25 97.06
C# .NET 4.0 /o+ 64 bit 556 185 8.01 93.75
Java SUN 11.0 Graal 64 bit 417 185 10.67 93.72
C# .NET 4.0 64 bit 555 185 7.91 93.30
Ada Gnat 2017 -gnatp -O3 64 bit 554 238 5.74 91.13
Ada Gnat 2017 -O3 64 bit 505 238 5.73 88.31
C MSVC++ VS19 64 bit 371 134 12.70 85.79
C GCC 11.1 64 bit 278 139 16.31 85.74
Ada Gnat 2017 -gnatp 64 bit 276 138 5.44 59.17
Python PyPy 7.3 (Python 3.7) 64 bit 401 207 2.31 57.66
Pascal FPC 3.2 -O4 64 bit 417 186 2.41 57.18
Ada Gnat 2017 64 bit 256 138 5.10 56.48
C LLVM 12.0 64 bit 103 134 12.35 55.45
Pascal FPC 3.2 64 bit 278 145 2.40 45.91
PHP PHP 7.4 GCC 64 bit 22 34 0.67 7.91
PHP PHP 7.4 MSVC++ 64 bit 9 13 1.39 5.37
Python CPython 3.6 GCC 64 bit 6 8 0.76 3.30
Python CPython 3.6 MSVC++ 64 bit 5 5 0.44 2.22

Note that this micro-benchmark is not likely to match any real-world
workload.

More results and source code available at:

  https://www.vajhoej.dk/arne/articles/perf.html

Arne

Re: ADA and VMS (was Safer programming languages)

<sn37fe$cda$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: ADA and VMS (was Safer programming languages)
Date: Wed, 17 Nov 2021 10:35:10 -0500
Organization: HoffmanLabs LLC
Lines: 17
Message-ID: <sn37fe$cda$1@dont-email.me>
References: <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <smuiqs$v7g$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="416732bdcabf06e4e0c9ccf6b9ef2646";
logging-data="12714"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WQkK/Ro+eOEbL686toLhAjnWsP52k7dw="
User-Agent: Unison/2.2
Cancel-Lock: sha1:0M+TX4MLd8CBDXN7K3HvpY6+vVQ=
 by: Stephen Hoffman - Wed, 17 Nov 2021 15:35 UTC

On 2021-11-15 21:18:13 +0000, Robert A. Brooks said:

> ACME_SERVER and SECURITY_SERVER are written in ADA.
>
> Both are being rewritten in C.

A rewrite into C which was overdue, too.

Ada and PL/I both sharing the distinction of removal.

It'll be interesting to see what happens here with C code longer term
too, given better access to ASan and other Clang tools.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: ADA and VMS (was Safer programming languages)

<sn3dg4$v36$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: ADA and VMS (was Safer programming languages)
Date: Wed, 17 Nov 2021 12:17:56 -0500
Organization: HoffmanLabs LLC
Lines: 131
Message-ID: <sn3dg4$v36$1@dont-email.me>
References: <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <smuiqs$v7g$1@dont-email.me> <6192fce1$0$706$14726298@news.sunsite.dk> <6193161e$0$698$14726298@news.sunsite.dk> <6193c48b$0$701$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="416732bdcabf06e4e0c9ccf6b9ef2646";
logging-data="31846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Cd82TAE29NUqARPxeTukToIC5AgC0LLI="
User-Agent: Unison/2.2
Cancel-Lock: sha1:0wr0mQDofZU61Gp/QaEFxtsfoLI=
 by: Stephen Hoffman - Wed, 17 Nov 2021 17:17 UTC

On 2021-11-16 14:47:33 +0000, Arne Vajhj said:

> On 11/16/2021 7:15 AM, Bill Gunshannon wrote:
>>
>> Thus the reason we have so much bloatware today.  If the program runs
>> badly, throw more cores at it.

Can't say I see much wrong with more cores and more resources, and with
big.LITTLE and other heterogenous processor designs.

>> When I first started with programming we cared about programming and
>> efficiency. 

Because you had constraints that required that; very limited and slow hardware.

>> We profiled our programs in order to find the bad parts and we fixed them. 

That still happens. But again, you had limited and slow hardware, and
comparatively weak tooling, and you had to look at adds and multiplies.
Now, not so much.

>> It is sad that efficiency is no longer considered important to software
>> development today. 

A full VAX-11/780 server configuration cost around a hundred thousand
dollars US, back in the mid 1980s. That's closer to a quarter-million
2021 dollars. Which buys a lot of computer.

A full Mac mini M1 costs a ~hundredth of that 1980s price, is massively
faster, and massively more capable. And is dwarfed by the massive size
of the LSI-11 console, and might well consume less power than did the
RX01 console floppy.

Do I need to optimize adds and multiplies on an M1? Probably not. And
if I do, I'm probably looking at using SIMD or such via the Accelerate
framework.

Does Accelerate or other frameworks add bloat? Absolutely. But
hopefully it avoids costs and hassles when porting hardware, and the
costs adjusting existing code when newer hardware becomes available.

https://developer.apple.com/documentation/accelerate

>> And they call it engineering while we just called it programming.

Economics, mostly. Hardware has gotten cheaper faster than programmer
investments have gotten cheaper.

Folks in the 1980s grumbled about changes in computing economics and
tooling, too. Tooling that many didn't understand and didn't want to
learn about. There were massive squabbles about 2GL and 3GL back then;
about assembler and the shift to compiled languages. Adding bloat, as
was widely reported back then.

I had more than a few discussions decades ago with a very experienced
and skilled developer that was then just having to mentally shift away
from punched card app designs and limits, and was aghast at an app
having a five thousand longword array. That overnight run for that
add-heavy app went from ~overnight to ~ten minutes, given new hardware
and new software. I didn't bother to profile the add and the multiply
times for that app.

> I would say that there is a lot of focus on efficiency today.
>
> But there are two types of such focus.
>
> There is the hacker/nerd crowd that focus on micro-benchmarks of all
> sorts of things. ADD A TO B GIVING C will fit fine in that.

That instruction-level focus was wicked popular back in the VAX era,
too. Various instruction-timing tables were published. Folks optimized
individual instructions. There were folks that implemented instructions
(e.g. XFC) to get microcode speeds, too. Optimization work which mostly
vaporized when DEC released a new VAX CPU design with different
timings. And with no XFC.

If doing billions or trillions of adds as the core of the app, folks
are interested in the performance of adds and multiplies. Otherwise,
not so much.

Even back in the VAX era, folks were still throwing hardware at this
problem, too. Back then, with the FP780 floating point accelerator. The
FP780 speeded both floating point, as well as integer multiply. Or
corrupted floating point and integer multiply, if the FP780 was
recalcitrant.

For those interested in these sorts of benchmarking and performance
problems and the closely-related "instruction bumming" challenges, have
a look around for "code golf", among other discussions.

There's a performance variation awaiting here too, with algorithms now
ill-performing for the scale of the current data. I've seen these cases
arise in more than a few existing OpenVMS apps.

> And then there is the engineering/professional crowd that focus on
> actual solution/system performance. But what measurement in this area
> prove to be relevant has changed over the last 30 years. Unless one is
> in a specialized area like HPC then ADD A TO B GIVING C is not relevant
> for solution/system performance today. They are looking for round trips
> between tiers, interpreted vs compiled, data models etc..

Absent a program executing billions or trillions of adds or multiplies,
~nobody cares about the speed of an individual add or multiply across
differing programming languages. Other cost factors are involved.

And for apps that are executing billions or trillions of adds or
multiplies, we're now looking at migrating out of iterative code and
into SIMD / AVX / Accelerate where feasible, or migrating the math
entirely off the (traditional) CPU.

For many years now, other app activities have utterly overwhelmed the
speed of integer math for most apps. DEC learned about that when the
VAX market drifted out of scientific and HPC apps, and drifted into
commercial apps. For hardware performance, Apple M1 Max will reportedly
run ~ten teraflops, give or take. And last-millennium HDD storage I/O
is glacial, as compared with NVMe and newer I/O. And in practical 2021
terms, VAX had ~-no storage and ~no memory, even the few VAX models
with extended physical addressing.

And economically, ill-chosen algorithms, and API compatibility, and of
under-maintained and un-refactored existing app code, and abstraction
layers and the rest of "bloat" will continue, as will the hardware
upgrades. Because the stuff involved still has to sell at a profit, or
management has to cover the costs of the app work from profits and
salaries. Trade-offs can and do and will shift, too. As will
gatekeeping.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: ADA and VMS (was Safer programming languages)

<sn87jv$gif$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: ADA and VMS (was Safer programming languages)
Date: Fri, 19 Nov 2021 07:08:13 -0600
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <sn87jv$gif$1@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<ivfvhdFmg4rU2@mid.individual.net> <ivg04vFmkaaU1@mid.individual.net>
<smuiqs$v7g$1@dont-email.me> <ivg8ovFo6nsU1@mid.individual.net>
<6192fce1$0$706$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 19 Nov 2021 13:08:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="32b93b187d0ed4d704b233e7cda16970";
logging-data="16975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fIBJWYV0cFbFaT35P2vA7qyrSRlmeogE="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.3.0
Cancel-Lock: sha1:r13OlIbb7J1bPRLHkD7U2DiTjw4=
In-Reply-To: <6192fce1$0$706$14726298@news.sunsite.dk>
Content-Language: en-US
 by: Craig A. Berry - Fri, 19 Nov 2021 13:08 UTC

On 11/15/21 6:35 PM, Arne Vajhøj wrote:
> On 11/15/2021 6:28 PM, Bill Gunshannon wrote:
>> On 11/15/21 4:18 PM, Robert A. Brooks wrote:
>>> On 11/15/2021 4:01 PM, Bill Gunshannon wrote:
>>>> This talk of Ada, VMS and Systems programming has raised a new
>>>> question in my mind.
>>>>
>>>> Given that Ada got it's start on VMS (one of the first validated
>>>> Ada Compilers was on VMS) has any attempt ever been made to write
>>>> any part of VMS using Ada?  Device Driver? Anything?
>>>
>>> ACME_SERVER and SECURITY_SERVER are written in ADA.
>>>
>>> Both are being rewritten in C.
>>
>> Were there ever any internal benchmarks run against them so that
>> a comparison of performance when the C conversion is done could
>> be looked at?
>
> Depending on how many checks were disabled in the Ada version, then
> the C version may be a little or a lot faster,
>
> But I cannot imagine it having any significance on modern hardware.
>
> They did not rewrite in C to save CPU cycles but because they did
> not have an Ada compiler for the new platform.

Right, but that doesn't mean the performance of the Ada version is good
or that bad performance doesn't matter. In fact, ACME server performance
is pretty lousy. SET SERVER ACME/RESTART takes 36 seconds on an rx2660.
That's 36 seconds of downtime during which no one can log in to the
system, which might not matter much in some environments, but is still a
very long time to restart a service.

Re: ADA and VMS (was Safer programming languages)

<6197b6d6$0$706$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 19 Nov 2021 09:38:12 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.1
Subject: Re: ADA and VMS (was Safer programming languages)
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<ivfvhdFmg4rU2@mid.individual.net> <ivg04vFmkaaU1@mid.individual.net>
<smuiqs$v7g$1@dont-email.me> <ivg8ovFo6nsU1@mid.individual.net>
<6192fce1$0$706$14726298@news.sunsite.dk> <sn87jv$gif$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sn87jv$gif$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 50
Message-ID: <6197b6d6$0$706$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: a3e8663c.news.sunsite.dk
X-Trace: 1637332694 news.sunsite.dk 706 arne@vajhoej.dk/68.9.63.232:63822
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 19 Nov 2021 14:38 UTC

On 11/19/2021 8:08 AM, Craig A. Berry wrote:
>
> On 11/15/21 6:35 PM, Arne Vajhøj wrote:
>> On 11/15/2021 6:28 PM, Bill Gunshannon wrote:
>>> On 11/15/21 4:18 PM, Robert A. Brooks wrote:
>>>> On 11/15/2021 4:01 PM, Bill Gunshannon wrote:
>>>>> This talk of Ada, VMS and Systems programming has raised a new
>>>>> question in my mind.
>>>>>
>>>>> Given that Ada got it's start on VMS (one of the first validated
>>>>> Ada Compilers was on VMS) has any attempt ever been made to write
>>>>> any part of VMS using Ada?  Device Driver? Anything?
>>>>
>>>> ACME_SERVER and SECURITY_SERVER are written in ADA.
>>>>
>>>> Both are being rewritten in C.
>>>
>>> Were there ever any internal benchmarks run against them so that
>>> a comparison of performance when the C conversion is done could
>>> be looked at?
>>
>> Depending on how many checks were disabled in the Ada version, then
>> the C version may be a little or a lot faster,
>>
>> But I cannot imagine it having any significance on modern hardware.
>>
>> They did not rewrite in C to save CPU cycles but because they did
>> not have an Ada compiler for the new platform.
>
> Right, but that doesn't mean the performance of the Ada version is good
> or that bad performance doesn't matter. In fact, ACME server performance
> is pretty lousy.  SET SERVER ACME/RESTART takes 36 seconds on an rx2660.
>  That's 36 seconds of downtime during which no one can log in to the
> system, which might not matter much in some environments, but is still a
> very long time to restart a service.

It is.

So if we say that the right time is 1 second, then those extra
35 seconds - what are they used on?

Doing Ada runtime checks??

I doubt it.

I suspect there are some bad logic that need to be redesigned.

Arne

Re: ADA and VMS (was Safer programming languages)

<sn9co5$7gt$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: ADA and VMS (was Safer programming languages)
Date: Fri, 19 Nov 2021 17:41:55 -0600
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <sn9co5$7gt$1@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<ivfvhdFmg4rU2@mid.individual.net> <ivg04vFmkaaU1@mid.individual.net>
<smuiqs$v7g$1@dont-email.me> <ivg8ovFo6nsU1@mid.individual.net>
<6192fce1$0$706$14726298@news.sunsite.dk> <sn87jv$gif$1@dont-email.me>
<6197b6d6$0$706$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 19 Nov 2021 23:41:57 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bacf43593ce6bb344f852793ae36302d";
logging-data="7709"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192fwLuifhLcxk5T6qDimoPvfDLMXMy9ug="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.3.0
Cancel-Lock: sha1:I0vrUafgK1OhV1heYV9G6VP9nMA=
In-Reply-To: <6197b6d6$0$706$14726298@news.sunsite.dk>
Content-Language: en-US
 by: Craig A. Berry - Fri, 19 Nov 2021 23:41 UTC

On 11/19/21 8:38 AM, Arne Vajhøj wrote:
> On 11/19/2021 8:08 AM, Craig A. Berry wrote:
>>
>> On 11/15/21 6:35 PM, Arne Vajhøj wrote:
>>> On 11/15/2021 6:28 PM, Bill Gunshannon wrote:
>>>> On 11/15/21 4:18 PM, Robert A. Brooks wrote:
>>>>> On 11/15/2021 4:01 PM, Bill Gunshannon wrote:
>>>>>> This talk of Ada, VMS and Systems programming has raised a new
>>>>>> question in my mind.
>>>>>>
>>>>>> Given that Ada got it's start on VMS (one of the first validated
>>>>>> Ada Compilers was on VMS) has any attempt ever been made to write
>>>>>> any part of VMS using Ada?  Device Driver? Anything?
>>>>>
>>>>> ACME_SERVER and SECURITY_SERVER are written in ADA.
>>>>>
>>>>> Both are being rewritten in C.
>>>>
>>>> Were there ever any internal benchmarks run against them so that
>>>> a comparison of performance when the C conversion is done could
>>>> be looked at?
>>>
>>> Depending on how many checks were disabled in the Ada version, then
>>> the C version may be a little or a lot faster,
>>>
>>> But I cannot imagine it having any significance on modern hardware.
>>>
>>> They did not rewrite in C to save CPU cycles but because they did
>>> not have an Ada compiler for the new platform.
>>
>> Right, but that doesn't mean the performance of the Ada version is good
>> or that bad performance doesn't matter. In fact, ACME server performance
>> is pretty lousy.  SET SERVER ACME/RESTART takes 36 seconds on an rx2660.
>>   That's 36 seconds of downtime during which no one can log in to the
>> system, which might not matter much in some environments, but is still a
>> very long time to restart a service.
>
> It is.
>
> So if we say that the right time is 1 second, then those extra
> 35 seconds - what are they used on?
>
> Doing Ada runtime checks??
>
> I doubt it.
>
> I suspect there are some bad logic that need to be redesigned.

Abysmal performance of a service written in Ada may or may not have
anything to do with Ada directly or indirectly. Or it may. ACME has no
reason to do a large quantity of network I/O or disk I/O, so it has no
reason to be considered a victim of the slow network stack or the slow
disk/filesystem infrastructure endemic to VMS. So the only thing I know
is that the slowest service I've ever seen on VMS in a few decades is
that this particular service is (uncharacteristically) written in Ada,
so Ada is suspect. I do not have the time, interest, or access to the
code that would be required to prove the actual performance bottleneck.

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t5kaps$p5k$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Thu, 12 May 2022 21:03:53 -0400
Organization: Aioe.org NNTP Server
Message-ID: <t5kaps$p5k$1@gioia.aioe.org>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="25780"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Fri, 13 May 2022 01:03 UTC

On 11/16/2021 2:22 PM, Arne Vajhøj wrote:
> On 11/16/2021 1:54 PM, Simon Clubley wrote:
>> On 2021-11-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> What do you think about Go?
>>
>> It doesn't seem to be a language designed for writing bare metal code
>> or operating systems in general so I have not really used it.
>
> It was designed for servers.
>
> But people are using it for small stuff.

https://stackoverflow.blog/2022/04/04/comparing-go-vs-c-in-embedded-applications/

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t5ljio$b1e$2@dont-email.me>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Fri, 13 May 2022 12:39:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <t5ljio$b1e$2@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me> <smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org> <smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org> <smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me> <smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk> <smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me> <0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me> <t5kaps$p5k$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 13 May 2022 12:39:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b0f5e8f072c3255c3de481e7b8415a03";
logging-data="11310"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/Ryqnws8mx2NUrcPDXzlQdtIISMUsQM0="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:QBn9klvWK6pmdEl4AauyUcV/FWE=
 by: Simon Clubley - Fri, 13 May 2022 12:39 UTC

On 2022-05-12, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 11/16/2021 2:22 PM, Arne Vajhøj wrote:
>> On 11/16/2021 1:54 PM, Simon Clubley wrote:
>>> On 2021-11-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>> What do you think about Go?
>>>
>>> It doesn't seem to be a language designed for writing bare metal code
>>> or operating systems in general so I have not really used it.
>>
>> It was designed for servers.
>>
>> But people are using it for small stuff.
>
> https://stackoverflow.blog/2022/04/04/comparing-go-vs-c-in-embedded-applications/
>
> Arne
>

From that article:

|However, we want to stress that Go cannot be considered a replacement for C
|as there are many places where C is and likely will be needed, such as in
|the development of real time operating systems or device drivers.

That kills even considering Go for most embedded systems.

It sounds to me like they are writing normal applications that are
running under Linux, but just on embedded hardware.

Let me know when they are using Go to, for example, directly fly UAVs
and directly control the UAV hardware (and where Go isn't just been
used as a shim on top of C code that does the actual real-time work).

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<627f04bb$0$694$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 13 May 2022 21:24:12 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
<t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t5ljio$b1e$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 42
Message-ID: <627f04bb$0$694$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 4dfab945.news.sunsite.dk
X-Trace: 1652491451 news.sunsite.dk 694 arne@vajhoej.dk/68.9.63.232:49305
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 14 May 2022 01:24 UTC

On 5/13/2022 8:39 AM, Simon Clubley wrote:
> On 2022-05-12, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 11/16/2021 2:22 PM, Arne Vajhøj wrote:
>>> On 11/16/2021 1:54 PM, Simon Clubley wrote:
>>>> On 2021-11-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>>> What do you think about Go?
>>>>
>>>> It doesn't seem to be a language designed for writing bare metal code
>>>> or operating systems in general so I have not really used it.
>>>
>>> It was designed for servers.
>>>
>>> But people are using it for small stuff.
>>
>> https://stackoverflow.blog/2022/04/04/comparing-go-vs-c-in-embedded-applications/
>
> From that article:
>
> |However, we want to stress that Go cannot be considered a replacement for C
> |as there are many places where C is and likely will be needed, such as in
> |the development of real time operating systems or device drivers.
>
> That kills even considering Go for most embedded systems.
>
> It sounds to me like they are writing normal applications that are
> running under Linux, but just on embedded hardware.
>
> Let me know when they are using Go to, for example, directly fly UAVs
> and directly control the UAV hardware (and where Go isn't just been
> used as a shim on top of C code that does the actual real-time work).

You are not an easy customer to sell a programming language to.

:-)

Rust and Go is what is new with some serious momentum/backing.

If you are willing to go for more exotic options, then maybe
Hare will fit your requirements.

Arne

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t5u3jc$13f$3@dont-email.me>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Mon, 16 May 2022 18:02:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <t5u3jc$13f$3@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me> <smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org> <smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org> <smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me> <smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk> <smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me> <0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me> <t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me> <627f04bb$0$694$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 16 May 2022 18:02:20 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="97fed6b6ab737e743b9d651c1a08a27e";
logging-data="1135"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5ctvn0CsA2HM8Ed9fhypBM9uAEHkETtU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:WPcUsVYFHpTgSpLvIxkuMs3KgSg=
 by: Simon Clubley - Mon, 16 May 2022 18:02 UTC

On 2022-05-13, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 5/13/2022 8:39 AM, Simon Clubley wrote:
>> On 2022-05-12, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>
>>> https://stackoverflow.blog/2022/04/04/comparing-go-vs-c-in-embedded-applications/
>>
>> From that article:
>>
>> |However, we want to stress that Go cannot be considered a replacement for C
>> |as there are many places where C is and likely will be needed, such as in
>> |the development of real time operating systems or device drivers.
>>
>> That kills even considering Go for most embedded systems.
>>
>> It sounds to me like they are writing normal applications that are
>> running under Linux, but just on embedded hardware.
>>
>> Let me know when they are using Go to, for example, directly fly UAVs
>> and directly control the UAV hardware (and where Go isn't just been
>> used as a shim on top of C code that does the actual real-time work).
>
> You are not an easy customer to sell a programming language to.
>
>:-)
>

:-)

That's because I know exactly what I want from a programming language
and these days, it seems like most of the time you are using the
least-worst option or the most viable option instead of the best option.
(Most viable option does not mean _best_ option BTW).

> Rust and Go is what is new with some serious momentum/backing.
>
> If you are willing to go for more exotic options, then maybe
> Hare will fit your requirements.
>

Interesting. I wasn't aware of that one.

No 32-bit ARM support however (or 32-bit support in general).

It does appear to have some package/module based support.

Simon.

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

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<t5u4nk$sm7$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters
Date: Mon, 16 May 2022 14:21:40 -0400
Organization: HoffmanLabs LLC
Lines: 27
Message-ID: <t5u4nk$sm7$1@dont-email.me>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me> <smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org> <smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org> <smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me> <smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk> <smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me> <0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com> <smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me> <6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me> <6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me> <t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me> <627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="30ace5296055842ae18e2e0060bd97f1";
logging-data="29383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aMl/E5ksBYcajGoJqeL2GG3Bdgd2Nmn4="
User-Agent: Unison/2.2
Cancel-Lock: sha1:sde/Qo++dCtL2XyLXWRiAt19T6U=
 by: Stephen Hoffman - Mon, 16 May 2022 18:21 UTC

On 2022-05-16 18:02:20 +0000, Simon Clubley said:

> On 2022-05-13, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
>
>> Rust and Go is what is new with some serious momentum/backing.
>>
>> If you are willing to go for more exotic options, then maybe Hare will
>> fit your requirements.
>>
>
> Interesting. I wasn't aware of that one.
>
> No 32-bit ARM support however (or 32-bit support in general).

Zig has (some) support for ARMv7a, and ties into C quite well.

ARMv7a support and x86-32 support is available in the most recent 0.9.1
version, though is not presently available in Master.

For porting, Zig is self-hosting, though LLVM support was around as an
option when last I checked.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<jenjdtFgfvhU1@mid.individual.net>

  copy mid

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

  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: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Date: Thu, 19 May 2022 15:17:17 -0400
Lines: 53
Message-ID: <jenjdtFgfvhU1@mid.individual.net>
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
<t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me>
<627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net QlEAYBitEUk0ZmEYlsEn2Qh3zLtn+y7c6cuSjqWSz7tpose088
Cancel-Lock: sha1:HZDXLf/Iav4Y49+M4Zzzsqq5EJY=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Content-Language: en-US
In-Reply-To: <t5u3jc$13f$3@dont-email.me>
 by: Bill Gunshannon - Thu, 19 May 2022 19:17 UTC

On 5/16/22 14:02, Simon Clubley wrote:
> On 2022-05-13, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 5/13/2022 8:39 AM, Simon Clubley wrote:
>>> On 2022-05-12, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>>
>>>> https://stackoverflow.blog/2022/04/04/comparing-go-vs-c-in-embedded-applications/
>>>
>>> From that article:
>>>
>>> |However, we want to stress that Go cannot be considered a replacement for C
>>> |as there are many places where C is and likely will be needed, such as in
>>> |the development of real time operating systems or device drivers.
>>>
>>> That kills even considering Go for most embedded systems.
>>>
>>> It sounds to me like they are writing normal applications that are
>>> running under Linux, but just on embedded hardware.
>>>
>>> Let me know when they are using Go to, for example, directly fly UAVs
>>> and directly control the UAV hardware (and where Go isn't just been
>>> used as a shim on top of C code that does the actual real-time work).
>>
>> You are not an easy customer to sell a programming language to.
>>
>> :-)
>>
>
> :-)
>
> That's because I know exactly what I want from a programming language
> and these days, it seems like most of the time you are using the
> least-worst option or the most viable option instead of the best option.
> (Most viable option does not mean _best_ option BTW).
>
>> Rust and Go is what is new with some serious momentum/backing.
>>
>> If you are willing to go for more exotic options, then maybe
>> Hare will fit your requirements.
>>
>
> Interesting. I wasn't aware of that one.
>
> No 32-bit ARM support however (or 32-bit support in general).
>
> It does appear to have some package/module based support.
>

Just what the industry needs. A few more ego languages.

bill

Re: Safer programming languages (and walking :-) ), was: Re: 8-bit characters

<6286d839$0$706$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 19 May 2022 19:52:22 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: Safer programming languages (and walking :-) ), was: Re: 8-bit
characters
Content-Language: en-US
Newsgroups: comp.os.vms
References: <smg4a2$boh$1@gioia.aioe.org> <smh1k8$ul5$1@dont-email.me>
<smiagb$1u1f$1@gioia.aioe.org> <smicj8$h9r$1@gioia.aioe.org>
<smij6j$ndd$1@gioia.aioe.org> <smji9o$4vb$1@gioia.aioe.org>
<smjnmi$vng$1@gioia.aioe.org> <smjo3a$e2a$1@dont-email.me>
<smk04g$19rt$1@gioia.aioe.org> <618d84c9$0$692$14726298@news.sunsite.dk>
<smk0u9$i36$1@dont-email.me> <smmboi$tku$1@dont-email.me>
<0bce8caf-049a-4945-af14-cbc4b01bd5f2n@googlegroups.com>
<smroqk$f6s$1@dont-email.me> <sms17m$5no$1@dont-email.me>
<6191a18e$0$706$14726298@news.sunsite.dk> <smua6t$3hs$3@dont-email.me>
<6192bb11$0$702$14726298@news.sunsite.dk> <sn0uo9$j0$2@dont-email.me>
<t5kaps$p5k$1@gioia.aioe.org> <t5ljio$b1e$2@dont-email.me>
<627f04bb$0$694$14726298@news.sunsite.dk> <t5u3jc$13f$3@dont-email.me>
<jenjdtFgfvhU1@mid.individual.net>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <jenjdtFgfvhU1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 29
Message-ID: <6286d839$0$706$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: bef36c8e.news.sunsite.dk
X-Trace: 1653004345 news.sunsite.dk 706 arne@vajhoej.dk/68.9.63.232:50912
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 19 May 2022 23:52 UTC

On 5/19/2022 3:17 PM, Bill Gunshannon wrote:
> On 5/16/22 14:02, Simon Clubley wrote:
>> On 2022-05-13, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> Rust and Go is what is new with some serious momentum/backing.
>>>
>>> If you are willing to go for more exotic options, then maybe
>>> Hare will fit your requirements.
>>
>> Interesting. I wasn't aware of that one.
>>
>> No 32-bit ARM support however (or 32-bit support in general).
>>
>> It does appear to have some package/module based support.
>
> Just what the industry needs.  A few more ego languages.

Programming languages is very much a matter of evolution.

New languages show up all the time. Those that are good replace
older languages. Those that are not good dies.

What if Wirth and K&R had decided in the late 60's that
Fortran, Cobol and PL/I had everything so no need for
any "ego languages".

Arne

Pages:123456789
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor