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

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

Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: question about linker
Date: Tue, 10 Dec 2024 13:56:35 +0000
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <vj9hag$vq6e$1@dont-email.me>
References: <vi54e9$3ie0o$1@dont-email.me> <viifv8$2opi7$1@dont-email.me>
 <vik28b$390eg$1@dont-email.me> <vik8tc$3ang9$1@dont-email.me>
 <vikjff$3dgvc$1@dont-email.me> <viku00$3gamg$1@dont-email.me>
 <vil0qc$3fqqa$3@dont-email.me> <vil82t$3ie9o$2@dont-email.me>
 <vila9j$3j4dg$1@dont-email.me> <vin4su$49a6$1@dont-email.me>
 <vin95m$5da6$1@dont-email.me> <vinh3h$7ppb$1@dont-email.me>
 <vinjf8$8jur$1@dont-email.me> <vip5rf$p44n$1@dont-email.me>
 <viprao$umjj$1@dont-email.me> <viqfk9$13esp$1@dont-email.me>
 <vir5kp$3hjd9$1@paganini.bofh.team> <vishtd$1mnq1$1@dont-email.me>
 <visola$1ohbl$1@dont-email.me> <vivdb8$2foo6$1@dont-email.me>
 <viviqe$2gvqj$1@dont-email.me> <vj1rq0$35lal$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 10 Dec 2024 14:56:33 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a9d7aded457bf5b4ebdaf1c3a45d65c6";
	logging-data="1042638"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+ztAPkDFqQHrvmhpGXvb/p"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ETTj1G8xnEeN0xLhhmq7evf7qfk=
In-Reply-To: <vj1rq0$35lal$2@dont-email.me>
Content-Language: en-GB

On 07/12/2024 16:06, David Brown wrote:
> On 06/12/2024 20:20, Bart wrote:

>> If your task to get from A to B was split into two, you'd be happy to 
>> do the first part by a fast car, then complete the rest of it on a 
>> horse and cart, for no reason at all?
>>
> 
> The comparison was between C to object code (with a real compiler) and 
> from X to C and then to the object code (using a real compiler).  If 
> your beliefs were true that gcc (and other proper C compilers) are 
> incredibly slow, why would it make any difference if someone is starting 
> from X or starting from C?  In both cases, compilation would take a long 
> time - C compilation speed is neither more nor less important whether 
> you are programming in X or C.

You don't appear to get it. If you are writing C by hand, then people 
like you would want to use a more powerful, and therefore slower, 
compiler, that will analyse that C. It can also take care of the many 
shortcomings in the language.

But if the C has been machine-generated, that analysis is no longer 
relevant. Then you may just want the fastest and simplest conversion.

This was the basis of my use-case for a fast and possibly compact compiler.


> And you are the only one so far who finds gcc to be inconveniently slow.

"Mainstream compilers like Clang and GCC are very slow"

From:

https://sbaziotis.com/compilers/common-misconceptions-about-compilers.html