Liste des Groupes | Revenir à cl c |
On 06/12/2024 17:47, David Brown wrote: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.
> On 05/12/2024 18:42, Bart wrote:
>> A big one is when C is used an intermediate language for a compiler.
>
> Why would that be relevant? If you compile language X by first transpiling to C, then compiling C, then the time to compile language X is the sum of these. A fast or slow C compiler is no more and no less relevant here than if you were just compiling C.
You don't give do you?!
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?
Les messages affichés proviennent d'usenet.