Deutsch   English   Français   Italiano  
<v5emhq$1jndv$1@dont-email.me>

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

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c
Subject: Re: Baby X is bor nagain
Date: Tue, 25 Jun 2024 17:08:42 +0200
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <v5emhq$1jndv$1@dont-email.me>
References: <v494f9$von8$1@dont-email.me>
 <v49seg$14cva$1@raubtier-asyl.eternal-september.org>
 <v49t6f$14i1o$1@dont-email.me>
 <v4bcbj$1gqlo$1@raubtier-asyl.eternal-september.org>
 <v4bh56$1hibd$1@dont-email.me> <v4c0mg$1kjmk$1@dont-email.me>
 <v4c8s4$1lki1$4@dont-email.me> <20240613002933.000075c5@yahoo.com>
 <v4emki$28d1b$1@dont-email.me> <20240613174354.00005498@yahoo.com>
 <v4okn9$flpo$2@dont-email.me> <v4p37r$k32n$1@dont-email.me>
 <v4pei3$m5th$2@dont-email.me> <v4plsk$nn9o$2@dont-email.me>
 <v4pnq6$o4fs$1@dont-email.me> <v4q245$si2n$1@dont-email.me>
 <v4q2rl$sqk3$1@dont-email.me> <v52308$2nli8$3@dont-email.me>
 <v53i4s$33k73$2@dont-email.me> <v53lf7$34huc$1@dont-email.me>
 <v53vh6$368vf$1@dont-email.me> <v54se1$3bqsk$1@dont-email.me>
 <20240624160941.0000646a@yahoo.com> <v5bu5r$va3a$1@dont-email.me>
 <v5c275$vq9k$1@dont-email.me> <v5c6bf$10sr7$1@dont-email.me>
 <v5c9jk$1159j$1@dont-email.me> <v5cnm9$14dri$1@dont-email.me>
 <v5duid$1fid4$1@dont-email.me> <v5e92f$1gs9a$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jun 2024 17:08:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9cf53d04b66d1800440e1f149c520af4";
	logging-data="1695167"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18k4maDqJzpwS4O/5wLKlAtDNOzvl59ShQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.11.0
Cancel-Lock: sha1:aTTu6GR6ezIf7uImTOXQTiztiTM=
Content-Language: en-GB
In-Reply-To: <v5e92f$1gs9a$1@dont-email.me>
Bytes: 5026

On 25/06/2024 13:18, bart wrote:
> On 25/06/2024 09:19, David Brown wrote:
> 
>> At no point in all this does anyone care in the slightest about the 
>> speed of your little toys or of the cute little tcc.  tcc might be 
>> ideal for the half-dozen people in the world who think C scripts are a 
>> good idea, and it had its place in a time when "live Linux" systems 
>> were booted from floppies, but that's about it.
> 
> Yet, projects like mine, and like tcc, show what is possible: just how 
> fast should it take to turn lower level code into machine code.
> 

That is not the be-all and end-all of compilers.  Fortunately, real 
compiler developers think differently from you.

Tools like tcc - and possibly your compiler - are better than nothing. 
And if you really do have a situation where small size is a concrete 
requirement (such as Live Linux floppies last century), they can be very 
useful.  But when you have the option of using something much better, 
you use something much better.  Disk space costs nothing.  RAM space 
costs peanuts.  Processor time is dirt cheap.  A major cost is 
/developer/ time, so you use tools that save the /developer/ time, not 
tools that save the developer's computer time.  And for a lot of C code 
- at least, a lot of code that should be written in C, the run time of 
the final results are a cost.

> Since as I said I don't see much difference in such a task compared with 
> doing the same with assembly, or translating textual data into binary.
> 
> So, if someone is using a tool (and perhaps language) that takes 1, 2 or 
> 3 magnitudes longer for the same scale of task, then the trade-offs had 
> better be worthwhile.

An order of magnitude longer than negligible is still not worth 
bothering about.  Compiler time - for C - does not matter.

> 
> And it shouldn't be because the developers of the tool are lousy at 
> writing performant code. Or they don't care. Or they expect customers to 
> just use faster and bigger hardware.

Do you think the developers of gcc don't care?  Or they are just bad at 
writing code?  Do you know how laughable that is?  It is not /quite/ as 
bad as your usual paranoia that the developers behind C, gcc, Linux, 
make, and countless other things you don't understand created them just 
to annoy you personally.

> 
> You think it is all totally pointless? Then fuck you.
> 

I didn't say your /compiler/ was pointless.  I said your "benchmarks" 
were pointless.

And I have said your compiler (and tcc) is a toy in comparison to gcc 
(and clang, MSVC, and other serious tools) for C development.  That 
again does not mean it can't have some uses - if you like it and use it, 
then fine.  Just don't expect other people to share your enthusiasm for 
such limited tools, and certainly don't expect anyone else to share your 
obsession for meaningless benchmarks and imaginary "lines per second" 
figures.