Sujet : Re: question about linker
De : antispam (at) *nospam* fricas.org (Waldek Hebisch)
Groupes : comp.lang.cDate : 04. Dec 2024, 13:29:21
Autres entêtes
Organisation : To protect and to server
Message-ID : <viphuv$37ejl$1@paganini.bofh.team>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
Bart <
bc@freeuk.com> wrote:
You've never used my scheme.
Your scheme, not. But you should understand that when speaking
about module systems C is an outlier, having almost no support
for modules. Some languages, like C++ and Lisp go half way,
providing namespaces but rest is up to programmer. Other do
more. By now classis is _logical_ separation into interface
and implementation, which seem to be absent from your system.
One significant advantage is that because
all modules (and subprogram imports) are listed in the lead module
(usually that's all it contains), it is very easy to build a different
configuration using an alternative lead module with a different collection.
This is not enforced, but easy to do in any resonable module system.
-- Waldek Hebisch