Sujet : Re: Baby X is bor nagain
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 17. Jun 2024, 22:01:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4q86h$tv4t$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Mozilla Thunderbird
On 17/06/2024 17:21, David Brown wrote:
Using C without optimisation is like driving a car but refusing to go out of first gear. You would probably have been better off with a bicycle or driving a tank, according to the task at hand.
Which bit is the car: the compiler, or the program that it produces?
When I am developing, it is the compiler that is used more often. Or, if I spend a lot of time on a particular build of an application, the speed at which it runs is rarely critical, since during most testing, the scale of the tasks is small.
So if the compiler is the car, then one like tcc goes at 60mph while gcc goes at walking pace.