Deutsch   English   Français   Italiano  
<vt34b1$26vpf$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Newsgroups: comp.os.vms
Subject: Re: Clair Grant on VMS code base
Date: Tue, 8 Apr 2025 12:20:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <vt34b1$26vpf$1@dont-email.me>
References: <vsh5m5$3is6e$1@dont-email.me> <vsmj7h$19qc0$1@dont-email.me> <vsmk9b$18rgf$1@dont-email.me> <vsp6ol$eli$1@dont-email.me> <vsv6jf$28vt6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 08 Apr 2025 14:20:49 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d1e7f4a19a6a5e96fa3be9dbb01833a6";
	logging-data="2326319"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18WFgL2KxMQ07fvFS7HEfsvk/HRPIUpuXY="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:O1WqgeBGpUQ4gNkrEq/euniSMHE=
Bytes: 2411

On 2025-04-06, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 4/4/2025 2:00 PM, Simon Clubley wrote:
>> 
>> Wow. I had no idea it was now that big. OTOH, bash has got a _lot_ more
>> functionality in it than DCL does.
>
> 6 times more?
>

It wouldn't surprise me, in addition to the higher-level constructs that
bash has when compared to DCL.

>> 
>> The problem with that analysis is what DCL does.
>> 
>> It basically parses, validates, and executes commands it has been given.
>> That is something which can be implemented a lot more easily and concisely
>> in a HLL with abstracted data structure capabilities (which includes
>> even C) than an assembly language with no such capabilities.
>
> It is not obvious to me that:
>
> (LOC/FP for Macro-32) / (LOC/FP for C)
>
> is a lot higher for a shell than for the average application - data
> structures are not anything special for shells.
>
> But maybe.

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 ?

Simon.

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