comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Looking for a smart linker for GNAT/DOS
Date: 1997/04/22
Date: 1997-04-22T00:00:00+00:00	[thread overview]
Message-ID: <dewar.861685680@merv> (raw)
In-Reply-To: 5jac72$atr$1@gonzo.sun3.iaf.nl


Geert says

<<Consider a program using a library of 50 subprograms of 500 bytes
in size on average. When the program uses only 6 of the subprograms
in the package, chances are that these 6 subprograms are all in
different VM pages, so using these 6 subprograms will cause nearly
the entire library to be loaded.>>

Yes, true on your small scale example, but here we have only 25K
of code (that's about a dime's worth of memory at current prices).
For the more typical case, where you have huge specs with thousands
of routines, or at least hundreds, the advantage of a DLL over
unsmart linking can be huge.

You are not likely to achieve smart linking on typical Unix systems.
the infrastructure is just not there (e.g. appropriate format object
modules with separate control sections for separate routines).





  reply	other threads:[~1997-04-22  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1997Apr15.202909.5879@news>
1997-04-16  0:00 ` Looking for a smart linker for GNAT/DOS Samuel Tardieu
1997-04-16  0:00   ` Gautier
1997-04-18  0:00     ` Robert Dewar
1997-04-19  0:00       ` Fergus Henderson
1997-04-21  0:00         ` Robert Dewar
1997-04-21  0:00           ` Gautier
1997-04-23  0:00             ` Robert Dewar
1997-04-24  0:00               ` Gautier
1997-04-26  0:00                 ` Robert Dewar
1997-04-27  0:00                 ` Geert Bosch
1997-04-29  0:00                   ` Gautier
1997-04-19  0:00       ` Geert Bosch
1997-04-22  0:00         ` Robert Dewar [this message]
1997-04-28  0:00         ` Larry Kilgallen
1997-04-21  0:00       ` Mats Weber
1997-04-23  0:00         ` Robert Dewar
1997-04-21  0:00       ` Gautier
     [not found] ` <dewar.861173085@merv>
1997-04-17  0:00   ` Gautier
1997-04-17  0:00     ` Robert Dewar
1997-04-18  0:00       ` Gautier
1997-04-19  0:00         ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox