Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

One picture is worth 128K words.


computers / comp.os.vms / Re: VMS Cobol - GnuCOBOL

SubjectAuthor
* VMS Cobol - GnuCOBOLArne Vajhøj
+- Re: VMS Cobol - GnuCOBOLNeil Rieck
+* Re: VMS Cobol - GnuCOBOLultr...@gmail.com
|+* Re: VMS Cobol - GnuCOBOLbill
||`* Re: VMS Cobol - GnuCOBOLArne Vajhøj
|| `* Re: VMS Cobol - GnuCOBOLSimon Clubley
||  +* Re: VMS Cobol - GnuCOBOLDave Froble
||  |`* Re: VMS Cobol - GnuCOBOLSimon Clubley
||  | `* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||  |  `* Re: VMS Cobol - GnuCOBOLDenys Beauchemin
||  |   +* Re: VMS Cobol - GnuCOBOLSingle Stage to Orbit
||  |   |+* Re: VMS Cobol - GnuCOBOLPaul Gavin
||  |   ||+- Re: VMS Cobol - GnuCOBOLDenys Beauchemin
||  |   ||`* Re: VMS Cobol - GnuCOBOLScott Dorsey
||  |   || `* Re: VMS Cobol - GnuCOBOLbill
||  |   ||  `- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||  |   |`- Re: VMS Cobol - GnuCOBOLDenys Beauchemin
||  |   `* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||  |    `* Re: VMS Cobol - GnuCOBOLDenys Beauchemin
||  |     `- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||  `* Re: VMS Cobol - GnuCOBOLultr...@gmail.com
||   `* Re: VMS Cobol - GnuCOBOLSimon Clubley
||    +- Re: VMS Cobol - GnuCOBOLDave Froble
||    `* Re: VMS Cobol - GnuCOBOLultr...@gmail.com
||     +- Re: VMS Cobol - GnuCOBOLBob Eager
||     `* Re: VMS Cobol - GnuCOBOLSimon Clubley
||      +* Re: VMS Cobol - GnuCOBOLultr...@gmail.com
||      |+* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||+* Re: VMS Cobol - GnuCOBOLNeil Rieck
||      |||`- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||`* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      || `* Re: VMS Cobol - GnuCOBOLDenys Beauchemin
||      ||  +* Re: VMS Cobol - GnuCOBOLbill
||      ||  |`- Re: VMS Cobol - GnuCOBOLDenys Beauchemin
||      ||  `* Re: VMS Cobol - GnuCOBOLNeil Rieck
||      ||   +- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||   +- Re: VMS Cobol - GnuCOBOLDan Cross
||      ||   `* Re: VMS Cobol - GnuCOBOLJohnny Billquist
||      ||    `* Re: VMS Cobol - GnuCOBOLbill
||      ||     +* Re: VMS Cobol - GnuCOBOLDennis Boone
||      ||     |`- Re: VMS Cobol - GnuCOBOLbill
||      ||     +* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||     |`- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||     `* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||      +* Re: VMS Cobol - GnuCOBOLDave Froble
||      ||      |+- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||      |`* Re: VMS Cobol - GnuCOBOLbill
||      ||      | `- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||      +- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||      `* Re: VMS Cobol - GnuCOBOLScott Dorsey
||      ||       `* Re: VMS Cobol - GnuCOBOLDave Froble
||      ||        `* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||         `* Re: VMS Cobol - GnuCOBOLbill
||      ||          `* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      ||           `* Re: VMS Cobol - GnuCOBOLDave Froble
||      ||            `- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      |`* Re: VMS Cobol - GnuCOBOLSimon Clubley
||      | +* Re: VMS Cobol - GnuCOBOLNeil Rieck
||      | |`* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      | | +* Re: VMS Cobol - GnuCOBOLScott Dorsey
||      | | |+* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      | | ||`* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      | | || `- Re: VMS Cobol - GnuCOBOLSimon Clubley
||      | | |`* Re: VMS Cobol - GnuCOBOLSimon Clubley
||      | | | +- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      | | | `- Re: VMS Cobol - GnuCOBOLDennis Boone
||      | | `* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      | |  `- Re: VMS Cobol - GnuCOBOLMark DeArman
||      | +* Re: VMS Cobol - GnuCOBOLultr...@gmail.com
||      | |+- Re: VMS Cobol - GnuCOBOLSingle Stage to Orbit
||      | |`- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      | `* Re: VMS Cobol - GnuCOBOLultr...@gmail.com
||      |  +- Re: VMS Cobol - GnuCOBOLDave Froble
||      |  `- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||      `* Re: VMS Cobol - GnuCOBOLultr...@gmail.com
||       `* Re: VMS Cobol - GnuCOBOLPaul Gavin
||        `* Re: VMS Cobol - GnuCOBOLultr...@gmail.com
||         +- Re: VMS Cobol - GnuCOBOLChris Townley
||         `* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||          `* Re: VMS Cobol - GnuCOBOLDavid Wade
||           +- Re: VMS Cobol - GnuCOBOLScott Dorsey
||           `* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||            +* Re: VMS Cobol - GnuCOBOLRobert A. Brooks
||            |+* Re: VMS Cobol - GnuCOBOLJohn Reagan
||            ||+- Re: VMS Cobol - GnuCOBOLDan Cross
||            ||+* Re: VMS Cobol - GnuCOBOLArne Vajhøj
||            |||`* Re: VMS Cobol - GnuCOBOLCraig A. Berry
||            ||| `* Re: VMS Cobol - GnuCOBOLJohn Reagan
||            |||  `- Re: VMS Cobol - GnuCOBOLAndreas Gruhl
||            ||`* Re: VMS Cobol - GnuCOBOLScott Dorsey
||            || +* Re: VMS Cobol - GnuCOBOLbill
||            || |`* Re: VMS Cobol - GnuCOBOLScott Dorsey
||            || | `* Re: VMS Cobol - GnuCOBOLJohnny Billquist
||            || |  `- Re: VMS Cobol - GnuCOBOLbill
||            || `- Re: VMS Cobol - GnuCOBOLArne Vajhøj
||            |`* Re: VMS Cobol - GnuCOBOLDenys Beauchemin
||            | `* Re: VMS Cobol - GnuCOBOLbill
||            |  `* Re: VMS Cobol - GnuCOBOLJohnny Billquist
||            |   +- Re: VMS Cobol - GnuCOBOLScott Dorsey
||            |   +- Re: VMS Cobol - GnuCOBOLbill
||            |   `* Re: VMS Cobol - GnuCOBOLplugh
||            `* Re: VMS Cobol - GnuCOBOLDavid Wade
|`* Re: VMS Cobol - GnuCOBOLDave Froble
`- Re: VMS Cobol - GnuCOBOLArne Vajhøj

Pages:123456
Re: VMS Cobol - GnuCOBOL

<tt560q$1h2fd$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Wed, 22 Feb 2023 08:40:40 -0500
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <tt560q$1h2fd$1@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me>
<9a494c94-5fcc-4d7f-a7fc-c43ad43fb23en@googlegroups.com>
<b4ba8d03122fa24898bf3c67b413d4a57bd6cf24.camel@munted.eu>
<7b26c72b-1ad1-4dd0-b54f-9f5eda9179d8n@googlegroups.com>
<tt5361$sdc$1@panix2.panix.com> <k5mitdFtd0kU8@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Feb 2023 13:40:42 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="be609b6d8753db1d7e0d5b49eb008980";
logging-data="1608173"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GiO/7AxU+DHVMjRDFEU3LkVB/uaPIP+w="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:47qW4MumUTYkATAq9Z0MNJgC+FY=
Content-Language: en-US
In-Reply-To: <k5mitdFtd0kU8@mid.individual.net>
 by: Arne Vajhøj - Wed, 22 Feb 2023 13:40 UTC

On 2/22/2023 8:16 AM, bill wrote:
> On 2/22/2023 7:52 AM, Scott Dorsey wrote:
>> Paul Gavin  <paulgavinco@gmail.com> wrote:
>>> Having attempted to move sample code from two flavors of COBOL code
>>> (OpenVM=
>>> S terminal and HP-UX ANSI format) to GnuCOBOL, I had to modify every
>>> commen=
>>> t and most continuation lines to get them to compile. Shell script
>>> was fair=
>>> ly simple to write to fix these issues, but still changed the code.
>>> None of=
>>> the VMS code used by descriptor calls in the main code, but calls to
>>> syste=
>>> m services on both side were a pain. Both had database precompiler
>>> needs (C=
>>> ODASYL and Informix) and those certainly would not work at all.=20
>>
>> The comment and continuation issues are addressed with compiler flags.
>> Not that updating the code that way might not be a good idea anyway.
>
> I wold love to hear why people might think that GnuCOBOL isn't
> ready for production use.  And unreadable C intermediate code
> is not a valid reason as it was never intended to be read or
> modified by humans any more than the RTL in other compilers
> or the assembler they generate.

The original comment seems to relate to source format.

My (extremely small) experience is that if I move Cobol
code written as I (a non-Cobol programmer) write Cobol
from VMS to PC and compile with GnuCOBOL using -free
switch the it works.

But I do see a few issues:
1) indexed files where options are:
- BDB and release your code under GPL
- BDB and pay Oracle
- VBISAM and live with what it doesn't support
2) the performance of COMP-3 arithmetic is
horrible
3) it has a weird approach to endianess on disk:
- default COMP are stored big endian not native
- COMP-1 and COMP-2 are stored native

Arne

Re: VMS Cobol - GnuCOBOL

<tt69pa$1l3lp$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Wed, 22 Feb 2023 18:50:47 -0500
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <tt69pa$1l3lp$3@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me>
<eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me>
<6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 22 Feb 2023 23:51:06 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1f293085ca0b0f671ac0a4903df225bb";
logging-data="1740473"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19F9DOLqEZJfYfqmn2V9CpQrEqrBw8pWG4="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:WOMfADIe9CY7uXqOq49d5xiYbnE=
In-Reply-To: <tt540k$1h5ki$1@dont-email.me>
 by: Dave Froble - Wed, 22 Feb 2023 23:50 UTC

On 2/22/2023 8:06 AM, Simon Clubley wrote:
> On 2023-02-21, ultr...@gmail.com <ultradwc@gmail.com> wrote:
>> On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon Clubley wrote:
>>> Nothing as far as I am aware. Bob just likes to claim that DIBOL is
>>> the answer to everything. It's not. In a previous life, I used to
>>> write some applications in it, and while its well suited to certain
>>> applications, it is not a general language in the same way as say
>>> C++, Ada, Pascal, or Java.
>>>
>>> It also suffers from not having a free version so you have to pay
>>> for the compiler (and unless the payment model has changed over the
>>> last decade or so), you also have to pay for runtime licences.
>>>
>>
>> C ???? AT LEAST DIBOL CAN BE DEBUGGED ...
>
> Bob, where did I mention C in the above list ?
>
> Simon.
>

Don't you know, Bob reads your mind ...

--
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: VMS Cobol - GnuCOBOL

<8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:de:0:b0:3bd:1a75:6680 with SMTP id d30-20020ac800de000000b003bd1a756680mr1389942qtg.6.1677115952034;
Wed, 22 Feb 2023 17:32:32 -0800 (PST)
X-Received: by 2002:ac8:5396:0:b0:3bb:807c:1ae5 with SMTP id
x22-20020ac85396000000b003bb807c1ae5mr1504530qtp.9.1677115951696; Wed, 22 Feb
2023 17:32:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 22 Feb 2023 17:32:31 -0800 (PST)
In-Reply-To: <tt540k$1h5ki$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6010:b002:32a0:69e5:e315:7de6:1ab1;
posting-account=x0_-4QoAAAB9ybHsi1ZdIaBtuTkxdqup
NNTP-Posting-Host: 2603:6010:b002:32a0:69e5:e315:7de6:1ab1
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: ultra...@gmail.com (ultr...@gmail.com)
Injection-Date: Thu, 23 Feb 2023 01:32:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2754
 by: ultr...@gmail.com - Thu, 23 Feb 2023 01:32 UTC

On Wednesday, February 22, 2023 at 8:06:31 AM UTC-5, Simon Clubley wrote:
> On 2023-02-21, ultr...@gmail.com <ultr...@gmail.com> wrote:
> > On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon Clubley wrote:
> >> Nothing as far as I am aware. Bob just likes to claim that DIBOL is
> >> the answer to everything. It's not. In a previous life, I used to
> >> write some applications in it, and while its well suited to certain
> >> applications, it is not a general language in the same way as say
> >> C++, Ada, Pascal, or Java.
> >>
> >> It also suffers from not having a free version so you have to pay
> >> for the compiler (and unless the payment model has changed over the
> >> last decade or so), you also have to pay for runtime licences.
> >>
> >
> > C ???? AT LEAST DIBOL CAN BE DEBUGGED ...
> Bob, where did I mention C in the above list ?
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.

"Nothing as far as I am aware. Bob just likes to claim that DIBOL is
the answer to everything. It's not. In a previous life, I used to
write some applications in it, and while its well suited to certain
applications, it is not a general language in the same way as say
>>>> C++ <<<<

IF THAT ISN'T A PROMOTION OF C OVER DIBOL I DON'T KNOW WHAT IS ...

Re: VMS Cobol - GnuCOBOL

<k5oqssFmvtoU1@mid.individual.net>

  copy mid

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

  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: news0...@eager.cx (Bob Eager)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: 23 Feb 2023 09:45:00 GMT
Lines: 39
Message-ID: <k5oqssFmvtoU1@mid.individual.net>
References: <tsbev9$1rela$2@dont-email.me>
<eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me>
<6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
<8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Mh9vT8e2MfgtT8v60P0EFgv8APbAvgLFctV4lDGoOuHlxhGBZZ
Cancel-Lock: sha1:LqiYi/5Jo+KuBH7c7/f4yj6PIvg=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Thu, 23 Feb 2023 09:45 UTC

On Wed, 22 Feb 2023 17:32:31 -0800, ultr...@gmail.com wrote:

> On Wednesday, February 22, 2023 at 8:06:31 AM UTC-5, Simon Clubley
> wrote:
>> On 2023-02-21, ultr...@gmail.com <ultr...@gmail.com> wrote:
>> > On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon Clubley
>> > wrote:
>> >> Nothing as far as I am aware. Bob just likes to claim that DIBOL is
>> >> the answer to everything. It's not. In a previous life, I used to
>> >> write some applications in it, and while its well suited to certain
>> >> applications, it is not a general language in the same way as say
>> >> C++, Ada, Pascal, or Java.
>> >>
>> >> It also suffers from not having a free version so you have to pay
>> >> for the compiler (and unless the payment model has changed over the
>> >> last decade or so), you also have to pay for runtime licences.
>> >>
>> >>
>> > C ???? AT LEAST DIBOL CAN BE DEBUGGED ...
>> Bob, where did I mention C in the above list ?
>> Simon.
>>
>> --
>> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Walking
>> destinations on a map are further away than they appear.
>
> "Nothing as far as I am aware. Bob just likes to claim that DIBOL is the
> answer to everything. It's not. In a previous life, I used to write some
> applications in it, and while its well suited to certain applications,
> it is not a general language in the same way as say
>>>>> C++ <<<<
>
> IF THAT ISN'T A PROMOTION OF C OVER DIBOL I DON'T KNOW WHAT IS ...

Calm down.

Then you don't know much.

Notice the '++'? C and C+_+ are not the same language.

Re: VMS Cobol - GnuCOBOL

<tt7oaq$1sfgf$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Thu, 23 Feb 2023 13:05:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <tt7oaq$1sfgf$1@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com> <k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me> <tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com> <tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
Injection-Date: Thu, 23 Feb 2023 13:05:31 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="faa17b92b8553aae69e41e51cbddd2d4";
logging-data="1981967"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bAnhziOtRVDjJLFPjg/k6SNh3r+2ABQM="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:h22pQnizAIleKBpKjU+L5zXSqpw=
 by: Simon Clubley - Thu, 23 Feb 2023 13:05 UTC

On 2023-02-22, ultr...@gmail.com <ultradwc@gmail.com> wrote:
> On Wednesday, February 22, 2023 at 8:06:31 AM UTC-5, Simon Clubley wrote:
>> On 2023-02-21, ultr...@gmail.com <ultr...@gmail.com> wrote:
>> > On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon Clubley wrote:
>> >> Nothing as far as I am aware. Bob just likes to claim that DIBOL is
>> >> the answer to everything. It's not. In a previous life, I used to
>> >> write some applications in it, and while its well suited to certain
>> >> applications, it is not a general language in the same way as say
>> >> C++, Ada, Pascal, or Java.
>> >>
>> >> It also suffers from not having a free version so you have to pay
>> >> for the compiler (and unless the payment model has changed over the
>> >> last decade or so), you also have to pay for runtime licences.
>> >>
>> >
>> > C ???? AT LEAST DIBOL CAN BE DEBUGGED ...
>> Bob, where did I mention C in the above list ?
>
> "Nothing as far as I am aware. Bob just likes to claim that DIBOL is
> the answer to everything. It's not. In a previous life, I used to
> write some applications in it, and while its well suited to certain
> applications, it is not a general language in the same way as say
>>>>> C++ <<<<
>
> IF THAT ISN'T A PROMOTION OF C OVER DIBOL I DON'T KNOW WHAT IS ...

Er, Bob, C and C++ are two very, very, different languages.

(Regardless of what some recruiters and people with broken keyboards
would have you believe.)

Simon.

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

Re: VMS Cobol - GnuCOBOL

<fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1a05:b0:3b9:e8ff:44b6 with SMTP id f5-20020a05622a1a0500b003b9e8ff44b6mr2376708qtb.5.1677184083217;
Thu, 23 Feb 2023 12:28:03 -0800 (PST)
X-Received: by 2002:ad4:5a0e:0:b0:56e:fbce:6159 with SMTP id
ei14-20020ad45a0e000000b0056efbce6159mr2310738qvb.0.1677184083026; Thu, 23
Feb 2023 12:28:03 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 23 Feb 2023 12:28:02 -0800 (PST)
In-Reply-To: <tt7oaq$1sfgf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6010:b002:32a0:e0dc:e3d1:5a6a:5339;
posting-account=x0_-4QoAAAB9ybHsi1ZdIaBtuTkxdqup
NNTP-Posting-Host: 2603:6010:b002:32a0:e0dc:e3d1:5a6a:5339
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: ultra...@gmail.com (ultr...@gmail.com)
Injection-Date: Thu, 23 Feb 2023 20:28:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3485
 by: ultr...@gmail.com - Thu, 23 Feb 2023 20:28 UTC

On Thursday, February 23, 2023 at 8:05:34 AM UTC-5, Simon Clubley wrote:
> On 2023-02-22, ultr...@gmail.com <ultr...@gmail.com> wrote:
> > On Wednesday, February 22, 2023 at 8:06:31 AM UTC-5, Simon Clubley wrote:
> >> On 2023-02-21, ultr...@gmail.com <ultr...@gmail.com> wrote:
> >> > On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon Clubley wrote:
> >> >> Nothing as far as I am aware. Bob just likes to claim that DIBOL is
> >> >> the answer to everything. It's not. In a previous life, I used to
> >> >> write some applications in it, and while its well suited to certain
> >> >> applications, it is not a general language in the same way as say
> >> >> C++, Ada, Pascal, or Java.
> >> >>
> >> >> It also suffers from not having a free version so you have to pay
> >> >> for the compiler (and unless the payment model has changed over the
> >> >> last decade or so), you also have to pay for runtime licences.
> >> >>
> >> >
> >> > C ???? AT LEAST DIBOL CAN BE DEBUGGED ...
> >> Bob, where did I mention C in the above list ?
> >
> > "Nothing as far as I am aware. Bob just likes to claim that DIBOL is
> > the answer to everything. It's not. In a previous life, I used to
> > write some applications in it, and while its well suited to certain
> > applications, it is not a general language in the same way as say
> >>>>> C++ <<<<
> >
> > IF THAT ISN'T A PROMOTION OF C OVER DIBOL I DON'T KNOW WHAT IS ...
> Er, Bob, C and C++ are two very, very, different languages.
>
> (Regardless of what some recruiters and people with broken keyboards
> would have you believe.)
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.

I HELPED MY SON WITH C++ AND C# IN COLLEGE ... SAME OLD C SAME OLD COMPILER/DEBUGGER ISSUES

Re: VMS Cobol - GnuCOBOL

<aa422bc8-f141-4f4b-96a4-b57a80629c83n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:4f90:0:b0:56f:3aef:1633 with SMTP id em16-20020ad44f90000000b0056f3aef1633mr2126967qvb.1.1677184259526;
Thu, 23 Feb 2023 12:30:59 -0800 (PST)
X-Received: by 2002:ad4:5903:0:b0:56f:a4:d7f5 with SMTP id ez3-20020ad45903000000b0056f00a4d7f5mr2074848qvb.5.1677184259303;
Thu, 23 Feb 2023 12:30:59 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 23 Feb 2023 12:30:58 -0800 (PST)
In-Reply-To: <tt7oaq$1sfgf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6010:b002:32a0:e0dc:e3d1:5a6a:5339;
posting-account=x0_-4QoAAAB9ybHsi1ZdIaBtuTkxdqup
NNTP-Posting-Host: 2603:6010:b002:32a0:e0dc:e3d1:5a6a:5339
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aa422bc8-f141-4f4b-96a4-b57a80629c83n@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: ultra...@gmail.com (ultr...@gmail.com)
Injection-Date: Thu, 23 Feb 2023 20:30:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3551
 by: ultr...@gmail.com - Thu, 23 Feb 2023 20:30 UTC

On Thursday, February 23, 2023 at 8:05:34 AM UTC-5, Simon Clubley wrote:
> On 2023-02-22, ultr...@gmail.com <ultr...@gmail.com> wrote:
> > On Wednesday, February 22, 2023 at 8:06:31 AM UTC-5, Simon Clubley wrote:
> >> On 2023-02-21, ultr...@gmail.com <ultr...@gmail.com> wrote:
> >> > On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon Clubley wrote:
> >> >> Nothing as far as I am aware. Bob just likes to claim that DIBOL is
> >> >> the answer to everything. It's not. In a previous life, I used to
> >> >> write some applications in it, and while its well suited to certain
> >> >> applications, it is not a general language in the same way as say
> >> >> C++, Ada, Pascal, or Java.
> >> >>
> >> >> It also suffers from not having a free version so you have to pay
> >> >> for the compiler (and unless the payment model has changed over the
> >> >> last decade or so), you also have to pay for runtime licences.
> >> >>
> >> >
> >> > C ???? AT LEAST DIBOL CAN BE DEBUGGED ...
> >> Bob, where did I mention C in the above list ?
> >
> > "Nothing as far as I am aware. Bob just likes to claim that DIBOL is
> > the answer to everything. It's not. In a previous life, I used to
> > write some applications in it, and while its well suited to certain
> > applications, it is not a general language in the same way as say
> >>>>> C++ <<<<
> >
> > IF THAT ISN'T A PROMOTION OF C OVER DIBOL I DON'T KNOW WHAT IS ...
> Er, Bob, C and C++ are two very, very, different languages.
>
> (Regardless of what some recruiters and people with broken keyboards
> would have you believe.)
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.

AND SAME OLD disorienting LANGUAGE

Re: VMS Cobol - GnuCOBOL

<f01d95ad-13dd-4a1a-a798-c3c68d500879n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:102e:b0:71f:b89c:69b9 with SMTP id a14-20020a05620a102e00b0071fb89c69b9mr2375655qkk.9.1677189949416;
Thu, 23 Feb 2023 14:05:49 -0800 (PST)
X-Received: by 2002:a05:620a:150f:b0:735:1d2a:bb48 with SMTP id
i15-20020a05620a150f00b007351d2abb48mr2159810qkk.5.1677189949252; Thu, 23 Feb
2023 14:05:49 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 23 Feb 2023 14:05:48 -0800 (PST)
In-Reply-To: <aa422bc8-f141-4f4b-96a4-b57a80629c83n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=4.14.125.132; posting-account=3aFZugoAAACxGhyjj853El3Vq-4LFfVO
NNTP-Posting-Host: 4.14.125.132
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me> <aa422bc8-f141-4f4b-96a4-b57a80629c83n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f01d95ad-13dd-4a1a-a798-c3c68d500879n@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: paulgavi...@gmail.com (Paul Gavin)
Injection-Date: Thu, 23 Feb 2023 22:05:49 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1699
 by: Paul Gavin - Thu, 23 Feb 2023 22:05 UTC

What, DEC C cannot be debugged?

Working on some enhancements in a C based app on Alphas running 8.4.
Can get to debugger just fine, step through code, look at data, set break points, etc., even from within ACMS.

Re: VMS Cobol - GnuCOBOL

<tt8tmt$20bk9$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Thu, 23 Feb 2023 18:43:23 -0500
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <tt8tmt$20bk9$1@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me>
<eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me>
<6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
<8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me>
<fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 23 Feb 2023 23:43:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7099ca91b9c705b21cddc5d66a2217ec";
logging-data="2109065"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hTjPAZJpNlYD3Sno0gnXQueVTmH3MATk="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:1u5gGgdcKGZVRQP1/zYSPNz7jOw=
Content-Language: en-US
In-Reply-To: <fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
 by: Arne Vajhøj - Thu, 23 Feb 2023 23:43 UTC

On 2/23/2023 3:28 PM, ultr...@gmail.com wrote:
> On Thursday, February 23, 2023 at 8:05:34 AM UTC-5, Simon Clubley wrote:
>>>>> On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon Clubley wrote:
>>>>>>> C++ <<<<
>>>
>>> IF THAT ISN'T A PROMOTION OF C OVER DIBOL I DON'T KNOW WHAT IS ...
>> Er, Bob, C and C++ are two very, very, different languages.
>
> I HELPED MY SON WITH C++ AND C# IN COLLEGE ... SAME OLD C SAME OLD COMPILER/DEBUGGER ISSUES

C and C++ are very different languages. Most C code will compile and
run as expected when compiled with a C++ compiler, but C++ is
so much more than C - and a writing C code for a C++ course
should give a very low grade.

And C# is not like C at all. Besides using curly braces and
having the 3 arg for loop then I do not see much similarity.

Just compare the hello worlds:

#include<stdio.h>

int main()
{ printf("Hello world!\n");
return 0;
}

VS:

using System;

public class HelloWorld
{ public static void Main(string[] args)
{
Console.WriteLine("Hello world!");
}
}

(C# pre-V9.0)

Arne

Re: VMS Cobol - GnuCOBOL

<21747c11-2999-49d5-85e2-8d99830ccca7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:64a:0:b0:742:7e2b:68d2 with SMTP id 71-20020a37064a000000b007427e2b68d2mr135379qkg.7.1677244044896;
Fri, 24 Feb 2023 05:07:24 -0800 (PST)
X-Received: by 2002:ac8:4307:0:b0:3bf:badf:e8f4 with SMTP id
z7-20020ac84307000000b003bfbadfe8f4mr587314qtm.7.1677244044596; Fri, 24 Feb
2023 05:07:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 24 Feb 2023 05:07:24 -0800 (PST)
In-Reply-To: <tt8tmt$20bk9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=70.31.97.35; posting-account=QqCTBgkAAACie99dBE6oFauYH8hE6sk0
NNTP-Posting-Host: 70.31.97.35
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me> <fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<tt8tmt$20bk9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <21747c11-2999-49d5-85e2-8d99830ccca7n@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: n.ri...@bell.net (Neil Rieck)
Injection-Date: Fri, 24 Feb 2023 13:07:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4612
 by: Neil Rieck - Fri, 24 Feb 2023 13:07 UTC

On Thursday, February 23, 2023 at 6:43:28 PM UTC-5, Arne Vajhøj wrote:
> On 2/23/2023 3:28 PM, ultr...@gmail.com wrote:
> > On Thursday, February 23, 2023 at 8:05:34 AM UTC-5, Simon Clubley wrote:
> >>>>> On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon Clubley wrote:
> >>>>>>> C++ <<<<
> >>>
> >>> IF THAT ISN'T A PROMOTION OF C OVER DIBOL I DON'T KNOW WHAT IS ...
> >> Er, Bob, C and C++ are two very, very, different languages.
> >
> > I HELPED MY SON WITH C++ AND C# IN COLLEGE ... SAME OLD C SAME OLD COMPILER/DEBUGGER ISSUES
> C and C++ are very different languages. Most C code will compile and
> run as expected when compiled with a C++ compiler, but C++ is
> so much more than C - and a writing C code for a C++ course
> should give a very low grade.
>
> And C# is not like C at all. Besides using curly braces and
> having the 3 arg for loop then I do not see much similarity.
>
> Just compare the hello worlds:
>
> #include<stdio.h>
>
> int main()
> {
> printf("Hello world!\n");
> return 0;
> }
>
> VS:
>
> using System;
>
> public class HelloWorld
> {
> public static void Main(string[] args)
> {
> Console.WriteLine("Hello world!");
> }
> }
>
> (C# pre-V9.0)
>
> Arne

People reading this already know that both C and C++ are the two most important languages of all time. So much so that almost all other applications and languages (everything from COBOL to Python3) are now written in one or the other (usually the other). Here is a short list from Bjarne Stroustrup: https://www.stroustrup.com/applications.html

Unfortunately, the companies maintaining DEC-C and DEC-C++ over the years did not agree so those DEC products were not kept up-to-date. For example, both MySQL and MariaDB (after version 5.5) cannot be ported to OpenVMS (yet) because those database engines require a version of C/C++ known as C11.

But like a bad dream, the problem now involves a moving target:
https://en.wikipedia.org/wiki/C11_(C_standard_revision)
https://en.wikipedia.org/wiki/C17_(C_standard_revision)
https://en.wikipedia.org/wiki/C2x [[[ C23 ??? ]]]

In this I blame DEC, Compaq and HP (the first one in this list also tried to block TCP/IP on VMS). The only company trying to correct this problem is VSI and we can only imagine the difficulty involved in adding new features while not breaking the existing tool sets. So do you fix the existing tools; build a cross-compiler; or do something else? I don't know but I'm sure the good folks at VSI will figure it out because if they do not, then that will be the end of OpenVMS. Sure you would be able to run old stuff along with some carefully controlled new stuff (eg. Apache httpd has be carefully controlled to not employ new language features) but you will not be so lucky with other products.

Neil Rieck
Waterloo, Ontario, Canada.
http://neilrieck.net/OpenVMS.html

Re: VMS Cobol - GnuCOBOL

<ttadig$27hmj$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Fri, 24 Feb 2023 13:20:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <ttadig$27hmj$2@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com> <k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me> <tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com> <tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com> <tt7oaq$1sfgf$1@dont-email.me> <fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
Injection-Date: Fri, 24 Feb 2023 13:20:16 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b43a3a21a3d38778946ba7aa9ac4fbb1";
logging-data="2344659"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XcdTwZQctDl3h8wGLPgUgUhZPY/AKIao="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:ud8sTT9bjMTot0moYSV/wVtwnzU=
 by: Simon Clubley - Fri, 24 Feb 2023 13:20 UTC

On 2023-02-23, ultr...@gmail.com <ultradwc@gmail.com> wrote:
>
> I HELPED MY SON WITH C++ AND C# IN COLLEGE ... SAME OLD C SAME OLD COMPILER/DEBUGGER ISSUES

If you consider C# to be in any way related to C, then you are _very_
seriously delusional.

Simon.

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

Re: VMS Cobol - GnuCOBOL

<ttag2p$27r1r$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Fri, 24 Feb 2023 09:03:03 -0500
Organization: A noiseless patient Spider
Lines: 83
Message-ID: <ttag2p$27r1r$1@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me>
<eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me>
<6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
<8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me>
<fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<tt8tmt$20bk9$1@dont-email.me>
<21747c11-2999-49d5-85e2-8d99830ccca7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 Feb 2023 14:03:06 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7099ca91b9c705b21cddc5d66a2217ec";
logging-data="2354235"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18eF++2tczTlXAbVnGRLO86eQ865EEaX/g="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:Te5902WGhRWTE5KUtgrqIi9eDyA=
In-Reply-To: <21747c11-2999-49d5-85e2-8d99830ccca7n@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Fri, 24 Feb 2023 14:03 UTC

On 2/24/2023 8:07 AM, Neil Rieck wrote:
> On Thursday, February 23, 2023 at 6:43:28 PM UTC-5, Arne Vajhøj
> wrote:
>> On 2/23/2023 3:28 PM, ultr...@gmail.com wrote:
>>> On Thursday, February 23, 2023 at 8:05:34 AM UTC-5, Simon Clubley
>>> wrote:
>>>>>>> On Friday, February 17, 2023 at 1:35:57 PM UTC-5, Simon
>>>>>>> Clubley wrote:
>>>>>>>>> C++ <<<<
>>>>>
>>>>> IF THAT ISN'T A PROMOTION OF C OVER DIBOL I DON'T KNOW WHAT
>>>>> IS ...
>>>> Er, Bob, C and C++ are two very, very, different languages.
>>>
>>> I HELPED MY SON WITH C++ AND C# IN COLLEGE ... SAME OLD C SAME
>>> OLD COMPILER/DEBUGGER ISSUES
>> C and C++ are very different languages. Most C code will compile
>> and run as expected when compiled with a C++ compiler, but C++ is
>> so much more than C - and a writing C code for a C++ course should
>> give a very low grade.
>>
>> And C# is not like C at all. Besides using curly braces and having
>> the 3 arg for loop then I do not see much similarity.

> People reading this already know that both C and C++ are the two most
> important languages of all time. So much so that almost all other
> applications and languages (everything from COBOL to Python3) are
> now written in one or the other (usually the other).

"most important" is a very general term.

It may be true from the perspective of "what if all code written
in the language stopped working". Most widely used OS'es,
many compilers & runtime libraries and a lot of platform
software (databases, web servers, message queues, distributed
caches etc.) are written in C and/or C++. And almost everything
relies on that.

But I don't think it is true from a "what is their share of
the total IT landscape" perspective. From actual usage
today C and C++ are both tier 2 languages (tier 1 being
JavaScript, Python and Java - and tier 2 also including
C# and PHP). And for what should be used then I will
claim that C should rarely be used and C++ only rarely
be used - for the typical business application there are
better languages - and very few developers actually
write OS's, language runtime libraries, databases
and web servers.

> Unfortunately, the companies maintaining DEC-C and DEC-C++ over the
> years did not agree so those DEC products were not kept up-to-date.
> For example, both MySQL and MariaDB (after version 5.5) cannot be
> ported to OpenVMS (yet) because those database engines require a
> version of C/C++ known as C11.

> But like a bad dream, the problem now involves a moving target:
> https://en.wikipedia.org/wiki/C11_(C_standard_revision)
> https://en.wikipedia.org/wiki/C17_(C_standard_revision)
> https://en.wikipedia.org/wiki/C2x [[[ C23 ??? ]]]

I believe DEC C++ is far worse than DEC C.

The C standard has not evolved that much and I would expect
most C Code to build with DEC C.

The C++ standard has evolved a lot and getting actively
maintained C++ code to build on VMS may very well be
impossible.

And based on internet gossip then I believe the problem with
both MySQL/MariaDB and OpenJDK are for C++ not for C.

So we wait for clang. :-)

And note that it is not just C and C++ that has been neglected
over the years. Fortran is also way behind. And Cobol even
though in that case I doubt there is much demand for the
new features.

Arne

Re: VMS Cobol - GnuCOBOL

<ttag79$27r2j$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Fri, 24 Feb 2023 09:05:27 -0500
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <ttag79$27r2j$1@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me>
<eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me>
<6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
<8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me>
<fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<tt8tmt$20bk9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 Feb 2023 14:05:29 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7099ca91b9c705b21cddc5d66a2217ec";
logging-data="2354259"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+u6gu6+52Qds7HlwXR0GSLxVlEulXdRIc="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:FVHpz0k5iMsKsMhLUmDYnO31ieA=
Content-Language: en-US
In-Reply-To: <tt8tmt$20bk9$1@dont-email.me>
 by: Arne Vajhøj - Fri, 24 Feb 2023 14:05 UTC

On 2/23/2023 6:43 PM, Arne Vajhøj wrote:
> And C# is not like C at all. Besides using curly braces and
> having the 3 arg for loop then I do not see much similarity.
>
> Just compare the hello worlds:
>
> #include<stdio.h>
>
> int main()
> {
>     printf("Hello world!\n");
>     return 0;
> }
>
> VS:
>
> using System;
>
> public class HelloWorld
> {
>     public static void Main(string[] args)
>     {
>         Console.WriteLine("Hello world!");
>     }
> }
>
> (C# pre-V9.0)

And in case someone wonder if C# 9.0 broke hello world.

The above hello world still compiles and run fine with
C# 9.0 and later.

But it can be written as:

using System;

Console.WriteLine("Hello world!");

:-)

Arne

Re: VMS Cobol - GnuCOBOL

<f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:4106:0:b0:3b7:fda5:caae with SMTP id q6-20020ac84106000000b003b7fda5caaemr2844468qtl.11.1677259704925;
Fri, 24 Feb 2023 09:28:24 -0800 (PST)
X-Received: by 2002:a37:c407:0:b0:71f:b89c:5acc with SMTP id
d7-20020a37c407000000b0071fb89c5accmr2869408qki.13.1677259704738; Fri, 24 Feb
2023 09:28:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 24 Feb 2023 09:28:24 -0800 (PST)
In-Reply-To: <ttag79$27r2j$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1702:50e8:5400:6132:36b6:4209:8fe8;
posting-account=QLFEMQoAAACEjokt5fr8mGlSOEtt02Sy
NNTP-Posting-Host: 2600:1702:50e8:5400:6132:36b6:4209:8fe8
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me> <fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<tt8tmt$20bk9$1@dont-email.me> <ttag79$27r2j$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: denys...@gmail.com (Denys Beauchemin)
Injection-Date: Fri, 24 Feb 2023 17:28:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3041
 by: Denys Beauchemin - Fri, 24 Feb 2023 17:28 UTC

On Friday, February 24, 2023 at 8:05:33 AM UTC-6, Arne Vajhøj wrote:
> On 2/23/2023 6:43 PM, Arne Vajhøj wrote:
> > And C# is not like C at all. Besides using curly braces and
> > having the 3 arg for loop then I do not see much similarity.
> >
> > Just compare the hello worlds:
> >
> > #include<stdio.h>
> >
> > int main()
> > {
> > printf("Hello world!\n");
> > return 0;
> > }
> >
> > VS:
> >
> > using System;
> >
> > public class HelloWorld
> > {
> > public static void Main(string[] args)
> > {
> > Console.WriteLine("Hello world!");
> > }
> > }
> >
> > (C# pre-V9.0)
> And in case someone wonder if C# 9.0 broke hello world.
>
> The above hello world still compiles and run fine with
> C# 9.0 and later.
>
> But it can be written as:
>
> using System;
>
> Console.WriteLine("Hello world!");
>
> :-)
>
> Arne
Maybe it's just me but if we are now arguing about the definition of C, C++, C#, C- and Cigar, we are no longer focused on migrating a COBOL application.

This makes my case, that converting COBOL to C (any C) for the purposes of a migration is a bad idea for anything beyond an intellectual exercise.

Re: VMS Cobol - GnuCOBOL

<k5sceqFtd0mU6@mid.individual.net>

  copy mid

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

  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)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Fri, 24 Feb 2023 13:03:07 -0500
Lines: 13
Message-ID: <k5sceqFtd0mU6@mid.individual.net>
References: <tsbev9$1rela$2@dont-email.me>
<eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me>
<6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
<8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me>
<fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<tt8tmt$20bk9$1@dont-email.me> <ttag79$27r2j$1@dont-email.me>
<f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net JJSFzZNMhC66A6lQ05K/Ig3M41gPRx28NTCMoSqOXGkuUw0ac4
Cancel-Lock: sha1:Um3XZ6HdiRdSrRRRlShGFCbYEy4=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.2
Content-Language: en-US
In-Reply-To: <f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com>
 by: bill - Fri, 24 Feb 2023 18:03 UTC

On 2/24/2023 12:28 PM, Denys Beauchemin wrote:
>
>
> This makes my case, that converting COBOL to C (any C) for the purposes of a migration is a bad idea for anything beyond an intellectual exercise.

Converting COBOL to anything other than COBOL for the purpose
of migration is a bad idea for anything beyond an intellectual
exercise.

bill

Re: VMS Cobol - GnuCOBOL

<07be1677-1233-4533-bacc-78664acfecb7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:a13:b0:56f:497:ecc9 with SMTP id dw19-20020a0562140a1300b0056f0497ecc9mr3018796qvb.2.1677267798911;
Fri, 24 Feb 2023 11:43:18 -0800 (PST)
X-Received: by 2002:a05:6214:1631:b0:570:f9b6:dac6 with SMTP id
e17-20020a056214163100b00570f9b6dac6mr3046205qvw.1.1677267798737; Fri, 24 Feb
2023 11:43:18 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 24 Feb 2023 11:43:18 -0800 (PST)
In-Reply-To: <k5sceqFtd0mU6@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1702:50e8:5400:6132:36b6:4209:8fe8;
posting-account=QLFEMQoAAACEjokt5fr8mGlSOEtt02Sy
NNTP-Posting-Host: 2600:1702:50e8:5400:6132:36b6:4209:8fe8
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me> <fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<tt8tmt$20bk9$1@dont-email.me> <ttag79$27r2j$1@dont-email.me>
<f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com> <k5sceqFtd0mU6@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <07be1677-1233-4533-bacc-78664acfecb7n@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: denys...@gmail.com (Denys Beauchemin)
Injection-Date: Fri, 24 Feb 2023 19:43:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2290
 by: Denys Beauchemin - Fri, 24 Feb 2023 19:43 UTC

On Friday, February 24, 2023 at 12:03:11 PM UTC-6, bill wrote:
> On 2/24/2023 12:28 PM, Denys Beauchemin wrote:
> >
> >
> > This makes my case, that converting COBOL to C (any C) for the purposes of a migration is a bad idea for anything beyond an intellectual exercise.
> Converting COBOL to anything other than COBOL for the purpose
> of migration is a bad idea for anything beyond an intellectual
> exercise.
>
> bill
Truer words have never been written.

Anything other than COBOL is a short road to disaster.

Denys

Re: VMS Cobol - GnuCOBOL

<26bca2f4-e55e-43bc-b8f9-25764f4e57e4n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:4142:0:b0:3bf:be21:5110 with SMTP id e2-20020ac84142000000b003bfbe215110mr1067468qtm.5.1677322582625;
Sat, 25 Feb 2023 02:56:22 -0800 (PST)
X-Received: by 2002:ac8:404f:0:b0:3bf:a5ac:7b1b with SMTP id
j15-20020ac8404f000000b003bfa5ac7b1bmr2904598qtl.8.1677322582458; Sat, 25 Feb
2023 02:56:22 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 25 Feb 2023 02:56:22 -0800 (PST)
In-Reply-To: <ttadig$27hmj$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=70.31.97.35; posting-account=QqCTBgkAAACie99dBE6oFauYH8hE6sk0
NNTP-Posting-Host: 70.31.97.35
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me> <fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<ttadig$27hmj$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <26bca2f4-e55e-43bc-b8f9-25764f4e57e4n@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: n.ri...@bell.net (Neil Rieck)
Injection-Date: Sat, 25 Feb 2023 10:56:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2323
 by: Neil Rieck - Sat, 25 Feb 2023 10:56 UTC

On Friday, February 24, 2023 at 8:20:19 AM UTC-5, Simon Clubley wrote:
> On 2023-02-23, ultr...@gmail.com <ultr...@gmail.com> wrote:
> >
> > I HELPED MY SON WITH C++ AND C# IN COLLEGE ... SAME OLD C SAME OLD COMPILER/DEBUGGER ISSUES
> If you consider C# to be in any way related to C, then you are _very_
> seriously delusional.
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.

Back in the day when Dr. Dobbs was still being published, I recall seeing an article comparing Java to C#. The article contained two example programs ~ 250 lines each published side- by side. It was plain to see that C# appeared to be Microsoft's answer to Java.

Neil

Re: VMS Cobol - GnuCOBOL

<06b86799-85d7-44e8-afa9-8b2fdddd50cen@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:4b63:0:b0:56e:fbc3:2b86 with SMTP id m3-20020ad44b63000000b0056efbc32b86mr3348834qvx.6.1677326449168;
Sat, 25 Feb 2023 04:00:49 -0800 (PST)
X-Received: by 2002:a05:620a:831a:b0:742:3e52:f855 with SMTP id
pa26-20020a05620a831a00b007423e52f855mr2541684qkn.2.1677326448932; Sat, 25
Feb 2023 04:00:48 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!peer02.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 25 Feb 2023 04:00:48 -0800 (PST)
In-Reply-To: <f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=70.31.97.35; posting-account=QqCTBgkAAACie99dBE6oFauYH8hE6sk0
NNTP-Posting-Host: 70.31.97.35
References: <tsbev9$1rela$2@dont-email.me> <eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me> <6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me> <8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me> <fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<tt8tmt$20bk9$1@dont-email.me> <ttag79$27r2j$1@dont-email.me> <f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <06b86799-85d7-44e8-afa9-8b2fdddd50cen@googlegroups.com>
Subject: Re: VMS Cobol - GnuCOBOL
From: n.ri...@bell.net (Neil Rieck)
Injection-Date: Sat, 25 Feb 2023 12:00:49 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5474
 by: Neil Rieck - Sat, 25 Feb 2023 12:00 UTC

On Friday, February 24, 2023 at 12:28:26 PM UTC-5, Denys Beauchemin wrote:
> On Friday, February 24, 2023 at 8:05:33 AM UTC-6, Arne Vajhøj wrote:
> > On 2/23/2023 6:43 PM, Arne Vajhøj wrote:
> > > And C# is not like C at all. Besides using curly braces and
> > > having the 3 arg for loop then I do not see much similarity.
> > >
> > > Just compare the hello worlds:
> > >
> > > #include<stdio.h>
> > >
> > > int main()
> > > {
> > > printf("Hello world!\n");
> > > return 0;
> > > }
> > >
> > > VS:
> > >
> > > using System;
> > >
> > > public class HelloWorld
> > > {
> > > public static void Main(string[] args)
> > > {
> > > Console.WriteLine("Hello world!");
> > > }
> > > }
> > >
> > > (C# pre-V9.0)
> > And in case someone wonder if C# 9.0 broke hello world.
> >
> > The above hello world still compiles and run fine with
> > C# 9.0 and later.
> >
> > But it can be written as:
> >
> > using System;
> >
> > Console.WriteLine("Hello world!");
> >
> > :-)
> >
> > Arne
> Maybe it's just me but if we are now arguing about the definition of C, C++, C#, C- and Cigar, we are no longer focused on migrating a COBOL application.
>
> This makes my case, that converting COBOL to C (any C) for the purposes of a migration is a bad idea for anything beyond an intellectual exercise.

Agreed but let me add a few more thoughts.

I first used COBOL on an HP-3000 more than 40-years ago and would like to remind everyone here that a COBOL compiler license was always very expensive.. Heck, some companies like IBM hung their reputations on being able to run COBOL programs -AND- that their compilers produced the largest amount of executable binary which is backwards from the way we think today. IIRC, full ISAM support was an optional purchase on all PDP-11 operating systems from DEC, but then DEC decided to bundle it with VMS primarily to support the never released COBOL-80 standard (later appeared as COBOL-85).

comment: ISAM was important elsewhere on VMS including the fact that SYSUAF..DAT was indexed

I've only been working with Linux since 2016 but have been surprised about the quantity of good quality software in that eco-system which can be obtained for free. Anyone who has ever used gcc (gnu compiler collection) knows what I am typing about. This tool can generate C11 by the way.

(CAVEAT: the down side of opensource is that if you discover a bug, it may take years to get it fixed. In some instances you are better off fixing the problem yourself then submitting the solution to the authors. This has happened to me more times than one would think. This happened to me last week with the python SOAP library known as zeep)

Anyway, until Arne published this article, I did not know about GnuCOBOL so I used the yum/dnf tool on one of my Rocky Linux systems to install a copy.. It worked like a charm -AND- appears to contain a number gnu-specific extensions which can be enabled-disabled by command line switches (same as what you might see with gcc). Since I've been out of the COBOL game for a long while, I grabbed some old example programs which demo ISAM file creation. They worked like a charm as well (not sure if the ISAM support is built into GnuCOBOL or is dependent upon some already-installed system library). But this has been a very pleasurable nerdish adventure for me which cost several hours and zero dollars.

Your mileage may vary!

Neil Rieck
Waterloo, Ontario, Canada.
https://neilrieck.net/OpenVMS.html

Re: VMS Cobol - GnuCOBOL

<ttd4ta$2j12a$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Sat, 25 Feb 2023 09:10:47 -0500
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <ttd4ta$2j12a$2@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me>
<eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me>
<6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
<8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me>
<fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<ttadig$27hmj$2@dont-email.me>
<26bca2f4-e55e-43bc-b8f9-25764f4e57e4n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 Feb 2023 14:10:50 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="19d6b3355d5e9564ee2810399b29b5f6";
logging-data="2720842"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XTqQNKZ56KrQO6nG9ncsboS9+hIMLVoI="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:QKML/Nf8Y/iE0uuf7Rej/p+miIk=
In-Reply-To: <26bca2f4-e55e-43bc-b8f9-25764f4e57e4n@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 25 Feb 2023 14:10 UTC

On 2/25/2023 5:56 AM, Neil Rieck wrote:
> On Friday, February 24, 2023 at 8:20:19 AM UTC-5, Simon Clubley
> wrote:
>> On 2023-02-23, ultr...@gmail.com <ultr...@gmail.com> wrote:
>>> I HELPED MY SON WITH C++ AND C# IN COLLEGE ... SAME OLD C SAME
>>> OLD COMPILER/DEBUGGER ISSUES
>> If you consider C# to be in any way related to C, then you are
>> _very_ seriously delusional.
>
> Back in the day when Dr. Dobbs was still being published, I recall
> seeing an article comparing Java to C#. The article contained two
> example programs ~ 250 lines each published side- by side. It was
> plain to see that C# appeared to be Microsoft's answer to Java.

C# and Java are very similar. I don't think MS ever made a secret
of that.

* similar basic procedural syntax
* similar type system
* similar OO
* similar generics (added later)
* similar FP (added later)
* similar memory management
* similar runtime environment
* similar class libraries

When converting a piece of code between them sometimes
half the work is the different conventions regarding
capitalization of member names and location of starting
curly bracket.

:-)

There are of course also some differences. C# got
unsafe blocks with pointers (nobody use them),
C# got unsigned integers, .NET generics is different
from Java generics for simple types / value types
etc..

Arne

Re: VMS Cobol - GnuCOBOL

<ttd5h5$2j12a$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Sat, 25 Feb 2023 09:21:21 -0500
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <ttd5h5$2j12a$3@dont-email.me>
References: <tsbev9$1rela$2@dont-email.me>
<eeb3774a-0294-4ed5-898e-bd0c72fe1de3n@googlegroups.com>
<k59m6uFtd0mU3@mid.individual.net> <tso8ao$3lki6$1@dont-email.me>
<tsohea$3mmd3$2@dont-email.me>
<6de796f8-4945-490f-8d4b-1c1eb2b89430n@googlegroups.com>
<tt540k$1h5ki$1@dont-email.me>
<8e93cec3-43ad-40a6-a788-0ed7c6582b0en@googlegroups.com>
<tt7oaq$1sfgf$1@dont-email.me>
<fcce2933-ea2d-40d2-85fa-d6a612641cedn@googlegroups.com>
<tt8tmt$20bk9$1@dont-email.me> <ttag79$27r2j$1@dont-email.me>
<f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com>
<06b86799-85d7-44e8-afa9-8b2fdddd50cen@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 25 Feb 2023 14:21:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="19d6b3355d5e9564ee2810399b29b5f6";
logging-data="2720842"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zkYu2nrU1kTETINOg/pK6YNgMYyTGV8o="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:PRALn6CaEEdLcHK/4JazJQ5Qy0U=
In-Reply-To: <06b86799-85d7-44e8-afa9-8b2fdddd50cen@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 25 Feb 2023 14:21 UTC

On 2/25/2023 7:00 AM, Neil Rieck wrote:
> Anyway, until Arne published this article, I did not know about
> GnuCOBOL so I used the yum/dnf tool on one of my Rocky Linux systems
> to install a copy. It worked like a charm -AND- appears to contain a
> number gnu-specific extensions which can be enabled-disabled by
> command line switches (same as what you might see with gcc). Since
> I've been out of the COBOL game for a long while, I grabbed some old
> example programs which demo ISAM file creation. They worked like a
> charm as well (not sure if the ISAM support is built into GnuCOBOL or
> is dependent upon some already-installed system library). But this
> has been a very pleasurable nerdish adventure for me which cost
> several hours and zero dollars.

GnuCOBOL comes in 3 flavors:
* indexed files support via BDB
* indexed files support via VBISAM
* no support for indexed files

You should check what flavor you got.

BDB may be sligtly better than VBISAM, but there are
different license situations:

BDB - AGPL or commercial license from Oracle (!)
VBISAM - LGPL

Many will not like a library under AGPL.

Arne

Re: VMS Cobol - GnuCOBOL

<ttddjm$apu$1@reader2.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Sat, 25 Feb 2023 16:39:18 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <ttddjm$apu$1@reader2.panix.com>
References: <tsbev9$1rela$2@dont-email.me> <ttag79$27r2j$1@dont-email.me> <f1288d5b-a77a-4af7-a8a0-099f3a1ff477n@googlegroups.com> <06b86799-85d7-44e8-afa9-8b2fdddd50cen@googlegroups.com>
Injection-Date: Sat, 25 Feb 2023 16:39:18 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="11070"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Sat, 25 Feb 2023 16:39 UTC

In article <06b86799-85d7-44e8-afa9-8b2fdddd50cen@googlegroups.com>,
Neil Rieck <n.rieck@bell.net> wrote:
>[snip]
>Since I've been out of the COBOL game for a long while,
>I grabbed some old example programs which demo ISAM file
>creation. They worked like a charm as well (not sure if
>the ISAM support is built into GnuCOBOL or is dependent
>upon some already-installed system library). But this
>has been a very pleasurable nerdish adventure for me
>which cost several hours and zero dollars.

By default, GnuCOBOL uses the Sleepycat/Oracle Berkeley DB
database library for indexed files, which means that the
resulting COBOL programs must be released under the terms of the
Affero GPL, which means you must give away the source code to
the COBOL program if you intend to distribute the binaries you
compile.
(https://en.wikipedia.org/wiki/Affero_General_Public_License)

However, some spelunking indicates you can use LMDB (the
"Lightening Memory Database") which has much more permissive
license terms as a backend.

- Dan C.

Re: VMS Cobol - GnuCOBOL

<ttdvm2$ntp$1@panix2.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: 25 Feb 2023 21:47:46 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 28
Message-ID: <ttdvm2$ntp$1@panix2.panix.com>
References: <ttd4ta$2j12a$2@dont-email.me> <memo.20230225213223.11588W@jgd.cix.co.uk>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="3647"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sat, 25 Feb 2023 21:47 UTC

John Dallman <jgd@cix.co.uk> wrote:
>In article <ttd4ta$2j12a$2@dont-email.me>, arne@vajhoej.dk (Arne Vajh�j)
>wrote:
>
>> C# and Java are very similar. I don't think MS ever made a secret
>> of that.
>
>Microsoft started on .NET during their lawsuit with Sun over their
>incomplete-but-extended Java implementation. They seem to have hoped to
>replace Java with .NET.

Java is a whole bunch of things. It's an environment, it's a set of
libraries, and it's a programming language.

C#, ASP.NET, and ActiveX together sort of make up a thing that Microsoft
hoped would replace Java. C# and .NET had some degree of success anyway.

>> There are of course also some differences. C# got
>> unsafe blocks with pointers (nobody use them) ...
>
>The main thing those are useful for is calling native code. It's way
>easier than using JNI.

Which of course defeats the whole purpose of having a sandbox... but that's
Microsoft...
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Cobol - GnuCOBOL

<tte92p$2n0dq$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Sat, 25 Feb 2023 19:28:06 -0500
Organization: A noiseless patient Spider
Lines: 115
Message-ID: <tte92p$2n0dq$1@dont-email.me>
References: <ttd4ta$2j12a$2@dont-email.me>
<memo.20230225213223.11588W@jgd.cix.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 26 Feb 2023 00:28:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1ec6a7965c4e6b48fcfb6c80ddf33ce8";
logging-data="2851258"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/g6XWiA1yS77ToeEUF4NQ8u/Xcyr/49Zs="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:bWoCpzEw870ShleVtTbFBeGcjlA=
Content-Language: en-US
In-Reply-To: <memo.20230225213223.11588W@jgd.cix.co.uk>
 by: Arne Vajhøj - Sun, 26 Feb 2023 00:28 UTC

On 2/25/2023 4:32 PM, John Dallman wrote:
> In article <ttd4ta$2j12a$2@dont-email.me>, arne@vajhoej.dk (Arne Vajhøj)
> wrote:
>> C# and Java are very similar. I don't think MS ever made a secret
>> of that.
>
> Microsoft started on .NET during their lawsuit with Sun over their
> incomplete-but-extended Java implementation. They seem to have hoped to
> replace Java with .NET.

Yes.

>> There are of course also some differences. C# got
>> unsafe blocks with pointers (nobody use them) ...
>
> The main thing those are useful for is calling native code. It's way
> easier than using JNI.

I was not thinking about pointer type aka IntPtr, which are commonly
used for p/Invoke (DllImport).

Example:

using System;
using System.Runtime.InteropServices;

namespace PtrTyp
{ public class Program
{
[DllImport("msvcrt.dll")]
public static extern IntPtr calloc(int numelm, int elmlen);
[DllImport("msvcrt.dll")]
public static extern void memset(IntPtr p, int val, int len);
[DllImport("msvcrt.dll")]
public static extern int printf(string fmt, IntPtr p);
[DllImport("msvcrt.dll")]
public static extern void free(IntPtr p);

public static void Main(string[] args)
{
IntPtr p = calloc(1, 4);
memset(p, 65, 3);
printf("%s\n", p);
free(p);
}
}
}

I was thinking about real star pointer.

Example:

using System;

namespace StarPtr
{ public class Program
{
public static void Main(string[] args)
{
int[] a = new int[4] { 1, 2, 3, 4 };
foreach(int ai in a)
{
Console.Write(" {0}", ai);
}
Console.WriteLine();
unsafe
{
fixed(int *p = &a[0])
{
for(int i = 0; i < 4; i++)
{
int *p2 = p + i;
Console.Write(" {0}", *p2);
}
Console.WriteLine();
}
}
}
}
}

The star pointer do not need to be used with p/Invoke (DllImport) but
they can be used - I just think it is very rare.

Example:

using System;
using System.Runtime.InteropServices;

namespace Mixed
{ public class Program
{
[DllImport("msvcrt.dll")]
public static extern void memset(IntPtr p, int val, int len);
public static void Main(string[] args)
{
int a = 0;
unsafe
{
int *p = &a;
memset((IntPtr)p, 123, 1);
}
Console.WriteLine(a);
}
}
}

Arne

PS: Yes - p/Invoke (DllImport) is way easier than JNI.

Re: VMS Cobol - GnuCOBOL

<tte9ii$2n24v$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Sat, 25 Feb 2023 19:36:32 -0500
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <tte9ii$2n24v$1@dont-email.me>
References: <ttd4ta$2j12a$2@dont-email.me>
<memo.20230225213223.11588W@jgd.cix.co.uk> <ttdvm2$ntp$1@panix2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 26 Feb 2023 00:36:34 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1ec6a7965c4e6b48fcfb6c80ddf33ce8";
logging-data="2853023"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tl7Ty68E7Jvm10ntBHi0ULIR46+8HBR8="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:DB0P0aYiuYYrgLCAsFNsEI/3tOs=
In-Reply-To: <ttdvm2$ntp$1@panix2.panix.com>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 26 Feb 2023 00:36 UTC

On 2/25/2023 4:47 PM, Scott Dorsey wrote:
> John Dallman <jgd@cix.co.uk> wrote:
>> In article <ttd4ta$2j12a$2@dont-email.me>, arne@vajhoej.dk (Arne Vajhøj)
>> wrote:
>>> C# and Java are very similar. I don't think MS ever made a secret
>>> of that.
>>
>> Microsoft started on .NET during their lawsuit with Sun over their
>> incomplete-but-extended Java implementation. They seem to have hoped to
>> replace Java with .NET.
>
> Java is a whole bunch of things. It's an environment, it's a set of
> libraries, and it's a programming language.

True.

Language, library and virtual machine. 3 separate specs.

> C#, ASP.NET, and ActiveX together sort of make up a thing that Microsoft
> hoped would replace Java.

I would say:

Java language = C#
Java library = .NET library
Java virtual machine = CLR
Java byte code = CIL
ASP.NET = front half of J2EE/Java EE/Jakarta EE
ActiveX = Java Beans

> C# and .NET had some degree of success anyway.

Absolutely.

>>> There are of course also some differences. C# got
>>> unsafe blocks with pointers (nobody use them) ...
>>
>> The main thing those are useful for is calling native code. It's way
>> easier than using JNI.
>
> Which of course defeats the whole purpose of having a sandbox... but that's
> Microsoft...

Java does not have the unsafe blocks and star pointers.

Java does have the ability to call native unsafe code via JNI (assuming
not blocked by a security manager).

But in some weird way then the fact that using JNI is about as
much fun as getting a root canal treatment at the dentist has
probably helped keeping most Java WORA.

Arne

Re: VMS Cobol - GnuCOBOL

<ttea1t$2n0dq$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Cobol - GnuCOBOL
Date: Sat, 25 Feb 2023 19:44:42 -0500
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <ttea1t$2n0dq$2@dont-email.me>
References: <ttd4ta$2j12a$2@dont-email.me>
<memo.20230225213223.11588W@jgd.cix.co.uk> <ttdvm2$ntp$1@panix2.panix.com>
<tte9ii$2n24v$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 26 Feb 2023 00:44:45 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1ec6a7965c4e6b48fcfb6c80ddf33ce8";
logging-data="2851258"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ehRPYNHNIVRwG0/lRbqi1tRHTV3RoVew="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:U/2ML40RXKqagD4omSQTdcMYpIs=
Content-Language: en-US
In-Reply-To: <tte9ii$2n24v$1@dont-email.me>
 by: Arne Vajhøj - Sun, 26 Feb 2023 00:44 UTC

On 2/25/2023 7:36 PM, Arne Vajhøj wrote:
> Java does have the ability to call native unsafe code via JNI (assuming
> not blocked by a security manager).
>
> But in some weird way then the fact that using JNI is about as
> much fun as getting a root canal treatment at the dentist has
> probably helped keeping most Java WORA.

Note that Java is getting a new way to call native code.
"Foreign functions" has been in preview in since Java 16.
I don't think it has been decided yet when it will be
deemed production ready - maybe Java 21 or 22.

Arne

Pages:123456
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor