Sujet : Re: C23 thoughts and opinions
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 03. Jun 2024, 09:16:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240603111615.00003e96@yahoo.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Mon, 3 Jun 2024 01:16:39 -0000 (UTC)
Lawrence D'Oliveiro <
ldo@nz.invalid> wrote:
On Sun, 2 Jun 2024 10:37:55 +0100, bart wrote:
On 02/06/2024 04:27, Lawrence D'Oliveiro wrote:
On Sat, 1 Jun 2024 11:37:45 +0100, bart wrote:
My compilers don't routinely generate object files, which would
also need an external dependency (a linker), but they can do if
necessary (eg. to statically link my code into another program
with another compiler).
Modular code design would indicate that there is no point the
compiler duplicating functionality available in the linker.
Python uses modules and yet doesn't have a linker.
What is importlib, then, if not something that links everything
together?
And guess what: it’s a module.
Bart is very obviously correct. When all sources are available, linker
is merely an implementation detail. Much less necessary implementation
detail too in the world of big RAM and of not particularly big apps.
LTCG is sort of admission of this fact.
Even in old days of small RAMs, super-popular TurboPascal suit had
modules, but I don't think that it had linker.