piopawlu.net

18Feb/100

C code optimization by Felix von Leitner

Felix von Leitner has prepared an interesting presentation about C code optimization with a few different compilers and the bad habit of writing less readable code in hope of producing faster binaries. I must admit I have changed my mind about manual optimization after reading this presentation. Below is the abstract and link to the presentation itself:

People often write less readable code because they think it will produce faster code. Unfortunately, in most cases, the code will not be faster...

http://www.linux-kongress.org/2009/slides/compiler_survey_felix_von_leitner.pdf