Deutsch   English   Français   Italiano  
<vsmk9b$18rgf$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: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: Clair Grant on VMS code base
Date: Thu, 3 Apr 2025 14:33:16 -0400
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <vsmk9b$18rgf$1@dont-email.me>
References: <vsh5m5$3is6e$1@dont-email.me> <vsmj7h$19qc0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 03 Apr 2025 20:33:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="6577ca7e4cfeb5ce4eee08565e4ced4b";
	logging-data="1338895"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19G2vznnP+Ivz3HZwqGvRvgph7xlwnLm2U="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mcYr+1nICkqY61ppu7nyJU66Ga4=
In-Reply-To: <vsmj7h$19qc0$1@dont-email.me>
Content-Language: en-US
Bytes: 2092

On 4/3/2025 2:15 PM, Simon Clubley wrote:
> On 2025-04-01, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> He looks at size 6.2 -> 7.2 -> 8.2 -> 9.2 and .mar vs .c 6.2 -> 9.2.
>>
>> https://vmssoftware.com/resources/blog/2025-03-31-how-big-is-vms/
> 
> How the hell does DCL have 30,000+ lines of code ? :-)
> (Even allowing for the fact most of it is in Macro-32)

Just for fun I downloaded bash and counted. 117 KLOC.

> Also, regarding those BLISS/Macro-32 figures across the various modules
> in general, I wonder how much smaller the code would have been if it had
> been written in C ?

C is a relative high LOC/FP language.

Most LOC/FP tables have C in the 100-125 range and macro-assembler
in the 200-250 range.

If we adjust for VAX instructions being more powerful/complex
than average ISA, add a random number and subtract wind speed I
will estimate the Macro-32 / C ratio to be around 1.5-1.75.

If you buy that then the DCL 33 KLOC would be 19-22 KLOC in C
to be compared with bash 117 KLOC.

Arne