Re: Downwardly Scalable Systems

Liste des GroupesRevenir à c misc 
Sujet : Re: Downwardly Scalable Systems
De : invalid (at) *nospam* invalid.invalid (Richard Kettlewell)
Groupes : comp.misc
Date : 16. Apr 2024, 08:31:36
Autres entêtes
Organisation : terraraq NNTP server
Message-ID : <wwvy19dbw6f.fsf@LkoBDZeT.terraraq.uk>
References : 1 2 3 4 5
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
kludge@panix.com (Scott Dorsey) writes:
D  <nospam@example.net> wrote:
Why do they go backwards? I mean larger binaries must come with some
benefit right?
>
The hello world executable generated with gcc under Oracle Linux 8 is
42Mb long, which is more MASS STORAGE than I had on the first Unix
system I ever used.  I can't see this as being a good thing.

I’m not sure how you managed to make it be 42MB. If I use the official
container imagine it comes out under 20KB.

    [root@4b3cfcf8c484 /]# cat t.c
    #include <stdio.h>

    int main(void) { return printf("Hello, world\n"); }
    [root@4b3cfcf8c484 /]# gcc -O2 -o t t.c
    [root@4b3cfcf8c484 /]# ./t
    Hello, world
    [root@4b3cfcf8c484 /]# ls -l t
    -rwxr-xr-x 1 root root 18096 Apr 16 07:27 t

--
https://www.greenend.org.uk/rjk/

Date Sujet#  Auteur
13 Apr 24 * Downwardly Scalable Systems16Ben Collver
13 Apr 24 `* Re: Downwardly Scalable Systems15Stefan Ram
13 Apr 24  +* Re: Downwardly Scalable Systems3David LaRue
13 Apr 24  i`* Re: Downwardly Scalable Systems2Stefan Ram
13 Apr 24  i `- Re: Downwardly Scalable Systems1Scott Dorsey
14 Apr 24  `* Re: Downwardly Scalable Systems11Computer Nerd Kev
14 Apr 24   +- Re: Downwardly Scalable Systems1Ben Collver
14 Apr 24   `* Re: Downwardly Scalable Systems9D
15 Apr 24    +* Re: Downwardly Scalable Systems5Computer Nerd Kev
15 Apr 24    i+* Re: Downwardly Scalable Systems2D
15 Apr 24    ii`- Re: Downwardly Scalable Systems1candycanearter07
15 Apr 24    i`* Re: Downwardly Scalable Systems2Richard Kettlewell
15 Apr 24    i `- Re: Downwardly Scalable Systems1D
16 Apr 24    `* Re: Downwardly Scalable Systems3Scott Dorsey
16 Apr 24     +- Re: Downwardly Scalable Systems1Richard Kettlewell
16 Apr 24     `- Re: Downwardly Scalable Systems1D

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal