Liste des Groupes | Revenir à cl c |
On 04/12/2024 12:29, Waldek Hebisch wrote: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.
It is there, but at a different boundary.
My language is intended for whole program compilation. There are no
interfaces between modules (that is, a file listing the exports of a
module, separately from the implementation).
Because the compiler can see (and will compile) the actual implementation
Such interface files exist between programs, which usually means between
a main program and the libraries it uses, which are generally
dynamically loaded.
Les messages affichés proviennent d'usenet.