Re: C23 thoughts and opinions

Liste des GroupesRevenir à cl c 
Sujet : Re: C23 thoughts and opinions
De : chris.m.thomasson.1 (at) *nospam* gmail.com (Chris M. Thomasson)
Groupes : comp.lang.c
Date : 08. Jun 2024, 06:36:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v40qk3$2g2bk$4@dont-email.me>
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 27 28 29 30
User-Agent : Mozilla Thunderbird
On 6/7/2024 6:14 PM, bart wrote:
On 08/06/2024 01:39, Kaz Kylheku wrote:
On 2024-06-07, bart <bc@freeuk.com> wrote:
It's you who can't get your head around the idea that someone could be
away with a 'linker'.
>
You can do away with linkers and linking.
>
But it's pretty helpful when
>
1. the same library is reused for many programs.
  You use a shared library.
 
2. you're selling a library, and would like to ship a binary image of
that library.
 You ship a shared library.
 
Without linkage, you don't have a library ecosystem.
  Of course you do. Eg. a program depends on the vast WinAPI; but you don't have to ship copies of all its DLLs, neither do you have to statically link them.
 There are some fixups involving even with using dynamic linking. That's
dynamic linking is linking?

taken care of by the OS loader. But the code involved isn't extensive. Here is an 800-line C program:
    https://github.com/sal55/langs/blob/master/runmx.c
 that loads a private executable format of mine; it loads any dynamic libraries also in the same format (but it doesn't multiple instances with other processes); and it resolves any symbols from dependent DLLs. Then it runs the program.
 (Here written using WinAPI calls.)

Date Sujet#  Auteur
1 Jun 24 * Re: C23 thoughts and opinions26Lawrence D'Oliveiro
1 Jun 24 `* Re: C23 thoughts and opinions25bart
2 Jun 24  `* Re: C23 thoughts and opinions24Lawrence D'Oliveiro
2 Jun 24   `* Re: C23 thoughts and opinions23bart
3 Jun 24    `* Re: C23 thoughts and opinions22Lawrence D'Oliveiro
3 Jun 24     +* Re: C23 thoughts and opinions5Michael S
4 Jun 24     i`* Re: C23 thoughts and opinions4Lawrence D'Oliveiro
4 Jun 24     i `* Re: C23 thoughts and opinions3bart
5 Jun 24     i  +- Re: C23 thoughts and opinions1Lawrence D'Oliveiro
5 Jun 24     i  `- Re: C23 thoughts and opinions1Tim Rentsch
3 Jun 24     `* Re: C23 thoughts and opinions16bart
4 Jun 24      `* Re: C23 thoughts and opinions15Lawrence D'Oliveiro
4 Jun 24       `* Re: C23 thoughts and opinions14bart
5 Jun 24        `* Re: C23 thoughts and opinions13Lawrence D'Oliveiro
5 Jun 24         `* Re: C23 thoughts and opinions12bart
5 Jun 24          +* Re: C23 thoughts and opinions2Thiago Adams
5 Jun 24          i`- Re: C23 thoughts and opinions1David Brown
6 Jun 24          `* Re: C23 thoughts and opinions9Lawrence D'Oliveiro
6 Jun 24           `* Re: C23 thoughts and opinions8bart
7 Jun 24            `* Re: C23 thoughts and opinions7Lawrence D'Oliveiro
7 Jun 24             `* Re: C23 thoughts and opinions6bart
8 Jun 24              `* Re: C23 thoughts and opinions5Kaz Kylheku
8 Jun 24               `* Re: C23 thoughts and opinions4bart
8 Jun 24                +* Re: C23 thoughts and opinions2Kaz Kylheku
8 Jun 24                i`- Re: C23 thoughts and opinions1bart
8 Jun 24                `- Re: C23 thoughts and opinions1Chris M. Thomasson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal