Re: Clair Grant on VMS code base

Liste des GroupesRevenir à co vms 
Sujet : Re: Clair Grant on VMS code base
De : davef (at) *nospam* tsoft-inc.com (Dave Froble)
Groupes : comp.os.vms
Date : 14. Apr 2025, 14:34:25
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtj2tu$1cfo8$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 4/14/2025 8:45 AM, Simon Clubley wrote:
On 2025-04-11, Arne Vajhøj <arne@vajhoej.dk> wrote:
On 4/8/2025 1:27 PM, Simon Clubley wrote:
On 2025-04-08, Arne Vajhøj <arne@vajhoej.dk> wrote:
On 4/8/2025 8:20 AM, Simon Clubley wrote:
>
It's a lot more complicated than that.
>
For example, take a LL(1) RD parser. Even ignoring the processing
of the results from the parser, how much code (and how much effort)
do you think it would take to implement it in Macro-32 compared to C ?
>
Still not obvious to me that it would not follow normal LOC/FP
ratios.
>
Try implementing one, especially with a reasonably sized grammar, and
you will very rapidly understand that it is not as simple as you seem
to think it is. :-)
>
I have not made any claim about it being simple.
>
I have made a claim that the ratio for LOC/FP for Macro-32
and LOC/FP for C for such a problem would not be significantly
different from other application types.
>
>
That claim is clearly incorrect.
>
The amount of Macro-32 code required for something higher-level such
as a RD parser that can be concisely expressed in C compared to assembly
language is clearly greater than, say a device driver, where the device
access and programming sequence is the same regardless of whether it
is done in C or assembly language.
>
You cannot even optimise the register access sequence in a C device driver
to reduce the amount of code, (and you even have to use volatile variables
so the compiler doesn't do it for you behind your back.)
>
Effort is a different issue. If someone said:
>
x1.6 LOC
x16 hours for initial write of code
x160 hours for maintenance of code
>
then I would consider it likely.
>
It has been hinted a few time that the DCL code is not easy to
understand and modify.
>
>
As I mentioned above, this is no longer about DCL. I picked the above
standalone example, a LL(1) RD parser, because it's a really good example
of the different scale of effort involved in writing it in Macro-32
instead of in C.
>
I have not made any claim about effort either.
>
Are you sure that you have understood the topic??
>
>
Yes, but it's not clear if you have Arne.
>
Simon.
>
I'd argue that such comparisons can be misleading.  As a simple example, specifying some arguments and invoking some routine.  In either case, the arguments must be specified, then invoking the routine.  Is each PUSH of an argument in assembler a separate instruction, or, just specification of an argument?  One must still specify the arguments in either case.
An example of a style I favor:
         Stat% = SYS$QIOW(       ,                       !  Event flag &
                                 ListenCh% By Value,     !  VMS channel &
                                 IO$_SETCHAR By Value,   !  Operation &
                                 IOSB::Stat%,            !  I/O status block &
                                 ,                       !  AST routine &
                                 ,                       !  AST parameter &
                                 ListenOpt::Protocol%,   !  P1 &
                                 ,                       !  P2 &
                                 ServerItemLst::Len%,    !  P3 - local socket na^
                                 BackLog% By Value,      !  P4 - connection back^
                                 SockOptItemList::Len%,  !  P5 - socket options &
                                 )                       !  P6
Ok, how many lines of code?
:-)
--
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

