🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.vms
Article #4

Re: A few curious questions

#4
From: Dan Cross
Date: Wed, 07 Oct 2026 12:00
68 lines
4107 bytes
In article <nii4buFi5mfU1@mid.individual.net>,
Bill Gunshannon  <bill.gunshannon@gmail.com> wrote:
>On 10/5/26 10:21, Dan Cross wrote:
>> In article <vuSuS.97$rHz6.8@fx43.iad>, Scott Lurndal <slp53@pacbell.net> wrote:
>>> cross@spitfire.i.gajendra.net (Dan Cross) writes:
>>>> In article <119e75n$2hsub$1@dont-email.me>,
>>>> Dave Froble  <davef@tsoft-inc.com> wrote:
>>>>> On 9/28/2026 10:49 AM, Dan Cross wrote:
>>>>>> In article <nhlautF2k3mU1@mid.individual.net>,
>>>>>> Bill Gunshannon  <bill.gunshannon@gmail.com> wrote:
>>>>>>>> [snip]
>>>>>>>>
>>>>>>>> [*] This was a method, used during linking, in which you described an
>>>>>>>> overlay map, and the OS then mapped in and out various segments of your
>>>>>>>> application at runtime as various parts of it were called by the rest
>>>>>>>> of the application.
>>>>>>>>
>>>>>>>> The :-( is because I have direct personal experience of having to do
>>>>>>>> this multiple times... :-) Never, ever, ever, again. :-)
>>>>>>>>
>>>>>>>> I was very glad to get to VAX and leave all that behind.
>>>>>>>
>>>>>>> Never saw it as much of a problem.  Actually helped a lot in making
>>>>>>> more efficient programs.
>>>>>>
>>>>>> Efficient in what regard?
>>>>>
>>>>> Not efficient!
>>>>>
>>>>> I will allow that it can be educational.  I learned to become very modular in my
>>>>> work, in those days.  A separate subprogram for every little operation.  I still
>>>>> like that type of design.  Keeps things simple, and easy to identify issues.
>>>>>
>>>>> But overlays are a thing best left in the past.
>>>>
>>>> Agreed on all counts.
>>>>
>>>> I can certainly see overlays forcing the program to think more
>>>> critically about a program, but I can't imagine how the system
>>>> juggling overlays around in memory to compensate for a teeny
>>>> address space is efficient in terms of using the machine.
>>>
>>> Overlays, in this context, are similar in overhead to
>>> paging in modern virtual memory environments; albeit with
>>> a variable "page" size with associated allocation issues
>>> which sometimes required moving memory regions or rolling
>>> them out to drum/disk/pack.
>> 
>> Sorry, let me clarify; I mean, I don't see how it could be
>> considered efficient relative to _not_ using overlays.  Surely
>> in the context Bill made his efficiency comment in, the better
>> play would be to try and minimize overlays, if not outright
>> eliminate them?  Granted, that may not be possible, and in that
>> case, perhaps one might try to cluster bits of functionality
>> into code segments to minimize swapping around overlays, in much
>> the same way that an efficient paging system might try to find
>> the working set of a program, to keep it in memory.
>
>My turn to clarify.  What I meant was that devising a practical,
>usable and (hopefully) efficient overlay scheme causes the pro-
>grammer to look more deeply into their program and will likely
>result in learning things they can do th make the program more
>efficient as well as determining an overlay scheme.

Right.  That makes sense to me.  It's the stick, not the carrot.

	- Dan C.
Technical Details
Message-ID: <11a5c93$5sn$1@reader2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
References: <nadp5eFovu6U1@mid.individual.net> <vuSuS.97$rHz6.8@fx43.iad> <11a0boh$osv$1@reader2.panix.com> <nii4buFi5mfU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: A few curious questions
Date: Wed, 7 Oct 2026 12:00:35 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <11a5c93$5sn$1@reader2.panix.com>
References: <nadp5eFovu6U1@mid.individual.net> <vuSuS.97$rHz6.8@fx43.iad> <11a0boh$osv$1@reader2.panix.com> <nii4buFi5mfU1@mid.individual.net>
Injection-Date: Wed, 7 Oct 2026 12:00:35 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
	logging-data="6039"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)