Monthly Archives: January 2007

Compiler “optimisation”, continued

Hmm, I should really think myself into the compiler writer’s situation before shouting out aloud. In a comment to my last post, a reader pointed out some very valid reasons why the compiler does not automatically do the transformations I … Continue reading

Posted in Programming | Tagged | Leave a comment

Compiler “optimisation” …

2007, the days of handwritten assembler are a thing of the past, right? Well, not really, if you are still using (otherwise excellent) compilers like VC++ 8.0 or even Intel C++ 9.1.

Posted in Programming | Tagged , , | 2 Comments

Working at warning level 4

On Linux, I develop usually with -pedantic -ansi -strict -Werror -Wall which makes basically any warning an error and turns on virtually all available warnings (unused variables, anyone?). Most of the time the Linux programs were rather small though. Yesterday, … Continue reading

Posted in Programming | Tagged , | Leave a comment