[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why you are wrong [Was: On linux kernel packaging issue]

Glenn McGrath wrote:

A program that is CPU bound will benefit from compiler optimisations.

Define "compiler optimisations".

The teoretical "compiler optimisations" would "run" your programs faster, but... too much people spoke about optimisation without knowing what it means.

Do you think -O3 would run code faster that -O2? If not: you will think is it a bug of gcc?


"optimize the programmer time, not the code" [1]: a less confuse code
(thus less optimized) will help to write, maintain and debug better programs, so at the long run will run faster and better that an program written with all kind of optimisations.


[1] Unix philosophy or maybe only a ESR citation

Reply to: