🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Dave Froble Sat, 10 Oct 2026 14:46
Re: A few curious questions
#15
Author: Dave Froble
Date: Sat, 10 Oct 2026 14:46
77 lines
4782 bytes
On 10/5/2026 1:16 PM, Bill Gunshannon 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.
>
> bill
>

Yes, and that is the education part.  But not efficient, since there is overhead.

-- 
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads