Deutsch   English   Français   Italiano  
<86zflemb1k.fsf@linuxsc.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups: comp.lang.c
Subject: Re: else ladders practice
Date: Mon, 02 Dec 2024 06:09:27 -0800
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <86zflemb1k.fsf@linuxsc.com>
References: <3deb64c5b0ee344acd9fbaea1002baf7302c1e8f@i2pn2.org> <vg62vg$3uv02$1@dont-email.me> <vgd3ro$2pvl4$1@paganini.bofh.team> <vgdc4q$1ikja$1@dont-email.me> <vgdt36$2r682$2@paganini.bofh.team> <vge8un$1o57r$3@dont-email.me> <vgpi5h$6s5t$1@paganini.bofh.team> <vgtsli$1690f$1@dont-email.me> <vhgr1v$2ovnd$1@paganini.bofh.team> <vhic66$1thk0$1@dont-email.me> <vhins8$1vuvp$1@dont-email.me> <vhj7nc$2svjh$1@paganini.bofh.team> <vhje8l$2412p$1@dont-email.me> <86y117qhc8.fsf@linuxsc.com> <vi2m3o$2vspa$1@dont-email.me> <86cyiiqit8.fsf@linuxsc.com> <vi4iji$3f7a3$1@dont-email.me> <86mshkos1a.fsf@linuxsc.com> <20241128143715.00003565@yahoo.com> <86wmglnvic.fsf@linuxsc.com> <viespg$1mcnr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Mon, 02 Dec 2024 15:09:30 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e9252777fbfdbb5b036d5be7e0226fe4";
	logging-data="3550110"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/+6bNjHZZeeYgMwsdb51ePlb9UhpnB7Oo="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:8YpKucAReEmv/5BvDGmmZ2xrn/4=
	sha1:smTXNHI7WiNF0XRnCjybtCihscg=
Bytes: 4303

Bart <bc@freeuk.com> writes:

> On 30/11/2024 05:25, Tim Rentsch wrote:
>
>> Michael S <already5chosen@yahoo.com> writes:
[...]
>>> I remember having much shorter file (core of 3rd-party TCP protocol
>>> implementation) where compilation with gcc took several seconds.
>>>
>>> Looked at it now - only 22 Klocs.
>>> Text size in .o - 34KB.
>>> Compilation time on much newer computer than the one I remembered, with
>>> good SATA SSD and 4 GHz Intel Haswell CPU - a little over 1 sec.  That
>>> with gcc 4.7.3.  I would guess that if I try gcc13 it would be 1.5 to 2
>>> times longer.
>>> So, in terms of Klock/sec it seems to me that time reported by Bart
>>> is not outrageous.  Indeed, gcc is very slow when compiling any source
>>> several times above average size.
>>> In this particular case I can not compare gcc to alternative, because
>>> for a given target (Altera Nios2) there are no alternatives.
>>
>> I'm not disputing his ratios on compilation speeds.  I implicitly
>> agreed to them in my earlier remarks.  The point is that the
>> absolute times are so small that most people don't care.  For
>> some reason I can't fathom Bart does care, and apparently cannot
>> understand why most other people do not care.  My conclusion is
>> that Bart is either quite immature or a narcissist.  I have tried
>> to explain to him why other people think differently than he does,
>> but it seems he isn't really interested in having it explained.
>> Oh well, not my problem.
>
> EVERYBODY cares about compilation speeds.  [...]

No, they don't.  I accept that you care about compiler speed.  What
most people care about is not speed but compilation times, and as
long as the times are small enough they don't worry about it.

Another difference may be relevant here.  Based on other comments of
yours I have the impression that you frequently invoke compilations
interactively.  A lot of people never do that (or do it only very
rarely).  In a project I am working on now I do builds often,
including full builds where every .c file is recompiled.  But all
the compilation times together are only a small fraction of the
total, because doing a build includes lots of other steps, including
running regression tests.  Even if the total compilation time were
zero the build process wouldn't be appreciably shorter.

I understand that you care about compiler speed, and that's fine
with me;  more power to you.  Why do you find it so hard to accept
that lots of other people have different views than you do, and
those people are not all stupid?  Do you really consider yourself
the only smart person in the room?