Sujet : Re: C23 thoughts and opinions
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 09. Jun 2024, 12:44:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240609144427.0000016c@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
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Sun, 9 Jun 2024 14:12:39 +0300
Michael S <
already5chosen@yahoo.com> wrote:
On Sun, 9 Jun 2024 11:20:11 +0100
bart <bc@freeuk.com> wrote:
367KB sounds astonishing, but the first time I tried Dart, it gave
me a 5MB executable for 'hello.dart'.
golang tend to start at >1.5MB, but then it grows very slowly. It
appears to generate *very* self-contained executives. At least I
personally never encountered case where simple copy of exe to new
computer was insufficient.
Considering that go needs much more of run-time support than dart, I
can't find any reason for 5MB except "they don't care".
If we started talking about size of statically linked binaries, in this
field [on x86-64] an advantage of Windows/MSVC over Linux/gcc appears
quite huge.
MSVC 2013 - 84,480 bytes
MSVC 2019 - 119,808 bytes
gcc (Debian Linux) - 682,688 bytes
By old standards, MSVC binary is bloated beyond reason, but
comparatively to gcc/Linux it looks almost lean.
I can't say that I care deeply, but can't say that I don't care at all
either. Statically linked binaries is the only way by which I was able
to copy programs compiled on relatively new Debian to Ubuntu-LTS that
was not that much older (2-3 years). I fully believe that there exist
other methods, but they are above my skills and above skills of
co-workers.