Date Sujet#  Auteur
1 Apr 25 * Clair Grant on VMS code base55Arne Vajhøj
1 Apr 25 +* Re: Clair Grant on VMS code base5Dan Cross
1 Apr 25 i`* Re: Clair Grant on VMS code base4Arne Vajhøj
1 Apr 25 i +- Re: Clair Grant on VMS code base1Dan Cross
1 Apr 25 i `* Re: Clair Grant on VMS code base2Lawrence D'Oliveiro
2 Apr 25 i  `- Re: Clair Grant on VMS code base1Arne Vajhøj
3 Apr 25 `* Re: Clair Grant on VMS code base49Simon Clubley
3 Apr 25  +* Re: Clair Grant on VMS code base45Arne Vajhøj
4 Apr 25  i`* Re: Clair Grant on VMS code base44Simon Clubley
4 Apr 25  i +- Re: Clair Grant on VMS code base1Rich Alderson
7 Apr 25  i `* Re: Clair Grant on VMS code base42Arne Vajhøj
7 Apr 25  i  +- Re: Clair Grant on VMS code base1Arne Vajhøj
7 Apr 25  i  +* Re: Clair Grant on VMS code base3Lawrence D'Oliveiro
7 Apr 25  i  i`* Re: Clair Grant on VMS code base2Lawrence D'Oliveiro
7 Apr 25  i  i `- Re: Clair Grant on VMS code base1Arne Vajhøj
8 Apr 25  i  `* Re: Clair Grant on VMS code base37Simon Clubley
8 Apr 25  i   `* Re: Clair Grant on VMS code base36Arne Vajhøj
8 Apr 25  i    +- Re: Clair Grant on VMS code base1abrsvc
8 Apr 25  i    `* Re: Clair Grant on VMS code base34Simon Clubley
11 Apr 25  i     `* Re: Clair Grant on VMS code base33Arne Vajhøj
11 Apr 25  i      +- Re: Clair Grant on VMS code base1Arne Vajhøj
14 Apr 25  i      `* Re: Clair Grant on VMS code base31Simon Clubley
14 Apr 25  i       `* Re: Clair Grant on VMS code base30Dave Froble
14 Apr 25  i        +* Re: Clair Grant on VMS code base3Simon Clubley
16 Apr 25  i        i`* Re: Clair Grant on VMS code base2Dave Froble
17 Apr 25  i        i `- Re: Clair Grant on VMS code base1Dan Cross
16 Apr 25  i        `* Re: Clair Grant on VMS code base26Arne Vajhøj
17 Apr 25  i         `* Re: Clair Grant on VMS code base25Dan Cross
17 Apr 25  i          +* Re: Clair Grant on VMS code base18bill
17 Apr 25  i          i+* Re: Clair Grant on VMS code base6Arne Vajhøj
17 Apr 25  i          ii`* Re: Clair Grant on VMS code base5bill
17 Apr 25  i          ii +- Re: Clair Grant on VMS code base1Arne Vajhøj
17 Apr 25  i          ii `* Re: Clair Grant on VMS code base3Simon Clubley
17 Apr 25  i          ii  `* Re: Clair Grant on VMS code base2bill
17 Apr 25  i          ii   `- Re: Clair Grant on VMS code base1Simon Clubley
17 Apr 25  i          i`* Re: Clair Grant on VMS code base11Simon Clubley
17 Apr 25  i          i `* Re: Clair Grant on VMS code base10Arne Vajhøj
17 Apr 25  i          i  +* Re: Clair Grant on VMS code base4bill
17 Apr 25  i          i  i`* Re: Clair Grant on VMS code base3Arne Vajhøj
17 Apr 25  i          i  i `* Re: Clair Grant on VMS code base2bill
17 Apr 25  i          i  i  `- Re: Clair Grant on VMS code base1Arne Vajhøj
18 Apr 25  i          i  `* Re: Clair Grant on VMS code base5Lawrence D'Oliveiro
18 Apr 25  i          i   +* Re: Clair Grant on VMS code base3Arne Vajhøj
18 Apr 25  i          i   i+- Re: Clair Grant on VMS code base1Lawrence D'Oliveiro
19 Apr 25  i          i   i`- Re: Clair Grant on VMS code base1Waldek Hebisch
19 Apr 25  i          i   `- Re: Clair Grant on VMS code base1Waldek Hebisch
17 Apr 25  i          +* Re: Clair Grant on VMS code base4Arne Vajhøj
17 Apr 25  i          i`* Re: Clair Grant on VMS code base3Dan Cross
18 Apr 25  i          i `* Re: Clair Grant on VMS code base2Dave Froble
18 Apr 25  i          i  `- Re: Clair Grant on VMS code base1Dan Cross
17 Apr 25  i          `* Re: Clair Grant on VMS code base2Arne Vajhøj
17 Apr 25  i           `- Re: Clair Grant on VMS code base1Dan Cross
9 Apr 25  `* Re: Clair Grant on VMS code base3John Reagan
9 Apr 25   `* Re: Clair Grant on VMS code base2Lawrence D'Oliveiro
11 Apr 25    `- Re: Clair Grant on VMS code base1Arne Vajhøj

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal